/* Confirm Dialog Component Styles */

/* Overlay styles */
.confirm-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Dialog container */
.confirm-dialog {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 90%;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    transform: scale(0.9);
}

/* Dialog header */
.confirm-dialog-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Icon container */
.confirm-dialog-icon {
    margin-right: 15px;
}

/* Info icon */
.confirm-dialog-icon .fa-info-circle {
    color: #3498db;
    font-size: 24px;
}

/* Warning icon */
.confirm-dialog-icon .fa-exclamation-triangle {
    color: #e74c3c;
    font-size: 24px;
}

/* Title container */
.confirm-dialog-title {
    flex: 1;
}

/* Title text */
.confirm-dialog-title h3 {
    margin: 0;
    font-size: 18px;
}

/* Message text */
.confirm-dialog-message {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Buttons container */
.confirm-dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* No button */
.confirm-dialog-no {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.confirm-dialog-no:hover {
    background-color: #e9e9e9;
}

/* Yes button */
.confirm-dialog-yes {
    padding: 8px 16px;
    border: none;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.confirm-dialog-yes:hover {
    background-color: #2980b9;
}

/* Loading state container */
.confirm-dialog-loading {
    text-align: center;
    padding: 20px;
}

/* Loading icon */
.confirm-dialog-loading-icon {
    margin-bottom: 15px;
}

.confirm-dialog-loading-icon .fa-circle-notch {
    font-size: 40px;
    color: #3498db;
}

/* Success state container */
.confirm-dialog-success {
    text-align: center;
    padding: 20px;
}

/* Success icon */
.confirm-dialog-success-icon {
    margin-bottom: 15px;
}

.confirm-dialog-success-icon .fa-check-circle {
    font-size: 40px;
    color: #2ecc71;
}

/* Error state container */
.confirm-dialog-error {
    text-align: center;
    padding: 20px;
}

/* Error icon */
.confirm-dialog-error-icon {
    margin-bottom: 15px;
}

.confirm-dialog-error-icon .fa-times-circle {
    font-size: 40px;
    color: #e74c3c;
}

/* Error message */
.confirm-dialog-error-message {
    margin: 0;
    font-size: 16px;
}

.confirm-dialog-error-details {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
}

/* Close button for error state */
.confirm-dialog-close-btn {
    margin-top: 15px;
    padding: 8px 16px;
    border: none;
    background-color: #e74c3c;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.confirm-dialog-close-btn:hover {
    background-color: #c0392b;
}

/* Status text */
.confirm-dialog-status-text {
    margin: 0;
    font-size: 16px;
}