/* Security Notice Popup Styles */
.security-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.security-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.security-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.security-modal-content {
    position: relative;
    background: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.security-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    line-height: 35px;
    padding: 0;
}

.security-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.security-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px 30px;
    text-align: center;
    color: #fff;
    border-radius: 20px 20px 0 0;
}

.security-modal-header i {
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
}

.security-modal-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.security-modal-body {
    padding: 30px;
}

.security-warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.security-warning-box h3 {
    color: #856404;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.security-warning-box p {
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.security-info {
    margin-bottom: 20px;
}

.security-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.security-domains {
    background: #e7f3ff;
    border: 2px solid #2196f3;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.security-domains h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0c0d24;
    margin: 0 0 12px 0;
}

.security-domains ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-domains ul li {
    padding: 8px 12px;
    background: #fff;
    margin-bottom: 6px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #0c0d24;
    font-family: monospace;
}

.security-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.security-btn-primary,
.security-btn-secondary {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.security-btn-primary {
    background: #667eea;
    color: #fff;
}

.security-btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: #fff;
}

.security-btn-secondary {
    background: #f8f9fa;
    color: #0c0d24;
    border: 2px solid #e0e0e0;
}

.security-btn-secondary:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

@media (max-width: 768px) {
    .security-modal-content {
        margin: auto;
        width: 95%;
        max-height: 85vh;
    }

    .security-modal-header {
        padding: 20px 15px 15px;
    }

    .security-modal-header i {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .security-modal-header h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .security-modal-body {
        padding: 15px;
    }

    .security-warning-box {
        padding: 12px;
        margin-bottom: 12px;
    }

    .security-warning-box h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .security-warning-box p {
        font-size: 13px;
        line-height: 1.4;
    }

    .security-info {
        margin-bottom: 12px;
    }

    .security-info p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .security-domains {
        display: none;
    }

    .security-actions {
        flex-direction: column;
        gap: 8px;
    }

    .security-btn-primary,
    .security-btn-secondary {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .security-modal-close {
        width: 35px;
        height: 35px;
        font-size: 30px;
        line-height: 30px;
        right: 10px;
        top: 10px;
    }
}
