﻿/* =========================================
   Registration Form UI
========================================= */

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.register-card {
    width: 100%;
    /*max-width: 800px;*/
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* =========================================
   Title Section
========================================= */

.register-title {
    background: linear-gradient(135deg, #211d70, #4338ca);
    padding: 22px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.register-title h1 {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    /*margin: 0 0 8px;*/
    padding:10px 10px;
}

.register-title p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin: 0;
}

.form-control {
            border-radius: 1.5rem;
        }
/* =========================================
   Labels
========================================= */

.form-label-custom {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required-star {
    color: #dc3545;
}

/* =========================================
   Inputs
========================================= */

.custom-input,
.date-input {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
    text-align:center;
}

.custom-input:focus,
.date-input:focus {
    border-color: #211d70;
    box-shadow: 0 0 10px rgba(33,29,112,0.15);
    outline: none;
}

/* =========================================
   Hint & Validation
========================================= */

.hint-text {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #888;
}

.validation-error {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #dc3545;
}

/* =========================================
   Captcha
========================================= */

.captcha-box {
    text-align: center;
    margin-top: 20px;
}

.captcha-box img {
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 100%;
    height: auto;
}

/* =========================================
   Button
========================================= */

.submit-btn {
    background: linear-gradient(135deg, #211d70, #4338ca);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4338ca, #211d70);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67,56,202,0.25);
}

/* =========================================
   jQuery UI DatePicker
========================================= */

.ui-datepicker {
    width: 320px;
    padding: 12px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', sans-serif;
    z-index: 9999 !important;
}

/* Header */

.ui-datepicker-header {
    background: linear-gradient(135deg, #211d70, #4338ca);
    border: none;
    border-radius: 10px;
    padding: 10px;
}

/* Month & Year */

.ui-datepicker-title {
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Prev / Next Buttons */

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    top: 10px !important;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    filter: brightness(0) invert(1);
}

/* Calendar Table */

.ui-datepicker table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
}

/* Day Names */

.ui-datepicker th {
    padding: 10px 0;
    color: #211d70;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Date Cells */

.ui-datepicker td {
    padding: 3px;
    text-align:center;
    align-items: center;
    justify-content: center;
}

.ui-datepicker td a,
.ui-datepicker td span {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}




/

.ui-datepicker td a:hover {
    background: #4338ca;
    color: #fff;
}

/* Selected Date */

.ui-datepicker-current-day a {
    background: #211d70 !important;
    color: #fff !important;
    font-weight: 700;
}

/* Today's Date */

.ui-datepicker-today a {
    border: 2px solid #211d70;
    color: #211d70;
    font-weight: 700;
}

/* Disabled Dates */

.ui-datepicker-unselectable span {
    color: #bbb;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 768px) {

    .register-card {
        padding: 25px;
        border-radius: 15px;
    }

    .register-title {
        padding: 18px;
    }

    .register-title h1 {
        font-size: 24px;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .ui-datepicker {
        width: 100%;
        max-width: 320px;
    }

    .ui-datepicker td a,
    .ui-datepicker td span {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* =========================================
   Footer
========================================= */

.footer {
    background: #111827;
    color: #ffffff;
    padding: 60px 0 25px;
    /*-top: 50px;*/*/
}


.footer h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    color: #ffffff;
}

.footer h3 span {
    position: relative;
    padding-bottom: 8px;
}

.footer h3 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: #4338ca;
    border-radius: 5px;
}

/* Footer Lists */

.footer ul {
    padding: 0;
    margin: 0;
}

.footer ul li {
    list-style: none;
    margin-bottom: 12px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

/* Footer Links */

.footer a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Contact Text */

.footer p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 10px;
}

/* Icons */

.footer i {
    color: #818cf8;
    margin-right: 8px;
}

/* Bottom Footer */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Responsive */

@media (max-width: 768px) {

    .footer {
        text-align: center;
        padding: 45px 0 20px;
    }

    .footer h3 span::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .col-lg-4 {
        margin-bottom: 30px;
    }

    .footer a:hover {
        padding-left: 0;
    }
}

.dob-picker {
    height: 52px;
    cursor: pointer;
    background: #fff !important;
}

.input-group-text {
    height: 52px;
    background: #fff;
}

.flatpickr-calendar.modern-calendar {
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.flatpickr-months {
    background: #0d6efd;
    color: #fff;
}

.flatpickr-current-month input.cur-year {
    color: #fff;
    font-weight: 600;
}

.flatpickr-monthDropdown-months {
    color: #000;
}

.flatpickr-day.selected {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
}

.flatpickr-day:hover {
    background: #e9ecef;
}