﻿
/* ===== MAIN FORM TABLE ===== */
.form-table {
    width: 100%;
    max-width: 800px;
    margin: 25px auto;
    background: #ffffff;
    border-collapse: collapse;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-radius: 10px;
    overflow: hidden;
}

    /* Table cells */
    .form-table td {
        padding: 14px 16px;
        vertical-align: middle;
        border-bottom: 1px solid #eee;
    }

/* ===== LABEL COLUMN ===== */
.label {
    width: 220px;
    font-weight: 600;
    color: #2c3e50;
    background: #f2f6fb;
    border-right: 1px solid #ddd;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ===== INPUT FIELDS ===== */
.input-field {
    width: 96%;
    padding: 10px 12px;
    border: 1px solid #cfd6dc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

    .input-field:focus {
        border-color: #357CC4;
        box-shadow: 0 0 6px rgba(53, 124, 196, 0.4);
        outline: none;
    }

/* Dropdown same style */
select.input-field {
    cursor: pointer;
}

/* ===== BUTTON ===== */
.button {
    background: linear-gradient(135deg, #357CC4, #245a94);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
}

    .button:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg, #245a94, #1f4e79);
    }

/* ===== VALIDATION ===== */
span[style*="Red"] {
    font-size: 12px;
    margin-left: 6px;
    color: #e74c3c;
}

/* ===== MESSAGE LABEL ===== */
#lblMessage {
    font-weight: bold;
    color: green;
    padding-left: 10px;
}

/* ===== HOME LINK ===== */
.home-link {
    text-align: center;
    padding: 15px;
    background: #fafafa;
}

    .home-link a {
        color: #357CC4;
        font-weight: bold;
        text-decoration: none;
    }

        .home-link a:hover {
            text-decoration: underline;
        }

/* ===== ROW HOVER EFFECT ===== */
.form-table tr:hover td {
    background: #f9fbff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {

    .form-table {
        width: 95%;
    }

        .form-table td {
            display: block;
            width: 100%;
        }

    .label {
        width: 100%;
        display: block;
        border-right: none;
    }
}
