﻿/* ====== PAGE ====== */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* ====== MAIN CONTAINER ====== */
.container {
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}
/* ====== CHOICE SECTION ====== */
.choice-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
    overflow-x: auto;
}

/* ====== LISTBOX WRAPPER ====== */
.list-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ====== LISTBOX HEADING ====== */
.list-title {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: white;
    padding: 12px;
    border-radius: 8px 8px 0 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* ====== LISTBOX ====== */
select {
    width: 480px;
    height: 620px;
    padding: 10px;
    border: 2px solid #0d6efd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    font-size: 14px;
    overflow-y: auto;
    overflow-x: auto;
    line-height: 28px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    /* ====== LISTBOX FOCUS ====== */
    select:focus {
        outline: none;
        border-color: #198754;
        box-shadow: 0 0 10px rgba(25,135,84,0.3);
    }

    /* ====== OPTIONS ====== */
    select option {
        padding: 8px;
        font-size: 13px;
        font-weight: 500;
        border-bottom: 1px solid #f1f1f1;
    }

        /* ====== OPTION HOVER ====== */
        select option:hover {
            background: #e7f1ff;
        }

        /* ====== OPTION SELECTED ====== */
        select option:checked {
            background: linear-gradient(135deg, #0d6efd, #0b5ed7);
            color: white;
        }

/* ====== BUTTON COLUMN ====== */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    /* ====== MOVE BUTTONS ====== */
    .buttons button {
        width: 65px;
        height: 45px;
        border: none;
        border-radius: 10px;
        background: linear-gradient(135deg, #0d6efd, #0b5ed7);
        color: white;
        font-size: 20px;
        cursor: pointer;
        transition: 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

        .buttons button:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, #198754, #157347);
        }

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {

    .choice-container {
        overflow-x: auto;
        justify-content: flex-start;
    }

    select {
        width: 420px;
    }
}

/* ====== HEADINGS ====== */
h1 {
    background: #e8eef7;
    padding: 12px;
    color: #0b3d91;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 25px;
}

h2 {
    text-align: center;
    color: #b30000;
    margin-bottom: 20px;
    font-size: 24px;
}

h3 {
    background: #e8eef7;
    padding: 10px;
    border-left: 5px solid #0b5ed7;
    color: #0b3d91;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* ====== LIST ====== */
ul {
    padding-left: 25px;
}

li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* ====== CHOICE FILLING LAYOUT ====== */
.choice-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ====== LISTBOX ====== */
select {
    width: 450px;
    height: 600px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    overflow-y: auto;
    overflow-x: auto;
    white-space: nowrap;
    line-height: 26px;
}

    select option {
        padding: 6px;
        font-size: 13px;
        font-weight: 500;
    }

        select option:hover {
            background-color: #e6f2ff;
        }

/* ====== BUTTON COLUMN ====== */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    /* ====== MOVE BUTTONS ====== */
    .buttons button {
        width: 60px;
        height: 42px;
        font-size: 18px;
        border: none;
        border-radius: 6px;
        background-color: #007bff;
        color: white;
        cursor: pointer;
        transition: 0.3s;
    }

        .buttons button:hover {
            background-color: #0056b3;
        }

/* ====== SUBMIT BUTTON ====== */
.submit-btn,
#btnSave,
#btnreset {
    margin-top: 20px;
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .submit-btn:hover,
    #btnSave:hover,
    #btnreset:hover {
        background: #0b5ed7;
    }

/* ====== INPUT BOX ====== */
input[type="text"],
input[type="password"] {
    padding: 8px 10px;
    width: 220px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* ====== MESSAGE LABEL ====== */
#lblMessage {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    color: red;
}

/* ====== SWEET ALERT ====== */
.swal2-html-container {
    color: red !important;
    font-weight: bold;
}

/* ====== CONSENT BOX ====== */
.consent-box {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid #198754;
    background: #f0fff4;
    border-radius: 6px;
}

.consent-text {
    font-size: 16px;
    font-weight: bold;
    color: #198754;
    margin-bottom: 15px;
    line-height: 1.8;
}

.checkbox-area {
    margin-top: 15px;
}

/* ====== TABLE ====== */
table {
    width: 100%;
    border-collapse: collapse;
}

    table td,
    table th {
        padding: 10px;
        vertical-align: middle;
    }

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {

    .choice-container {
        flex-direction: column;
    }

    select {
        width: 100%;
        height: 350px;
    }

    .buttons {
        flex-direction: row;
        justify-content: center;
    }

        .buttons button {
            width: 55px;
        }
}

@media (max-width: 576px) {

    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    select {
        font-size: 12px;
    }

    .submit-btn,
    #btnSave,
    #btnreset {
        width: 100%;
    }
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0c87cb, #25aca0);
}

/* =========================
       CARD
    ==========================*/
.card {
    border-radius: 18px;
    overflow: hidden;
}

/* =========================
       CANDIDATE TABLE
    ==========================*/
.candidate-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

    .candidate-table th {
        background: #eef2f7;
        color: #2c3e50;
        width: 20%;
        font-weight: 600;
        vertical-align: middle;
        padding: 14px;
    }

    .candidate-table td {
        background: #fff;
        padding: 14px;
        vertical-align: middle;
        font-weight: 500;
    }

/* =========================
       GRID CARD
    ==========================*/
.choice-grid-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 3px 10px rgba(0,0,0,0.05);
}

/* =========================
       GRID HEADER
    ==========================*/
.choice-grid-header {
    background: linear-gradient(135deg, #0c87cb, #25aca0);
    padding: 10px 20px;
    text-align: center;
}

.choice-grid-title {
    color: #ffffff;
   /* font-size: 22px;*/
    /*font-weight: 700;*/
    letter-spacing: 0.5px;
}

/* =========================
       GRID TABLE
    ==========================*/
.custom-grid th {
    background: #f1f4f8;
    color: #1f2d3d;
    font-weight: 700;
    text-align: center;
    padding: 14px;
}

.custom-grid td {
    padding: 12px;
    vertical-align: middle;
}

.custom-grid tbody tr:hover {
    background-color: #f8fbff;
}

/* =========================
       BUTTON
    ==========================*/
.btn-primary {
    background: linear-gradient(135deg, #243b55, #141e30);
    border: none;
    border-radius: 10px;
    font-weight: 600;
}

    .btn-primary:hover {
        opacity: 0.95;
    }

/* =========================
       RESPONSIVE
    ==========================*/
@media (max-width: 768px) {

    .candidate-table th,
    .candidate-table td {
        font-size: 13px;
        padding: 10px;
    }

    .choice-grid-title {
        font-size: 18px;
    }
}

.otp-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: auto;
}

.otp-card {
    width: 350px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .otp-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.otp-input {
    width: 40px;
    height: 45px;
    font-size: 20px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

    .otp-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 6px rgba(13, 110, 253, 0.5);
        outline: none;
        transform: scale(1.1);
    }

.btn-primary {
    background: linear-gradient(90deg, #0d6efd, #007bff);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

    .btn-primary:hover {
        transform: scale(1.03);
        background: linear-gradient(90deg, #007bff, #0dcaf0);
    }

