.tx-hph-data-request {
    max-width: 800px;
    margin: 0 auto;
}

.tx-hph-data-request .registration-form .form-group {
    margin-bottom: 1.5rem;
}

.tx-hph-data-request .registration-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
}

.tx-hph-data-request .registration-form .form-row .form-group {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 200px;
}

.tx-hph-data-request .registration-form .form-row .form-group-large {
    flex: 2 1 calc(66% - 0.5rem);
}

.tx-hph-data-request .registration-form .form-row .form-group-small {
    flex: 1 1 calc(34% - 0.5rem);
    min-width: 120px;
}

.tx-hph-data-request .registration-form label {
    display: block;
    font-weight: 500;
}

.tx-hph-data-request .registration-form .required {
    color: #dc3545;
}

.tx-hph-data-request .registration-form .form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.tx-hph-data-request .registration-form .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.tx-hph-data-request .registration-form textarea.form-control {
    resize: vertical;
}

.tx-hph-data-request .registration-form .form-text {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.tx-hph-data-request .registration-form fieldset {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.tx-hph-data-request .registration-form legend {
    font-weight: 500;
    padding: 0 0.5rem;
    width: auto;
    font-size: 1rem;
}

.tx-hph-data-request .registration-form .form-check {
    position: relative;
    display: block;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.tx-hph-data-request .registration-form .form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.5rem;
}

.tx-hph-data-request .registration-form .form-check-label {
    display: inline;
    margin-bottom: 0;
    font-weight: normal;
}

.tx-hph-data-request .registration-form .validation-errors {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.tx-hph-data-request .registration-form .validation-error {
    color: #dc3545;
    font-size: 0.875rem;
}

.tx-hph-data-request .registration-form .form-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tx-hph-data-request .registration-form .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
}

.tx-hph-data-request .registration-form .captcha-container {
    margin: 1.5rem 0;
}

.tx-hph-data-request .f3-form-error .form-control {
    border-color: #dc3545;
}

/* Flash Messages */
.tx-hph-data-request .typo3-messages {
    margin-bottom: 1.5rem;
}

.tx-hph-data-request .typo3-messages li:before {
    content: none;
}

.tx-hph-data-request .alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.tx-hph-data-request .alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.tx-hph-data-request .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Datepicker Styling */
.tx-hph-data-request .registration-form .datepicker {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%236c757d" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

/* Responsive: Stack fields on small screens */
@media (max-width: 576px) {
    .tx-hph-data-request .registration-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .tx-hph-data-request .registration-form .form-row .form-group,
    .tx-hph-data-request .registration-form .form-row .form-group-large,
    .tx-hph-data-request .registration-form .form-row .form-group-small {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .tx-hph-data-request .registration-form .form-buttons {
        flex-direction: column;
    }

    .tx-hph-data-request .registration-form .btn {
        width: 100%;
    }
}

/* overview */
.tx-hph-data-request .listbyuser table tr th {
    background-color: var(--blueColorDark);

    padding: 10px !important;
}

.tx-hph-data-request .listbyuser table tr:nth-child(even) {
    background-color: var(--backgroundColor);
}

.tx-hph-data-request .listbyuser table tr td {
    padding: 10px !important;
}

.tx-hph-data-request .listbyuser .felogin-logout .button {
    margin-right: 0 !important;
}


/* felogin-form */
.felogin-form label {
    font-weight: bold;
}

.felogin-forgot-password-link {
    margin-top: 20px !important;
}

.felogin-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
    margin-top: 20px;
}

.felogin-form-group {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 200px;
}

.felogin-forgot-password {
    margin-top: 40px;
}

.flex-end {
    justify-content: flex-end;
}


/* typo3-messages */


.typo3-messages {
    margin: 0 0 20px 0;
    padding: 30px 30px 20px 30px;
    list-style: none;
    border-radius: 6px;
    background: var(--contrastColorInverted);
    box-shadow: 0 4px 74px 0 rgba(0, 0, 0, .07);
}

.typo3-messages LI::before {
    content: none !important;
}

.typo3-messages LI.alert {
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.typo3-messages LI.alert P {
    display: flex;
}

.typo3-messages LI.alert P::before {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.typo3-messages LI.alert.alert-success {
    background-color: rgba(0, 136, 0, 0.2);
}

.typo3-messages LI.alert.alert-success P::before {
    content: url("data:image/svg+xml; utf8, <svg width='30' height='30' xmlns='http://www.w3.org/2000/svg'><path d='M15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0zm7.575 9.13L12.098 19.608 7.188 14.7l-1.323 1.322 6.232 6.232 11.804-11.8-1.324-1.325h-.002z'/></svg>");
    filter: invert(23%) sepia(100%) saturate(3132%) hue-rotate(105deg) brightness(96%) contrast(102%);
}

.typo3-messages LI.alert.alert-notice {
    background-color: rgba(0, 0, 0, 0.2);
}

.typo3-messages LI.alert.alert-notice P::before {
    content: url("data:image/svg+xml; utf8, <svg width='30' height='30' xmlns='http://www.w3.org/2000/svg'><path d='M15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0zm.938 11.25h-1.876v12.439h1.876V11.25zM15 5.625a1.406 1.406 0 1 0 0 2.813 1.406 1.406 0 0 0 0-2.813z'/></svg>");
    filter: invert(57%) sepia(0%) saturate(1889%) hue-rotate(316deg) brightness(88%) contrast(104%);
}

.typo3-messages LI.alert.alert-info {
    background-color: rgba(0, 104, 136, 0.2);
}

.typo3-messages LI.alert.alert-info P::before {
    content: url("data:image/svg+xml; utf8, <svg width='30' height='30' xmlns='http://www.w3.org/2000/svg'><path d='M15 0c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0zm.938 11.25h-1.876v12.439h1.876V11.25zM15 5.625a1.406 1.406 0 1 0 0 2.813 1.406 1.406 0 0 0 0-2.813z'/></svg>");
    filter: invert(28%) sepia(34%) saturate(2632%) hue-rotate(163deg) brightness(96%) contrast(101%);
}

.typo3-messages LI.alert.alert-warning {
    background-color: rgba(242, 150, 0, 0.2);
}

.typo3-messages LI.alert.alert-warning P::before {
    content: url("data:image/svg+xml; utf8, <svg width='33.75' height='30' xmlns='http://www.w3.org/2000/svg'><path d='M16.875 0L33.75 30H0L16.875 0zm.938 24.375h-1.875v1.875h1.874v-1.875zm0-13.125h-1.875V22.5h1.874V11.25z'/></svg>");
    filter: invert(98%) sepia(61%) saturate(4330%) hue-rotate(315deg) brightness(93%) contrast(96%);
}

.typo3-messages LI.alert.alert-danger {
    background-color: rgba(200, 0, 0, 0.2);
}

.typo3-messages LI.alert.alert-danger P::before {
    content: url("data:image/svg+xml; utf8, <svg width='30' height='30' xmlns='http://www.w3.org/2000/svg'><path d='M0 15c0 8.288 6.713 15 15 15 8.288 0 15-6.712 15-15 0-8.287-6.712-15-15-15C6.713 0 0 6.713 0 15zm22.5 6.116L21.116 22.5 15 16.384 8.884 22.5 7.5 21.116 13.616 15 7.5 8.884 8.884 7.5 15 13.616 21.116 7.5 22.5 8.884 16.384 15l6.116 6.116z'/></svg>");
    filter: invert(8%) sepia(98%) saturate(7010%) hue-rotate(22deg) brightness(104%) contrast(119%);
}
