/* Plain modal styles — replaces Bootstrap modal */
.fls-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
}
.fls-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.fls-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.fls-modal-header h4 {
    margin: 0;
    font-size: 1.15em;
}
.fls-modal-close {
    background: none;
    border: none;
    font-size: 1.4em;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
}
.fls-modal-body {
    padding: 20px;
}
.fls-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid #e0e0e0;
}
.fls-modal-footer button,
.fls-modal-footer a.btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
}
.fls-modal-footer .btn-primary {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}
