/* ---------- GLOBAL ---------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #e6f0f5;
}

/* ---------- HEADER ---------- */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6485a7, #0586db);
}

.logo {
    height: 100px;
    background: #e6f0f5;
    padding: 4px;
    border-radius: 6px;
}

.header-text {
    text-align: center;
}

.org-name {
    font-size: 35px;
    font-weight: bold;
    color: #040a61;
}

.portal-name {
    font-size: 35px;
    font-weight: bold;
    color: #d9dfe0;
}

/* ---------- SELECTION TAB (Payslip / FCR / Form-16) ---------- */
.selection-tab {
    padding: 4px 10px;     /* reduce vertical padding */
    margin-top: 2px;       /* reduce gap from nav bar */
    text-align: center;
}

.selection-tab h3 {
    margin: 2px 0;         /* reduce heading height */
    font-size: 18px;       /* optional: slightly smaller */
}

.selection-tab form {
    margin: 2px 0;         /* reduce form spacing */
}

.selection-tab label {
    margin-right: 4px;
    font-size: 14px;
}

.selection-tab select {
    padding: 2px 6px;      /* reduce dropdown height */
    font-size: 14px;
}

.selection-tab hr {
    margin: 4px 0;
}

/* ---------- NAV BAR (Payslip / FCR / Form-16) ---------- */
.nav {
    width: 100%;                 /* IMPORTANT */
    display: flex;
    justify-content: center;     /* CENTER */
    align-items: center;
    background: #e6f0f5;
    padding: 6px 0;              /* small height */
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: #4b0082;
    margin: 0 12px;
    padding: 6px 16px;
    font-size: 20px;
    font-weight: bold;
}

.nav a.active {
    background: #60b5eeff;
    color: white;
    border-radius: 0 0 10px 10px;
}

.nav a:hover {
    background: #ebaf6bff;
    border-radius: 0 0 10px 10px;
}


/* ---------- CENTER BOX (LOGIN) ---------- */
.center-box {
    width: 360px;
    margin: 60px auto;
    padding: 30px;
    background: #cfe3ea;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
}

.center-box label {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-top: 12px;
}

.center-box input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #aaa;
    font-size: 16px;
    margin-top: 5px;
}

/* ---------- BUTTON ---------- */
.center-box button {
    margin-top: 15px;
    background: #3b6ea5;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

.center-box button:hover {
    background: #1e88d8;
}

/* ---------- CAPTCHA ---------- */
.captcha-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
}

#captcha-text {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #000;
    background: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #aaa;
    min-width: 120px;
    text-align: center;
}

.captcha-row button {
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
}

/* ---------- IFRAME (PDF VIEWER) ---------- */
iframe {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ---------- ERRORS ---------- */
.error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}


.footer {
    background: linear-gradient(135deg, #6485a7, #0586db);
    color: #ffffff;
    padding: 12px 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    text-align: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}
/* ---------- FORM-16 BAR ---------- */
.form16-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 20px;
}

.form16-bar label {
    font-weight: bold;
}

.form16-bar select {
    padding: 4px 8px;
    font-size: 14px;
}

/* Center Form-16 heading */
.form16-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Center year + buttons in one line */
.form16-bar {
    display: flex;
    justify-content: center;   /* ⬅️ horizontal center */
    align-items: center;
    gap: 10px;                 /* space between items */
    margin-bottom: 20px;
    flex-wrap: wrap;           /* mobile friendly */
}

/* Optional: nicer buttons */
.part-btn {
    padding: 4px 10px;
    border: 1px solid #888;
    background: #f5f5f5;
    cursor: pointer;
}

.part-btn.active {
    background: #5bbcff;
    color: #fff;
    border-color: #5bbcff;
}



/*centerbox additions */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-row label {
    width: 130px;           /* controls alignment */
    font-weight: 600;
}

.form-row input {
    flex: 1;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #aaa;
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}

.form-actions button {
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    background: #3a6ea5;
    color: white;
}

/* Keep nav as flex but allow absolute positioning */
.nav {
    position: relative;   /* IMPORTANT */
}

/* Center menu (inherits your existing styles) */
.nav-center {
    display: flex;
    align-items: center;
}

/* Home button right aligned */
.home-btn {
    position: absolute;
    right: 20px;
    background: white;
    color: #4b0082;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 18px;
}

/* Hover effect for Home */
.home-btn:hover {
    background: #ebaf6bff;
}

.payslip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payslip-item a {
    padding: 8px 14px;
    background: #e6f0f5;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: #4b0082;
}

.payslip-item a:hover {
    background: #60b5ee;
    color: white;
}

/* Wrapper for image + quote */
.quote-wrapper {
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
    gap: 12px;                /* space between image & quote */
    margin: 20px auto;
}

/* Quote box */
.quote-box {
    display: inline-block;
    max-width: 80%;
    background: #e8f1fa;
    padding: 14px 18px;
    border-left: 5px solid #afc8e0;
    border-right: 5px solid #afc8e0; /* 👈 add this */
    border-radius: 6px;
    font-size: 20px;
    font-style: italic;
    color: #003366;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Image container */
.namaste-image {
    background: #afc8e0;
    padding: 4px;
    border-radius: 6px;
}

/* Image size */
.namaste-image img {
    height: 70px;
    width: auto;
    display: block;
}

.top-menu {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.top-menu a {
    padding: 10px 18px;
    margin: 5px;
    background: #005bac;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.top-menu a:hover {
    background: #003f7d;
}

.medical-link {
    display: inline-block;
    padding: 12px 20px;
    background: green;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.pensioner-title{
    text-align:center;
    color:#003366;
    margin-top:10px;
    font-size:22px;
    font-weight:bold;
    text-align: left;
}