﻿.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 28px 36px;
    max-width: 420px;
    text-align: center;
    border-radius: 10px;
}

.modal-actions {
    margin-top: 22px;
}

    .modal-actions button {
        padding: 10px 18px;
        margin: 0 8px;
        cursor: pointer;
    }

/* 遮罩层 */
.hf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 弹框主体 */
.hf-modal {
    position: relative;
    width: 520px;
    max-width: 90%;
    padding: 36px 40px 40px;
    background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('~/images/altbg.jpg') center / cover no-repeat;
    border: 2px solid #00a8ec;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    text-align: center;
    box-sizing: border-box;
}

/* 关闭按钮 X */
.hf-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

    .hf-close:hover {
        color: #00a8ec;
    }

/* 标题 */
.hf-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #222;
}

/* 提示文本 */
.hf-text {
    font-size: 17px;
    margin: 0 0 28px;
    color: #333;
}

/* 按钮容器：一行并排 */
.hf-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* 按钮基础 */
.hf-btn {
    min-width: 200px;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

    /* 主按钮 */
    .hf-btn.primary {
        background-color: #00a8ec;
        color: #fff;
        border-color: #00a8ec;
    }

        .hf-btn.primary:hover {
            background-color: #0093cf;
            border-color: #0093cf;
        }

    /* 次按钮 */
    .hf-btn.secondary {
        background-color: #fff;
        color: #00a8ec;
        border-color: #00a8ec;
    }

        .hf-btn.secondary:hover {
            background-color: #f0faff;
        }
