.error-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    min-width: 300px;
    max-width: 90%;
    display: none;
}

.error-dialog.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.error-dialog-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #dc3545;
}

.error-dialog-header i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.error-dialog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.error-dialog-content {
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.error-dialog-footer {
    text-align: right;
}

.error-dialog-button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.error-dialog-button:hover {
    background: #c82333;
}

.error-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.error-dialog-overlay.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 