﻿.modal-content {
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15,23,42,.12);
    position: relative;
}

    /* GLOW EFFECT */

    .modal-content::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        background: rgba(96,165,250,.10);
        border-radius: 50%;
        top: -120px;
        right: -120px;
        filter: blur(20px);
        z-index: 0;
    }

    .modal-content > * {
        position: relative;
        z-index: 2;
    }

/* MODAL SIZE */

.modal-dialog {
    max-width: 1100px;
}

/* HEADER */

.modal-header {
    border: none;
    padding: 28px 34px 12px;
    background: transparent;
}

/* TITLE */

.modal-title {
    font-size: 30px !important;
    font-weight: 700;
    color: #2563eb;
}

/* CLOSE BUTTON */

.btn-close {
    background-color: #eff6ff;
    border-radius: 12px;
    padding: 12px;
    opacity: 1;
}

/* BODY CARD */

.modal .card {
    border: none !important;
    border-radius: 28px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(10px);
    box-shadow: none;
    margin: 10px 24px 24px !important;
}

/* CARD BODY */

.modal .card-body {
    padding: 10px 18px 30px;
}

/* LABEL */

.modal label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

/* INPUT */

.modal .form-control,
.modal select {
    height: 54px;
    border-radius: 16px !important;
    border: 1px solid #dbeafe !important;
    background: rgba(255,255,255,.9) !important;
    color: #0f172a !important;
    font-size: 14px;
    padding: 12px 16px;
    box-shadow: none !important;
    transition: .3s;
}

    /* FOCUS */

    .modal .form-control:focus,
    .modal select:focus {
        border-color: #60a5fa !important;
        box-shadow: 0 0 0 4px rgba(96,165,250,.15) !important;
    }

    /* PLACEHOLDER */

    .modal .form-control::placeholder {
        color: #94a3b8;
    }

/* ROW GAP */

.modal .row {
    row-gap: 10px;
}

/* FOOTER */

.modal-footer {
    border: none;
    padding: 0 34px 30px;
    gap: 14px;
}

    /* BUTTON COMMON */

    .modal-footer .btn {
        min-width: 140px;
        height: 52px;
        border: none;
        border-radius: 16px;
        font-size: 15px;
        font-weight: 600;
        transition: .3s;
    }

    /* CLOSE BUTTON */

    .modal-footer .btn-secondary {
        background: #e2e8f0;
        color: #334155;
    }

    /* SUBMIT BUTTON */

    .modal-footer .btn-primary {
        background: linear-gradient( 135deg, #2563eb, #60a5fa );
        box-shadow: 0 10px 24px rgba(37,99,235,.18);
    }

    /* HOVER */

    .modal-footer .btn:hover {
        transform: translateY(-2px);
    }

/* SCROLLABLE MODAL */

.modal-body,
.modal .card {
    max-height: 70vh;
    overflow-y: auto;
}

    /* SCROLLBAR */

    .modal-body::-webkit-scrollbar,
    .modal .card::-webkit-scrollbar {
        width: 6px;
    }

    .modal-body::-webkit-scrollbar-thumb,
    .modal .card::-webkit-scrollbar-thumb {
        background: #bfdbfe;
        border-radius: 20px;
    }

/* RESPONSIVE */

@media(max-width:991px) {

    .modal-dialog {
        margin: 16px;
    }

    .modal-header {
        padding: 24px 24px 10px;
    }

    .modal-footer {
        padding: 0 24px 24px;
    }

    .modal .card {
        margin: 10px 14px 20px !important;
    }
}

@media(max-width:576px) {

    .modal-title {
        font-size: 22px !important;
    }

    .modal .form-control,
    .modal select {
        height: 50px;
    }

    .modal-footer .btn {
        width: 100%;
    }
}
