﻿.form-card {
    background: white;
    border-radius: 20px;
    /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);*/
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #273272 100%);
    padding: 30px 40px;
    color: white;
}

    .card-header h1 {
        font-size: 24px;
        margin-bottom: 0px;
        display: flex;
        align-items: center;
        gap: 0px;
    }

    .card-header p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 16px;
    }

.card-body {
    padding: 40px;
}

.section-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

    .section-title i {
        color: #667eea;
    }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    /*margin-bottom: 25px;*/
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-weight: 600;
        color: #555;
        margin-bottom: 8px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .form-group label i {
            color: #667eea;
            font-size: 14px !important;
        }

.form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

    .form-control:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .radio-group {
        display: flex;
        gap: 30px;
        padding-top: 0px;
    }
    .radio-group td:nth-child(2) {
        padding-left: 40px;
        padding-top:10px;
        margin-bottom: 0px;
        margin-top:10px;
    }

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: normal;
        cursor: pointer;
    }

    .radio-group input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.academic-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

    .academic-table thead {
        background: linear-gradient(135deg, #667eea 0%, #273272 100%);
        color: white;
    }

    .academic-table th {
        padding: 15px 10px;
        text-align: left;
        font-weight: 600;
        font-size: 16px;
    }

    .academic-table td {
        padding: 7px 2px;
        border-bottom: 1px solid #f0f0f0;
    }

    .academic-table tbody tr:hover {
        background: #f8f9ff;
    }

.row-number {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #667eea 0%, #273272 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #273272 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

    .gender-radio {
        display: flex;
        align-items: center;
        height: 38px; /* match your .form-control-sm height */
        gap: 24px;
        padding-left: 2px;
    }

    .gender-radio input[type="radio"] {
        margin-right: 6px;
        cursor: pointer;
    }

    .gender-radio label {
        margin-bottom: 0;
        cursor: pointer;
        font-weight: normal;
    }

    #ContentPlaceHolder1_RadioButtonList1 {
        width: auto !important;
        padding: 0px 10px;
    }

    #ContentPlaceHolder1_RadioButtonList1 td {
        padding: 0 24px 0 0;
        height: auto;
        display: ruby-base;
    }

    #ContentPlaceHolder1_RadioButtonList1 tr {
        height: 38px;
    }

    .dvClass {
        display: none;
    }

    form .form-control::placeholder {
        font-size: x-small;
    }

    form .form-group {
        margin-bottom: 0.5rem !important;
    }

    .form-group {
        margin-bottom: .7rem !important;
    }

    p {
        margin-top: 0;
        margin-bottom: 0rem !important;
    }

@media (max-width: 768px) {
    .card-body {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .card-header h1 {
        font-size: 24px;
    }

    .table-container {
        overflow-x: scroll;
    }

    .academic-table {
        min-width: 900px;
    }
}
