﻿body {
}

.pc-container {
    margin-top: 15px;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #d1d5db;
    padding: 10px;
}

/* ================= TABLE ================= */

.pc-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 13px;
    background: #ffffff;
}

    .pc-table th {
        background: #eef2f7;
        color: #1f2937;
        padding: 10px;
        border: 1px solid #cfd6df;
        text-align: center;
        font-weight: 600;
    }

    .pc-table td {
        padding: 8px 10px;
        border: 1px solid #e1e1e1;
        vertical-align: middle;
    }

/* ================= LABEL COLUMN ================= */

.field-name {
    font-weight: 600;
    background: #f9fafb;
    width: 18%;
    color: #374151;
}

/* ================= VALUES ================= */

.value-text {
    color: #111827;
}

.value-muted {
    color: #6b7280;
    font-style: italic;
}

/* ================= VERIFICATION ================= */

.verify-cell {
    text-align: center;
    font-weight: 600;
}

.verify-icon {
    margin-left: 6px;
    font-size: 14px;
}

/* ================= INPUT ================= */

.input-text {
    width: 95%;
    padding: 6px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    font-size: 13px;
}

    .input-text:focus {
        border-color: #2563eb;
        outline: none;
    }

/* ================= ALIGNMENT ================= */

.center {
    text-align: center;
}

/* ================= CHANGE REQUEST ================= */

.change-box {
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid #dbe3f4;
    background: #f8fbff;
    border-radius: 8px;
}

    .change-box .section-title {
        font-size: 15px;
        font-weight: 600;
        color: #1e40af;
        margin-bottom: 14px;
    }

    .change-box label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-right: 14px;
        margin-bottom: 10px; /* 👈 spacing */
        padding: 8px 16px; /* 👈 loosen */
        background: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 22px;
        font-weight: 500;
        color: #374151;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    /* checkbox visible but not dominating */
    .change-box input[type="checkbox"] {
        transform: scale(1.05);
        accent-color: #2563eb;
    }

    /* Hover – very soft */
    .change-box label:hover {
        background: #f1f5ff;
        border-color: #c7d2fe;
    }

    /* Checked state – NOT chipkoo */
    .change-box input[type="checkbox"]:checked {
        outline: none;
    }

        /* ASP.NET safe checked look */
        .change-box input[type="checkbox"]:checked + label,
        .change-box label:has(input[type="checkbox"]:checked) {
            background: #e8efff;
            border-color: #2563eb;
            color: #1e40af;
        }



/* ================= DECLARATION ================= */

.terms-container {
    border: 1px solid #d1d5db;
    padding: 15px;
    background: #f9fafb;
    margin-top: 15px;
}

.terms-header {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: #1f2937;
}

.terms-box {
    height: 170px;
    overflow-y: auto;
    border: 1px solid #9ca3af;
    padding: 12px;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.6;
}

    .terms-box ol {
        padding-left: 18px;
    }

    .terms-box li {
        margin-bottom: 6px;
    }

/* ================= ACCEPT ================= */

.terms-accept {
    margin-top: 10px;
    font-weight: 600;
}

/* ================= ACTION ================= */

.terms-action {
    margin-top: 14px;
    text-align: center;
}

.btn-proceed {
    padding: 7px 26px;
    font-size: 14px;
    font-weight: 600;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-proceed:disabled {
        background: #9ca3af;
        cursor: not-allowed;
    }

.form-header {
    font-size: 20px;
    font-weight: bold;
}

.form-section {
    margin-top: 20px;
}

.form-label {
    font-weight: bold;
}

.table-container {
    width: 100%;
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 10px;
}

    .table-container table {
        width: 100%;
        border-collapse: collapse;
    }

    .table-container th, .table-container td {
        padding: 8px;
        text-align: left;
        border: 1px solid #ddd;
    }

.submit-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

/* ================= GLOBAL ================= */
body {
    background: #f3f6fb;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2937;
}

/* Page Wrapper */
.wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 10px;
}

