/* ¼ÓÔØÐý×ª¿òÑùÊ½.css */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.spinner-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner-content {
    background: white;
    border-radius: 20px;
    width: 80%;
    max-width: 300px;
    padding: 30px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.spinner-overlay.active .spinner-content {
    transform: scale(1);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(52, 152, 219, 0.2);
    border-top-color: #3498db;
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.spinner-message {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.spinner-cancel {
    background: none;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.spinner-cancel:active {
    background: rgba(231, 76, 60, 0.1);
}

@media (max-width: 480px) {
    .spinner-content {
        padding: 25px;
    }
}