#xp-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.01);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-dialog {
    background: #ECE9D8;
    border: 2px solid #0054E3;
    border-radius: 8px 8px 0 0;
    min-width: 320px;
    max-width: 480px;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}

.xp-dialog-titlebar {
    background: linear-gradient(
        180deg,
        #0997FF 0%,
        #0663E8 3%,
        #0058EE 8%,
        #0054E3 10%,
        #0055E5 20%,
        #0060F0 40%,
        #0066FF 50%,
        #0060F0 60%,
        #0055E5 80%,
        #0054E3 90%,
        #004BD6 95%,
        #0033BB 100%
    );
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    border-radius: 6px 6px 0 0;
    flex-shrink: 0;
}

.xp-dialog-titlebar-left {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 4px;
}

.xp-dialog-title {
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.xp-dialog-body {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px 16px;
}

.xp-dialog-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.dialog-info {
    background: #3168D5;
}

.dialog-info::before {
    content: 'i';
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    font-family: 'Times New Roman', serif;
}

.dialog-warning {
    background: #F1C40F;
}

.dialog-warning::before {
    content: '!';
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

.dialog-error {
    background: #E74C3C;
}

.dialog-error::before {
    content: '✕';
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.xp-dialog-message {
    font-size: 12px;
    line-height: 1.5;
    color: #000;
    flex: 1;
    padding-top: 4px;
}

.xp-dialog-footer {
    display: flex;
    justify-content: center;
    padding: 0 24px 16px;
}

.xp-dialog-btn {
    min-width: 75px;
    padding: 4px 16px;
    background: linear-gradient(180deg, #fff 0%, #ECE9D8 100%);
    border: 1px solid #003C74;
    border-radius: 3px;
    font-family: 'Tahoma', sans-serif;
    font-size: 12px;
    cursor: pointer;
    color: #000;
}

.xp-dialog-btn:hover {
    background: linear-gradient(180deg, #fff 0%, #d8d4c8 100%);
}

.xp-dialog-btn:active {
    background: linear-gradient(180deg, #d8d4c8 0%, #ccc8bc 100%);
}
