/* Auditor Entry Page Styling */

.auditor-entry-container {
    max-width: 650px;
}

.auditor-intro-box {
    background: linear-gradient(135deg, #cfe0f1 0%, #11140e 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auditor-intro-content {
    font-family: 'Arial', sans-serif;
    text-align: right;
    line-height: 1.7;
    color: #495057;
}

.auditor-intro-headline {
    margin: 0px 100px 18px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
}

.auditor-intro-subtext {
    margin-bottom: 20px;
    font-size: 16px;
    color: #6c757d;
}

.auditor-checklist-box {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 38px;
    border-right: 4px solid #0A0A56;
}

.auditor-checklist-title {
    margin: 10px 20px;
    font-weight: 600;
    color: #0A0A56;
    font-size: 16px;
}

.auditor-checklist {
    list-style: none;
    padding-right: 0;
    margin: 0 30px;
    font-style: oblique;
}

.auditor-checklist-item {
    margin-bottom: 10px;
    padding-right: 25px;
    position: relative;
    color: #495057;
    font-size: 17px;
}

.auditor-checklist-item:last-child {
    margin-bottom: 0;
}

.auditor-checklist-icon {
    position: absolute;
    right: 0;
    color: #28a745;
    font-weight: bold;
    font-style: initial;
}

.auditor-cta-container {
    margin: 15px 38px;
    text-align: center;
}

.auditor-cta-box {
    font-size: 18px;
    color: #07681B;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 15px 20px;
    background: rgba(163, 222, 164, 0.73);
    border-radius: 8px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.cta-flow {
    background: #23b45a;
    color: #fff;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.cta-flow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 40%;
    height: 200%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: sweep 2s infinite;
}

.cta-flow:hover {
    background: #21974b;
    transform: scale(1.03);
    transition: background 0.2s ease, transform 0.2s ease;
}

@keyframes sweep {
    0% {
        left: -75%;
    }

    100% {
        left: 135%;
    }
}

/* WhatsApp Auth Text */
.ai-start p {
    font-size: initial;
}

/* Modal Styles */
#loginModal {
    display: none;
}

#qrDesktop {
    display: none;
}

#qrCode {
    text-align: center;
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

#qrMobile {
    display: none;
    text-align: center;
}

#waDirectLink {
    display: inline-block;
}

#waDirectLink img {
    max-width: 200px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

#qrMobile p {
    font-size: 14px;
    color: #666;
}

#rateLimitMessage {
    display: none;
    background: #fff3cd;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
    color: #856404;
}

#rateLimitMessage span {
    font-size: 14px;
}

.status-text-container {
    position: relative;
    height: 30px;
}

.timer-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#timerBtn {
    background: #0A0A56 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

/* Animated Status Text */
.status-text {
    font-size: 20px;
    color: #666;
    overflow: hidden;
    margin-top: 10px;
    white-space: nowrap;
    width: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.status-text1 {
    animation: statusType1 8s steps(7) infinite;
}

.status-text2 {
    animation: statusType2 8s steps(9) infinite;
}

@keyframes statusType1 {
    0% {
        width: 0;
        opacity: 1;
    }

    20% {
        width: 7ch;
        opacity: 1;
    }

    45% {
        width: 7ch;
        opacity: 1;
    }

    46%,
    100% {
        width: 7ch;
        opacity: 0;
    }
}

@keyframes statusType2 {

    0%,
    49% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 0;
        opacity: 1;
    }

    70% {
        width: 9ch;
        opacity: 1;
    }

    95% {
        width: 9ch;
        opacity: 1;
    }

    96%,
    100% {
        width: 9ch;
        opacity: 0;
    }
}

/* Consent Notice Styles */
.consent-notice {
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.consent-notice.declined {
    background: #f8f9fa;
    border: 2px dashed #dc3545;
    padding: 20px;
}

.consent-notice p {
    font-size: 15px;
    line-height: 1.6;
}

.consent-notice.gradient p {
    color: #fff;
}

.consent-notice.declined p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #495057;
}

.consent-notice a {
    color: #fff;
    text-decoration: underline;
    opacity: 0.9;
}

.consent-notice .privacy-link {
    margin: 0 0 20px 0;
    font-size: 13px;
}

.consent-notice form {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 50%;
}

.consent-notice.declined form {
    display: inline-block;
}

.consent-notice .btn-accept {
    background: #4caf50 !important;
    color: #ffffff !important;
    padding: 12px 30px;
    font-weight: bold;
}

.consent-notice .btn-decline {
    background: rgb(244 67 54) !important;
    color: #fff !important;
    padding: 12px 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .auditor-checklist-box,
    .auditor-cta-container {
        margin: 15px 0;
    }

    .auditor-intro-headline {
        margin: 0 5px 18px 0;
    }

    .auditor-checklist-item {
        margin-bottom: 5px;
    }

    .ai-start {
        padding: 30px 0;
    }
}

.auditor-cta-box br {
    display: none;
}

@media (max-width: 768px) {
    .auditor-cta-box br {
        display: block;
    }

    .auditor-cta-box {
        display: block;
    }
}

/* Button disabled state */
.btn.disabled {
    background: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transition: all 0.3s ease;
}

.btn:not(.disabled) {
    transition: all 0.3s ease;
}

/* Banner shake highlight effect */
#cookie-banner.shake-highlight {
    animation: shakeHighlight 0.6s ease-out;
}

@keyframes shakeHighlight {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-3px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(3px);
    }
}