/* ============================================
   Swarashtra News - Offer Letter Verification Portal
   Corporate HR System Styling
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F5F7FA;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   Header Styles
   ============================================ */
.header {
    background-color: #0B1E63;
    color: #FFFFFF;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-section {
    flex: 1;
    min-width: 280px;
}

.company-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.company-tagline {
    font-size: 13px;
    color: #E0E0E0;
    font-weight: 400;
}

.portal-title h1 {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.5px;
}

.date-display {
    font-size: 14px;
    color: #E0E0E0;
    font-weight: 500;
    text-align: right;
    min-width: 150px;
}

/* ============================================
   Main Content Styles
   ============================================ */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* ============================================
   Verification Section
   ============================================ */
.verification-section {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.verification-card {
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.verification-card h2 {
    font-size: 22px;
    font-weight: 600;
    color: #0B1E63;
    margin-bottom: 10px;
    text-align: center;
}

.instruction {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.verification-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.verification-input:focus {
    border-color: #0B1E63;
    box-shadow: 0 0 0 3px rgba(11, 30, 99, 0.1);
}

.verification-input::placeholder {
    color: #9CA3AF;
}

.format-hint {
    margin-bottom: 20px;
    text-align: center;
}

.format-hint small {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.button-group {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary {
    background-color: #0B1E63;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #081647;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #0B1E63;
    border: 1px solid #0B1E63;
}

.btn-secondary:hover {
    background-color: #F5F7FA;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   Result Section
   ============================================ */
.result-section {
    margin-top: 30px;
}

.result-card {
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 35px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E5E7EB;
}

.verification-seal {
    width: 70px;
    height: 70px;
    border: 3px solid #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.seal-inner {
    width: 58px;
    height: 58px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #10B981;
}

.seal-inner svg {
    color: #FFFFFF;
}

.success-icon {
    color: #10B981;
}

.error-icon {
    color: #E53935;
}

.status-badge {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.verified-badge {
    background-color: #10B981;
    color: #FFFFFF;
}

.not-verified-badge {
    background-color: #E53935;
    color: #FFFFFF;
}

.verification-message {
    background-color: #ECFDF5;
    border-left: 4px solid #10B981;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.verification-message p {
    color: #065F46;
    font-size: 15px;
    font-weight: 500;
}

.error-message {
    background-color: #FEF2F2;
    border-left: 4px solid #E53935;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.error-message p {
    color: #991B1B;
    font-size: 15px;
    font-weight: 500;
}

.error-subtext {
    font-size: 13px !important;
    color: #B91C1C !important;
    margin-top: 8px !important;
}

/* ============================================
   Candidate Details
   ============================================ */
.candidate-details {
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    flex: 1;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: right;
    flex: 1.5;
}

/* ============================================
   Verification Timestamp
   ============================================ */
.verification-timestamp {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #E5E7EB;
}

.verification-timestamp span:last-child {
    font-weight: 600;
    color: #0B1E63;
}

/* ============================================
   Action Buttons
   ============================================ */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    background-color: #0B1E63;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.action-btn:hover {
    background-color: #081647;
}

.action-btn svg {
    flex-shrink: 0;
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background-color: #0B1E63;
    color: #FFFFFF;
    padding: 25px 0;
    margin-top: auto;
    border-top: 3px solid #E53935;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 15px;
}

.footer-section:last-child {
    margin-bottom: 0;
}

.copyright {
    font-size: 14px;
    font-weight: 500;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #E53935;
    text-decoration: underline;
}

.footer-separator {
    color: #9CA3AF;
    margin: 0 10px;
}

.footer-text {
    color: #E0E0E0;
    font-size: 13px;
}

.disclaimer p {
    font-size: 12px;
    color: #B0BEC5;
    line-height: 1.5;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        text-align: center;
    }

    .portal-title h1 {
        font-size: 20px;
    }

    .date-display {
        text-align: center;
    }

    .verification-card {
        padding: 30px 25px;
    }

    .result-card {
        padding: 25px 20px;
    }

    .result-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-value {
        text-align: left;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .verification-seal {
        width: 60px;
        height: 60px;
    }

    .seal-inner {
        width: 50px;
        height: 50px;
    }

    .seal-inner svg {
        width: 30px;
        height: 30px;
    }

    .footer-section {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .company-logo {
        font-size: 26px;
    }

    .company-name {
        font-size: 18px;
    }

    .company-tagline {
        font-size: 12px;
    }

    .portal-title h1 {
        font-size: 18px;
    }

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

    .button-group {
        flex-direction: column;
    }

    .result-card {
        padding: 20px 15px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .footer-section a,
    .footer-section span {
        display: block;
        margin: 5px 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .verification-section,
    .footer,
    .action-buttons {
        display: none !important;
    }

    .result-section {
        margin: 0;
        padding: 0;
    }

    .result-card {
        box-shadow: none;
        border: 2px solid #0B1E63;
        max-width: 100%;
    }

    body {
        background-color: #FFFFFF;
    }
}
