/* 跳转确认弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, #a1c4fd, #ff9a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-content {
    margin-bottom: 25px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.modal-url {
    display: block;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 15px 0;
    font-family: monospace;
    word-break: break-all;
    color: #FFC107;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-confirm {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
    color: white;
}

.btn-confirm:hover {
    background: linear-gradient(90deg, #43A047, #1B5E20);
    transform: translateY(-2px);
}

/* 外部链接样式 
.external-link {
    position: relative;
    transition: all 0.3s ease;
}

.external-link::after {
    content: "↗";
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.7;
}

.external-link:hover {
    color: #a1c4fd !important;
}
*/

@media (max-width: 768px) {
    .modal {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

