﻿
  /*******************************************/
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    z-index: 9999;
}

.error-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    width: 320px;
    max-width: 90%;
    animation: fadeInScale 0.25s ease;
    font-family: Arial, sans-serif;
}

.error-header {
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-body {
    padding: 20px 15px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.error-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid #eee;
}

.btn-ok {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

    .btn-ok:hover {
        background: #bb2d3b;
    }

.error-close {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

    .error-close:hover {
        color: #000;
    }

@@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
 