.modal-terms-title {
    text-align: center;      /* Center the title */
    font-size: 1.8rem;       /* Default size */
    margin: 0 0 1rem 0;      /* Remove top margin, keep bottom margin */
    color: #333;             
}

/* Make the modal content scrollable */
.modal-content-scroll {
    max-height: 400px;       /* Adjust height as needed */
    overflow-y: auto;
    padding-right: 10px;     
    line-height: 1.6;
}

/* Optional: style scrollbar for modern browsers */
.modal-content-scroll::-webkit-scrollbar {
    width: 8px;
}

.modal-content-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.modal-content-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

/* Logo styling */
.modal-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-logo img {
    width: 75px;       /* default size */
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-container {
        width: 90%;          /* reduce width on tablets/mobiles */
        padding: 1rem;       /* some padding for small screens */
    }

    .modal-terms-title {
        font-size: 1.5rem;   /* smaller title on small screens */
    }

    .modal-content-scroll {
        max-height: 300px;   /* smaller scrollable area */
    }

    .modal-logo img {
        width: 50px;         /* smaller logo */
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 95%;          /* almost full width on phones */
        padding: 0.5rem;
    }

    .modal-terms-title {
        font-size: 1.3rem;   /* even smaller title */
    }

    .modal-content-scroll {
        max-height: 250px;   /* smaller scrollable height */
    }

    .modal-logo img {
        width: 40px;         /* smaller logo on phones */
    }
}
