﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body {
    font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
    background: linear-gradient(145deg, #eef5fc 0%, #e3eef9 100%);
    min-height: 100vh;
}

    .body a {
        color: #3b5998;
        text-decoration: none;
        font-size: 11px;
        font-weight: bold;
    }

        .body a:hover {
            text-decoration: underline;
        }

.sticky-ulb-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px -8px rgba(0, 40, 70, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    margin-bottom: 25px;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
}

.ulb-logo-new {
    max-height: 95px;
    background: white;
}

.ulb-name-redesign {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(130deg, #060606, #060606, #060606);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 80, 120, 0.2);
    margin-left: 8px;
    white-space: nowrap;
}

/* fine tune small screens */
@media (max-width: 760px) {
    .ulb-name-redesign {
        font-size: 1.4rem;
        white-space: normal;
        text-align: center;
    }

    .mob-head {
        flex-direction: column;
        text-align: center;
    }


    .header-content {
        gap: 15px;
        justify-content: center;
    }

    .logo-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .sticky-ulb-header {
        position: unset;
    }

    .card-body {
        padding: 1rem !important;
    }
}

.rdbcss input[type="checkbox"] {
    margin-right: 8px;
}

.grdstyle th {
    background-color: #2299ff;
    color: white;
}

.Grid {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}

    .Grid th, .Grid td {
        border: 1px solid lightgray; /* thick border */
        padding: 8px;
    }

    .Grid th {
        background-color: #2299ff;
        font-weight: bold;
        text-align: center;
        color: white;
        padding: 5px;
        font-size: 15px;
    }

.GrdAltRow {
    background-color: #f9f9f9;
}

/*Cards*/

.card {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
    background: white;
}

.card-header {
    background: #2299ff;
    padding: 15px;
    text-align: center;
    color: white;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.card-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 10px;
    position: relative;
}

.form-control {
    position: relative;
    display: block;
    border-radius: 0.5rem;
    border: 1px solid #1ab394;
    transition: all 0.3s;
    margin-bottom: 8px;
    color: black !important;
}

    .form-control:focus {
        border-color: #1ab394;
        box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, 0.25);
    }


.form-control {
    font-size: inherit;
}

.form-select {
    font-size: inherit;
}


.form-select {
    position: relative;
    display: block;
    border-radius: 0.5rem;
    border: 1px solid #1ab394;
    transition: all 0.3s;
    margin-bottom: 8px;
    color: black !important;
}

    .form-control:focus, .form-select:focus {
        box-shadow: 0 0 0 0.1rem #1ab394;
        border-color: #1ab394;
    }

.btn-primary {
    background: #1ab394;
    border: none;
    padding: 0.45rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary {
    border: none;
    padding: 0.45rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-primary:hover, .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        background: #1ab394;
    }

@media (max-width: 768px) {
    .form-control, .form-select, .rdbbtn {
        margin: 8px 0;
    }
}



.modal-header.alert-success {
    background-color: #28a745 !important; /* Success */
    color: white;
}

.modal-header.alert-warning {
    background-color: #ffc107 !important; /* Warning */
    color: black;
}

.modal-header.alert-danger {
    background-color: #dc3545 !important; /* Confirmation (Yes/No) */
    color: white;
}

.modal-header.alert-info {
    background-color: #0dcaf0 !important; /* Default Alert */
    color: black;
}

.pnlbox {
    border: 1px solid #000;
    border-radius: 6px;
    background-color: #fff;
}

.TermsCondition_Txt {
    width: 100%;
    float: left;
    height: 200px;
    font-size: 11px;
    overflow: auto;
    background-color: #fff;
    padding: 10px 10px;
    border: 1px solid black;
}
