/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1d;
    color: #ccc;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #444;
    width: 60%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
    animation: slideDown 0.4s ease-out;
}

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

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#termsContent h2, #termsContent h4 {
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#termsContent ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.modal-footer {
    text-align: right;
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.btn-modal {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    background-color: #4CAF50; /* Green for agree */
    color: white;
}

.btn-modal.btn-decline {
    background-color: #f44336; /* Red for decline */
    margin-left: 10px;
}

.btn-modal:hover {
    opacity: 0.9;
}
