﻿

.toast-wrapper {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    max-width: 360px;
}

.toast {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    overflow: hidden;
}

.toast-header {
    background: #fff;
    padding: .75rem 1rem;
}

.toast-body {
    font-size: .95rem;
    line-height: 1.5;
    background: #fff;
}

.toast-indicator {
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}


.toast.show {
    animation: slideIn .4s ease;
}

.toast-header {
    color: #212529 !important; /* dark text */
}

    .toast-header .close {
        color: #212529;
        opacity: .6;
    }

        .toast-header .close:hover {
            opacity: 1;
        }

.toast-body {
    color: #495057;
}

.section-divider {
    margin: 2rem 0 1rem;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: .5rem;
}
/* Responsive (mobile) */
.form-control {
    border-radius: 10px;
    border: 1px solid #e1e5eb;
    padding: .75rem .9rem;
    font-size: .95rem;
}

    .form-control:focus {
        border-color: #4c6ef5;
        box-shadow: 0 0 0 .2rem rgba(76,110,245,.15);
    }
.input-group-modern .input-group-text {
    background: transparent;
    border-left: 0;
    color: #6c757d;
}
.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: .35rem;
}

.form-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

    .form-card .card-header {
        background: linear-gradient(135deg, #f8f9fc, #ffffff);
        border-bottom: 1px solid #eee;
        padding: 1.25rem 1.5rem;
    }

    .form-card h5 {
        margin: 0;
        font-weight: 600;
    }

    .form-card small {
        color: #6c757d;
    }



.form-control:hover {
        border-color: #bbb;

}
    .form-control[readonly] {
        background-color: #f9fafb;
        border-color: transparent;
        padding-left: 0;
    }

.disabled-div {
    pointer-events: none; /* blocks clicks, typing, select2, etc */
    opacity: 0.7; /* visually looks disabled */
}

.sticky-box {
    position: sticky;
    top: 0; /* distance from top */
    z-index: 1020; /* above content (Bootstrap navbar = 1030) */
    background: #fff; /* prevents bleed-through */
}

.cool-spinner-wrap {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.cool-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 6px solid #e9ecef;
    border-top-color: #007bff;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}