.footer-logo-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #85868A 0%, #b0b1b5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    text-align: center;
}

.verification-card {
    padding: 0;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #6AB0E3 0%, #5ba1d4 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.status-icon.active {
    background: #d4edda;
    color: #155724;
}

.status-icon.inactive {
    background: #f8d7da;
    color: #721c24;
}

.status {
    font-size: 48px;
    line-height: 1;
}

.profile-section {
    padding: 20px 30px 0 30px;
    background: #fff;
}

.profile-divider {
    border-bottom: 1px solid #e9ecef;
    margin: 10px 30px 0 30px;
    padding-bottom: 12px;
}

.info-section {
    padding: 0 30px 30px 30px;
}

.info-section .info-row:first-child {
    padding-top: 12px;
}

.photo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #6AB0E3;
    object-fit: cover;
    background: white;
}

.profile-photo.no-photo {
    display: none;
}

.photo-container.no-photo {
    background: #e9ecef;
    border-radius: 50%;
    border: 4px solid #6AB0E3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-container.no-photo::after {
    content: '👤';
    color: #adb5bd;
    font-size: 48px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-of-type {
    border-bottom: none;
}

.info-row label {
    font-weight: 600;
    color: #495057;
    text-align: left;
    flex: 1;
}

.info-row span {
    text-align: right;
    color: #212529;
    flex: 1;
    word-break: break-word;
}

.status-row {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.active::before {
    content: '✓';
    font-size: 20px;
    font-weight: bold;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.inactive::before {
    content: '✕';
    font-size: 20px;
    font-weight: bold;
}


.footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #6c757d;
}

.verification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer-logo {
    height: 56px;
    width: auto;
    max-width: 40vw;
    max-width: 40%;
    min-width: 80px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

@media (max-width: 600px) {
    .footer-logo {
        max-width: 50vw;
        max-width: 50%;
        height: 40px;
        min-width: 60px;
    }
}

.disclaimer {
    padding: 20px 30px;
    background: #f0f4f7;
    border-top: 1px solid #e9ecef;
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    font-style: italic;
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6AB0E3;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loadingCard p {
    color: #6AB0E3;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}

#turnstile-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#verifyBtn {
    background-color: #6AB0E3;
    color: white;
    border: none;
    padding: 12px 48px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
}

#verifyBtn:hover {
    background-color: #5ba1d4;
    box-shadow: 0 4px 14px rgba(91, 161, 212, 0.4);
    transform: translateY(-1px);
}

#verifyBtn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.verify-btn-hidden {
    display: none;
}

.verify-btn-visible {
    display: inline-block;
    margin-top: 25px;
}

#verifyBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

#verifyBtn:hover {
    background: #5ba1d4 !important;
    box-shadow: 0 4px 14px rgba(91, 161, 212, 0.4) !important;
    transform: translateY(-1px) !important;
}

#verifyBtn:hover::before {
    left: 100%;
}

#verifyBtn:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

#verifyBtn:disabled {
    background: #b0b0b0 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

/* Error card */
.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

#errorCard h2 {
    color: #721c24;
    margin-bottom: 15px;
    font-size: 20px;
}

#errorMessage {
    color: #721c24;
    margin-bottom: 25px;
    line-height: 1.6;
}

#errorCard button {
    background: #6AB0E3;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#errorCard button:hover {
    background: #85868A;
}

/* Responsive design */
@media (max-width: 600px) {
    .card {
        padding: 20px;
    }

    .verification-card {
        padding: 0;
        margin: 0 -20px;
    }

    .verification-card .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 20px;
    }

    .status {
        font-size: 36px;
    }

    .profile-section {
        padding: 20px 20px 0 20px;
    }

    .profile-divider {
        margin: 10px 20px 0 20px;
        padding-bottom: 12px;
    }

    .info-section {
        padding: 0 20px 20px 20px;
    }

    .footer {
        padding: 20px;
    }

    .disclaimer {
        padding: 20px;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .info-row span {
        text-align: right;
    }

    .status-row {
        justify-content: center;
    }

    .status-badge {
        justify-content: center;
        margin: 0 auto;
    }
}
