﻿/* ===== PAGE BACKGROUND ===== */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(135deg, #dfe9f3, #ffffff);
    margin: 0;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    width: 95%;
    max-width: 1100px;
    margin: 30px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== TITLE ===== */
.form-title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1f3b57;
}

/* ===== TABLE ===== */
.form-table {
    width: 100%;
    border-spacing: 15px;
    background: rgba(255, 255, 255, 0.4); /* 🔥 transparent */
    backdrop-filter: blur(6px); /* 🔥 glass effect */
    border-radius: 12px;
}

    /* ===== CARD ROW STYLE ===== */
    .form-table tr {
        background: rgba(255, 255, 255, 0.75); /* light transparent */
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }

    /* ===== CELLS ===== */
    .form-table td {
        padding: 12px;
        font-size: 14px;
    }
  
        /* ===== LABELS ===== */
    .form-table td:nth-child(1),
    .form-table td:nth-child(3) {
        background: rgba(52, 152, 219, 0.08); /* light blue tint */
        border-radius: 6px;
        padding: 10px;
    }

/* ===== INPUTS ===== */
.textboxcss,
.selectbox,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d6dde6;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    transition: all 0.3s ease;
}

    /* ===== INPUT FOCUS ===== */
    .textboxcss:focus,
    .selectbox:focus,
    select:focus {
        border-color: #1abc9c;
        box-shadow: 0 0 6px rgba(26,188,156,0.3);
        outline: none;
    }

/* ===== RADIO BUTTON LIST ===== */
input[type="radio"] {
    margin-right: 6px;
}

.form-table table {
    width: auto !important;
}

/* ===== FILE UPLOAD ===== */
input[type="file"] {
    padding: 8px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn-group {
    text-align: center;
    margin-top: 10px;
}

.lt.clickme.danger {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    margin: 6px;
    transition: 0.3s;
}

    .lt.clickme.danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

/* Different button colors */
#btn2 {
    background: linear-gradient(135deg, #f39c12, #d68910);
}

#btn3 {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* ===== VALIDATION ===== */
span {
    font-size: 12px;
}

/* ===== 🔥 MOBILE ===== */
@media (max-width: 768px) {

    .form-table,
    .form-table tr,
    .form-table td {
        display: block;
        width: 100%;
    }

        .form-table tr {
            margin-bottom: 15px;
            padding: 12px;
        }

        .form-table td {
            padding: 6px 0;
        }

            /* Stack layout */
            .form-table td:nth-child(1),
            .form-table td:nth-child(3) {
                margin-top: 10px;
            }

    /* Buttons full width */
    #btn1, #btn2, #btn3 {
        width: 100%;
    }
}
