﻿.frmSelect {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto;
    font-family: 'Open Sans', 'Helvetica Neue', 'Segoe UI', 'Calibri', 'Arial', sans-serif;
    font-size: 18px;
    color: #60666d;
}
.multi-select {
    position: relative;
    margin-bottom: 7px;
}

/* Header */
.multi-select-header {
    border: 1px solid #d6dbe0;
    background: #f9fbfc;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Arrow */
.arrow {
    font-size: 12px;
}

/* Dropdown */
.multi-select-dropdown {
    display: none;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #d6dbe0;
    border-radius: 6px;
    margin-top: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 10;
    max-height: 205px;
    overflow-y: auto;
}

/* Open state */
.multi-select.open .multi-select-dropdown {
    display: block;
}
/* Checkbox Row */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 1px 3px;
    font-size: 14px;
    cursor: pointer;
}

    /* Checkbox styling */
    .checkbox-row input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
        flex-shrink: 0;
    }

.upload-box {
    border: 0px dashed #0d6efd;
    border-radius: 8px;
    padding: 0px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .upload-box:hover {
        border-color: #084298;
    }

.upload-icon {
    font-size: 28px;
    color: #2ec4c7;
}

.upload-text {
    margin-top: 8px;
    font-size: 14px;
}

.upload-hint {
    font-size: 12px;
    color: #6c757d;
}
.doc-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .doc-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    }

/* Preview */
.doc-preview {
    height: 160px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .doc-preview i {
        font-size: 40px;
        color: #adb5bd;
    }

/* Footer */
.doc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 14px;
}

.doc-info {
    max-width: 80%;
}

.doc-name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-meta {
    font-size: 12px;
    color: #6c757d;
}

.doc-actions button {
    border: none;
}
/* Add red star automatically */
.form-label.required::after {
    content: " *";
    color: #f87171;
    font-weight: 600;
}
button.btn.btn-outline-dark {
    background: #2ec4c7;
    border: none !important;
    color: black !important;
}
    button.btn.btn-outline-dark:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 0 5px rgb(26 28 27 / 60%), 0 0 5px rgb(15 26 22 / 40%) !important;
    }
.card .card-footer, .card-light .card-footer {
    background-color: transparent;
    line-height: 30px;
    border-top: 0px solid #ebecec !important;
    font-size: 13px;
    display: flex !important;
    justify-content: end !important;
}
.custom-select {
    line-height: 2.1 !important;
}
/*Loader*/
/* FULL PAGE OVERLAY */
.global-loader {
    position: fixed;
    inset: 0; 
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px); 
    z-index: 999999; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CENTER BOX */
.loader-box {
    text-align: center;
}

/* SPINNER */
.spinner {
    width: 70px;
    height: 70px;
    border: 6px solid rgb(26 28 27 / 60%);
    border-top: 6px solid #2ec4c7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* TEXT */
.loader-text {
    margin-top: 12px;
    color: #fff;
    font-size: 16px;
}

/* ANIMATION */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}