/**
 * Aurevia 弹框主题：统一 dialog.min / toast / notice 与橙主题 #ea5514
 */
.dialog-overlay {
    background-color: rgba(15, 23, 42, 0.28) !important;
}

/* 确认类弹框（白底圆角，对齐 jt-swal） */
.dialog-modal .dialog-content,
.dialog:not(.dialog-toast):not(.dialog-notice) .dialog-content {
    width: 320px !important;
    max-width: 92vw !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    overflow: hidden;
    border: 1px solid #e8edf3;
}
.dialog-content * {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
}
.dialog-content-hd {
    padding: 20px 20px 8px !important;
    margin-bottom: 0 !important;
}
.dialog-content-hd .dialog-content-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #222 !important;
}
.dialog-content-bd {
    margin: 12px 22px 8px !important;
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}
.dialog-content-ft:after {
    border-top-color: #e8edf3 !important;
    color: #e8edf3 !important;
}
.dialog-content-ft .dialog-btn:after {
    border-left-color: #e8edf3 !important;
    color: #e8edf3 !important;
}
.dialog-btn,
.dialog-btn-hl {
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}
.dialog-btn-confirm,
.dialog-btn-hl {
    color: #ea5514 !important;
    font-weight: 600 !important;
}
.dialog-btn:hover,
.dialog-btn:active {
    background-color: rgba(234, 85, 20, 0.06) !important;
}

/* Toast：橙底半透明卡片 */
.dialog-toast .dialog-content {
    width: auto !important;
    min-width: 120px !important;
    max-width: 70vw !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 22px !important;
    border-radius: 14px !important;
    background: rgba(234, 85, 20, 0.92) !important;
    box-shadow: 0 8px 24px rgba(234, 85, 20, 0.28) !important;
    border: none !important;
    display: table !important;
}
.dialog-toast .dialog-content-bd {
    padding: 0 !important;
}
.dialog-toast .info-text {
    margin: 8px auto 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #fff !important;
    width: auto !important;
    max-width: 200px;
}
.dialog-toast .info-icon {
    width: 36px !important;
    max-width: 36px !important;
    filter: brightness(0) invert(1);
}

/* Notice：深橙条提示 */
.dialog-notice .dialog-content {
    border-radius: 10px !important;
    background: rgba(34, 34, 34, 0.88) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}
.dialog-notice .info-text {
    font-size: 14px !important;
    color: #fff !important;
}

/* Android 风格确认色也走主题橙 */
[data-style=android] .dialog-content-ft .dialog-btn-confirm,
[data-style=android] .dialog-content-ft .dialog-btn-hl {
    color: #ea5514 !important;
}
[data-style=android] .dialog-content {
    border-radius: 16px !important;
}
