* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2C5E5A 0%, #242929 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.verification-container {
    background: #FCFAEB;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    width: 100%;
    max-width: 520px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    background: linear-gradient(135deg, #2C5E5A 0%, #242929 100%);
    color: #FCFAEB;
    padding: 28px 20px;
    text-align: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    min-height: 60px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    /* filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(1500%) hue-rotate(30deg); */
}

.logo-section .subtitle {
    font-size: clamp(12px, 3vw, 14px);
    opacity: 0.95;
    font-weight: 400;
    color: #FFAF7B;
    letter-spacing: 0.5px;
}

.status {
    padding: clamp(24px, 5vw, 40px);
    text-align: center;
}

.status-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
    font-weight: bold;
}

.status-icon.success {
    color: #FCFAEB;
    background: #2C5E5A;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    box-shadow: 0 4px 12px rgba(44, 94, 90, 0.3);
}

.status-icon.error {
    color: #FCFAEB;
    background: #FFAF7B;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    box-shadow: 0 4px 12px rgba(255, 175, 123, 0.3);
}

.status-icon.info-icon {
    color: #FCFAEB;
    background: #2C5E5A;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    box-shadow: 0 4px 12px rgba(44, 94, 90, 0.3);
}

.status h2 {
    font-size: clamp(20px, 5vw, 26px);
    color: #242929;
    margin-bottom: 12px;
    font-weight: 600;
}

.status-message {
    font-size: clamp(13px, 4vw, 16px);
    color: #565250;
    margin-bottom: 28px;
    line-height: 1.5;
}

.status-message strong {
    font-weight: 600;
    color: #2C5E5A;
}

.employee-details {
    background: #EAE9E8;
    border-radius: 8px;
    padding: clamp(16px, 4vw, 20px);
    margin: 24px 0;
    text-align: left;
    border-left: 4px solid #2C5E5A;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: clamp(10px, 2vw, 12px) 0;
    border-bottom: 1px solid #FCFAEB;
    font-size: clamp(12px, 3vw, 14px);
    gap: 12px;
    flex-wrap: wrap;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: #242929;
    min-width: 100px;
}

.detail-row span {
    color: #565250;
    text-align: right;
    word-break: break-word;
    flex: 1;
}

.error-details {
    background: #FFF5F0;
    border-left: 4px solid #FFAF7B;
    border-radius: 6px;
    padding: clamp(16px, 4vw, 20px);
    text-align: left;
    margin: 24px 0;
}

.error-details p {
    font-size: clamp(12px, 3vw, 14px);
    color: #565250;
    margin-bottom: 10px;
    line-height: 1.6;
}

.error-details p:last-child {
    margin-bottom: 0;
}

.error-details strong {
    color: #242929;
}

.info-details {
    background: #EAE9E8;
    border-left: 4px solid #2C5E5A;
    border-radius: 6px;
    padding: clamp(16px, 4vw, 20px);
    text-align: left;
    margin: 24px 0;
}

.info-details p {
    font-size: clamp(12px, 3vw, 14px);
    color: #565250;
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-details p:last-child {
    margin-bottom: 0;
}

.verification-timestamp {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #EAE9E8;
    font-size: clamp(11px, 3vw, 13px);
    color: #565250;
}

.contact-info {
    background: #EAE9E8;
    border-left: 4px solid #2C5E5A;
    padding: clamp(16px, 4vw, 20px);
    margin: clamp(24px, 5vw, 40px);
    border-radius: 6px;
}

.contact-info h3 {
    font-size: clamp(14px, 4vw, 16px);
    color: #242929;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-info p {
    font-size: clamp(12px, 3vw, 13px);
    color: #565250;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info a {
    color: #2C5E5A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #FFAF7B;
    text-decoration: underline;
}

.verified {
    border-top: 5px solid #2C5E5A;
}

.expired {
    border-top: 5px solid #FFAF7B;
}

.not-found {
    border-top: 5px solid #FFAF7B;
}

.info {
    border-top: 5px solid #2C5E5A;
}

.footer {
    background: #EAE9E8;
    padding: clamp(16px, 4vw, 20px);
    text-align: center;
    border-top: 1px solid #FCFAEB;
    font-size: clamp(11px, 3vw, 12px);
    color: #565250;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        padding: 8px;
    }

    .container {
        padding: 8px;
    }

    .verification-container {
        border-radius: 12px;
        max-width: 100%;
    }

    .logo-section {
        padding: 20px 16px;
    }

    .logo-wrapper {
        min-height: 50px;
    }

    .logo-image {
        height: 45px;
    }

    .status {
        padding: 18px 16px;
    }

    .detail-row {
        flex-direction: column;
        padding: 10px 0;
        gap: 4px;
    }

    .detail-row label {
        margin-bottom: 4px;
        min-width: auto;
    }

    .detail-row span {
        text-align: left;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    body {
        padding: 6px;
    }

    .container {
        min-height: 100vh;
        padding: 6px;
    }

    .verification-container {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    }

    .logo-section {
        padding: 18px 12px;
    }

    .logo-wrapper {
        min-height: 45px;
        margin-bottom: 10px;
    }

    .logo-image {
        height: 40px;
    }

    .logo-section .subtitle {
        font-size: 12px;
    }

    .status {
        padding: 14px 12px;
    }

    .status h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .status-message {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .status-icon.success,
    .status-icon.error,
    .status-icon.info-icon {
        width: 75px;
        height: 75px;
        font-size: 38px;
        margin: 0 auto 14px;
    }

    .employee-details {
        margin: 14px 0;
        padding: 10px;
    }

    .detail-row {
        padding: 8px 0;
        font-size: 12px;
    }

    .detail-row label {
        min-width: auto;
    }

    .error-details {
        margin: 14px 0;
        padding: 10px;
    }

    .error-details p {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .info-details {
        margin: 14px 0;
        padding: 10px;
    }

    .info-details p {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .verification-timestamp {
        margin-top: 14px;
        padding-top: 10px;
        font-size: 11px;
    }

    .contact-info {
        margin: 12px 10px;
        padding: 10px;
    }

    .contact-info h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .contact-info p {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .footer {
        padding: 10px;
        font-size: 10px;
    }

    .contact-info a {
        word-break: break-word;
    }
}

@media (max-width: 380px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 4px;
    }

    .verification-container {
        border-radius: 8px;
    }

    .logo-section {
        padding: 14px 10px;
    }

    .logo-wrapper {
        min-height: 40px;
        margin-bottom: 8px;
    }

    .logo-image {
        height: 35px;
    }

    .status {
        padding: 12px 10px;
    }

    .status h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .status-message {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .status-icon.success,
    .status-icon.error,
    .status-icon.info-icon {
        width: 65px;
        height: 65px;
        font-size: 32px;
        margin: 0 auto 12px;
    }

    .employee-details {
        margin: 12px 0;
        padding: 8px;
    }

    .detail-row {
        padding: 6px 0;
        font-size: 11px;
    }

    .error-details {
        margin: 12px 0;
        padding: 8px;
    }

    .error-details p {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .contact-info {
        margin: 12px 10px;
        padding: 8px;
    }

    .contact-info h3 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .contact-info p {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .footer {
        padding: 8px;
        font-size: 9px;
    }
}
