/* Windows 11 Dialog Styles */
.win11-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.win11-dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.win11-dialog {
    background: #ffffff;
    width: 380px;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    font-family: 'Segoe UI Variable', 'Segoe UI', sans-serif;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
    overflow: hidden;
}

.win11-dialog-overlay.active .win11-dialog {
    transform: scale(1);
}

.win11-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.win11-dialog-title {
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.win11-dialog-close {
    background: none;
    border: none;
    color: #5d5d5d;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
}

.win11-dialog-close:hover {
    background: #f3f3f3;
    color: #1b1b1b;
}

.win11-dialog-content {
    padding: 0 20px 24px 20px;
    text-align: center;
}

.win11-dialog-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.win11-dialog-message-title {
    font-size: 18px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 8px;
}

.win11-dialog-message {
    font-size: 14px;
    color: #5d5d5d;
    line-height: 1.5;
}

.win11-dialog-footer {
    background: #f9f9f9;
    padding: 16px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
}

.win11-btn {
    padding: 6px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.1s;
}

.win11-btn-secondary {
    background: #ffffff;
    border-color: #d1d1d1;
    color: #1b1b1b;
}

.win11-btn-secondary:hover {
    background: #f6f6f6;
    border-color: #b1b1b1;
}

.win11-btn-primary {
    background: #005fb8;
    color: white;
    border-color: #005fb8;
}

.win11-btn-primary:hover {
    background: #0052a3;
    border-color: #0052a3;
}