/****************************************
Main Extranet design and structure styles
----------------------------------------
Created: 19th December 2025
****************************************/
.modal-backdrop-custom {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
}

.modal-custom {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 6px;
    padding: 16px 16px 12px;
    width: 420px;
    max-width: 92%;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-family: inherit;
}

.modal-header {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 18px;
}

.modal-body {
    margin-bottom: 12px;
    font-size: 14px;
}

.modal-footer {
    text-align: right;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    background: #f8f9fa;
}

.btn-primary {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.btn-secondary {
    background: #f8f9fa;
}

.close-x {
    position: absolute;
    right: 10px;
    top: 8px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}