/**
 * External Link Modal CSS
 */
#brightstar-external-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#brightstar-external-modal .modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#brightstar-external-modal h2 {
    color: #00475f;
    margin-top: 0;
    border-bottom: 2px solid #00475f;
    padding-bottom: 10px;
    font-size: 22px;
}

#brightstar-external-modal p {
    margin: 15px 0;
    line-height: 1.5;
}

#brightstar-external-modal .destination-url {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin: 20px 0;
    word-break: break-all;
}

#brightstar-external-modal #external-destination {
    font-weight: bold;
    color: #00475f;
}

#brightstar-external-modal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

#brightstar-external-modal button {
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#brightstar-external-modal .continue-btn {
    background-color: #00475f;
    color: white;
}

#brightstar-external-modal .continue-btn:hover {
    background-color: #003246;
}

#brightstar-external-modal .cancel-btn {
    background-color: #f1f1f1;
    color: #333;
}

#brightstar-external-modal .cancel-btn:hover {
    background-color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    #brightstar-external-modal .modal-content {
        padding: 20px;
    }
    
    #brightstar-external-modal .modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    #brightstar-external-modal button {
        width: 100%;
    }
}