/* 激活弹框样式（可复用） */
.activation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.activation-dialog {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 350px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.activation-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.activation-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.activation-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.activation-qr img {
    width: 200px;
    height: 200px;
    border-radius: 6px;
}

.activation-tip {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 25px;
    font-weight: 500;
}

.activation-input-section {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.activation-label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
}

.activation-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.activation-input:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.activation-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.activation-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.activation-btn-cancel {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.activation-btn-cancel:hover {
    background-color: #e9ecef;
}

.activation-btn-confirm {
    background-color: #4285f4;
    color: white;
}

.activation-btn-confirm:hover {
    background-color: #1a73e8;
}

.activation-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .activation-dialog {
        padding: 20px;
        margin: 20px;
        max-width: none;
    }

    .activation-qr {
        width: 160px;
        height: 160px;
    }

    .activation-qr img {
        width: 160px;
        height: 160px;
    }

    .activation-input-section {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .activation-label {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 13px;
    }

    .activation-input {
        flex: 1;
        min-width: 0;
        font-size: 13px;
        padding: 10px 12px;
    }
}
