/* Dialog Service Styles */
#dialogOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 57, 106, 0.85);
    backdrop-filter: blur(4px);
    z-index: 10000;
}

#dialogContainer {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: 90%;
    max-width: 400px;
}

.dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(19, 57, 106, 0.15);
    overflow: hidden;
    animation: dialogFadeIn 0.3s cubic-bezier(0.7, 0, 0.3, 1);
    border: 1px solid rgba(19, 57, 106, 0.1);
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dialog-header {
    padding: 24px 32px;
    border-bottom: 1px solid #e0e6f0;
    background: #f8fafd;
}

.dialog-header h3 {
    margin: 0;
    font-family: 'Bowlby One', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--brand-blue, #13396a);
    letter-spacing: 0.5px;
}

.dialog-content {
    padding: 32px;
}

.dialog-content p {
    margin: 0;
    font-family: 'Courier Prime', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.dialog-footer {
    padding: 24px 32px;
    border-top: 1px solid #e0e6f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f8fafd;
}

.dialog-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Bowlby One', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.7, 0, 0.3, 1);
    letter-spacing: 0.5px;
    min-width: 100px;
}

.dialog-button.primary {
    background: var(--brand-blue, #13396a);
    color: white;
    box-shadow: 0 2px 8px rgba(19, 57, 106, 0.15);
}

.dialog-button.primary:hover {
    background: #0d2850;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19, 57, 106, 0.2);
}

.dialog-button.secondary {
    background: #f5f7fa;
    color: var(--brand-blue, #13396a);
    border: 1px solid #e0e6f0;
}

.dialog-button.secondary:hover {
    background: #eef1f6;
    transform: translateY(-1px);
}

/* Dialog Types */
.dialog-error .dialog-header {
    background: #fff5f5;
    border-bottom-color: #ffe0e0;
}

.dialog-error .dialog-header h3 {
    color: #d32f2f;
}

.dialog-success .dialog-header {
    background: #f0fff4;
    border-bottom-color: #dcffe4;
}

.dialog-success .dialog-header h3 {
    color: #2e7d32;
}

.dialog-loading {
    text-align: center;
}

.dialog-loading .dialog-content {
    padding: 40px 32px;
}

.dialog-loading .dialog-content p {
    margin-top: 20px;
    color: #666;
}

/* Loading Spinner */
.dialog-loading .spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e0e6f0;
    border-top: 3px solid var(--brand-blue, #13396a);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .dialog {
        width: 95%;
        margin: 0 auto;
    }

    .dialog-header {
        padding: 20px 24px;
    }

    .dialog-content {
        padding: 24px;
    }

    .dialog-footer {
        padding: 20px 24px;
    }

    .dialog-button {
        padding: 10px 20px;
        font-size: 14px;
    }
} 