/* ================= PAGE HEADER ================= */
.formPage-heading {
    background: linear-gradient(90deg, #1e40af, #2563eb);
    color: #fff;
    padding: 18px 0;
    margin-bottom: 25px;
}

    .formPage-heading h3 {
        margin: 0;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

/* ================= CARD SECTIONS ================= */
.form-header,
.form-section,
.table-container,
.terms-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 18px 20px;
    margin-top: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Header text */
.form-header {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

/* Paragraphs */
.form-section p {
    margin: 8px 0;
    line-height: 1.7;
    font-size: 14px;
}

/* ================= TABLE ================= */
.table-container {
    overflow-x: auto;
}

.pc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

    .pc-table th {
        background: #e0e7ff;
        color: #1e3a8a;
        padding: 12px;
        border: 1px solid #c7d2fe;
        text-align: center;
        font-weight: 600;
    }

    .pc-table td {
        padding: 10px 12px;
        border: 1px solid #e5e7eb;
        vertical-align: middle;
    }

/* Label column */
.field-name {
    background: #f1f5f9;
    font-weight: 600;
    color: #334155;
    width: 20%;
}

/* Values */
.value-text {
    color: #0f172a;
}

/* ================= VERIFICATION ================= */
.verify-cell {
    text-align: center;
    font-weight: 600;
}

.verify-icon {
    margin-left: 6px;
    font-size: 15px;
}

.verify-success {
    color: #16a34a;
}

.verify-fail {
    color: #dc2626;
}

/* ================= DECLARATION ================= */
.terms-header {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a8a;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.terms-box {
    height: 190px;
    overflow-y: auto;
    padding: 15px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
}

    .terms-box li {
        margin-bottom: 8px;
    }

/* Accept */
.terms-accept {
    margin-top: 14px;
    padding: 10px;
    background: #eef2ff;
    border-radius: 6px;
    font-weight: 600;
}

/* ================= BUTTONS ================= */
.btn {
    border-radius: 6px !important;
}

.btn-warning {
    background: #facc15;
    border: none;
    font-weight: 600;
}

.btn-primary,
.btn-proceed {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    color: #fff;
}

    .btn-proceed:disabled {
        background: #94a3b8;
        cursor: not-allowed;
    }

/* ================= TRANSACTION TABLE ================= */
.table4 {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

    .table4 th {
        background: #1e3a8a;
        color: #fff;
        padding: 10px;
    }

/* ================= OTP / INPUT ================= */
.txtbx {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px;
}

    .txtbx:focus {
        border-color: #2563eb;
        outline: none;
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .form-header,
    .form-section,
    .table-container,
    .terms-container {
        padding: 14px;
    }

    .formPage-heading h3 {
        font-size: 18px;
        text-align: center;
    }

    .pc-table th,
    .pc-table td {
        font-size: 12.5px;
        padding: 8px;
    }

    .field-name {
        width: auto;
    }

    .btn-proceed {
        width: 100%;
        margin-top: 10px;
    }

    .slot-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 25px 0;
    }

    /* ⭐ yellow highlighted box */
    .warning-box {
        width: 90%;
        max-width: 900px;
        background: #fffbea; /* light yellow */
        border-left: 6px solid #f59e0b; /* strong yellow */
        padding: 20px 25px;
        border-radius: 10px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    }

    .slot-title {
        font-size: 17px;
        font-weight: 700;
        color: #92400e; /* dark yellow/brown */
        margin-bottom: 8px;
    }

    .slot-message {
        font-size: 14px;
        color: #374151;
        margin-bottom: 14px;
    }

    .slot-action {
        margin-top: 10px;
    }

    .slot-icon {
        color: #f59e0b;
        margin-right: 6px;
        font-size: 18px;
        vertical-align: middle;
    }


    /* =======================
   PRINT MODE FIX
======================= */
    @media print {

        /* remove background color */
        body {
            background: #ffffff !important;
        }

        /* remove all box shadows */
        .form-header,
        .form-section,
        .table-container,
        .terms-container,
        .pc-container,
        .warning-box,
        .table4 {
            box-shadow: none !important;
        }

        /* remove declaration scroll */
        .terms-box {
            height: auto !important;
            max-height: none !important;
            overflow: visible !important;
        }

        /* optional: remove borders if needed */
        .terms-container,
        .table-container {
            border: 1px solid #000 !important;
        }

        /* hide while printing */
        .btn,
        button,
        input[type="button"] {
            display: none !important;
        }
        #divSearch,
        #divprint,
        input[type=hidden] {
            display: none !important;
        }
    }


}
