
.demo-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.demo-btn:hover {
    background: #0056b3;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal {
    background: black;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #222;
    z-index: 10;
}

.modal-header h2 {
    font-size: 24px;
    color: #AAA;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #f0f0f0;
}

.modal-content {
    padding: 24px;
}

.modal-content h3 {
    color: #AAA;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 18px;
}

.modal-content h3:first-child {
    margin-top: 0;
}

.modal-content p {
    color: #999;
    margin-bottom: 12px;
}
.modal-content a
{
    text-decoration: underline;
    color:lightblue;
}

.modal-content ol {
    margin-left: 20px;
    color: #999;
}

.modal-content li {
    margin-bottom: 8px;
}

.security-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    margin-top: 20px;
    border-radius: 4px;
    color:black;
}

.security-note strong {
    color: #856404;
}

@media (max-width: 640px) {
    .modal {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-content {
        padding: 16px;
    }

    .modal-content h3 {
        font-size: 16px;
    }
}
