.fs-bl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.45);
    animation: fs-bl-fadeIn 0.25s ease;
}

.fs-bl-modal-overlay.fs-bl-show {
    display: flex;
}

.fs-bl-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 25px 25px;
    width: clamp(280px, 75vw, 380px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    text-align: center;
    gap: 10px;
    animation: fs-bl-scaleIn 0.25s ease;
}

.fs-bl-modal-overlay.fs-bl-bottom {
    align-items: flex-end;
}

.fs-bl-modal-overlay.fs-bl-bottom .fs-bl-modal {
    border-radius: 12px 12px 0 0;
    width: 100%;
    max-width: 500px;
    padding: 25px 20px 20px;
    animation: fs-bl-slideUp 0.3s ease;
}

.fs-bl-modal-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.fs-bl-modal-icon svg {
    width: 60px;
    height: 60px;
}

.fs-bl-modal-title {
    font-family: roboto-bold, sans-serif;
    font-size: 18px;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.fs-bl-modal-message {
    font-family: roboto-medium, sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.fs-bl-modal-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.fs-bl-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: roboto-medium, sans-serif;
    font-size: 15px;
    border: none;
    cursor: pointer;
    max-width: 180px;
    transition: opacity 0.2s ease;
}

.fs-bl-btn:hover {
    opacity: 0.85;
}

.fs-bl-btn-gray {
    background-color: #e8e8e8;
    color: #333;
}

.fs-bl-btn-red {
    background-color: #e53935;
    color: #fff;
}

.fs-bl-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 201;
    display: none;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    border-radius: 8px;
    padding: 24px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fs-bl-fadeIn 0.3s ease;
    white-space: nowrap;
}

.fs-bl-toast.fs-bl-show {
    display: flex;
}

.fs-bl-toast-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.fs-bl-toast-icon svg {
    width: 100%;
    height: 100%;
}

.fs-bl-toast-text {
    font-family: roboto-medium, sans-serif;
    font-size: 15px;
    color: #333;
}

@keyframes fs-bl-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fs-bl-scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fs-bl-slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes fs-bl-fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
