.pratice-container {
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #4a94ab;
    width: 200px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-left: 6px solid #ffd700;
    /* gold/yellow bar */
    margin-top: 20px;
}

.section-container {
    margin-top: 50px;
    margin-left: 10px;
    /* ❌ Remove left margin */
    margin-right: 0;
    /* ❌ Remove right margin */
    padding-left: 0;
    /* Optional: remove left padding */
    /* padding-right: 0;     Optional: remove right padding */
    display: flex;
    gap: 40px;
    width: 500px;
    flex-wrap: wrap;
}



.section {
    font-family: Arial, sans-serif;
    font-size: 14px;
    flex: 1 1 200px;
    /* ✅ Makes sections flexible */
    min-width: 200px;
    max-width: 300px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    color: #0d4364;
    text-align: left;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    text-align: left;
}

ul li {
    font-size: 14px;
    margin-bottom: 8px;

}

ul li a {
    text-decoration: none;
    color: #000;
}

ul li a:hover {
    color: #007BFF;
}

.columns {
    margin-top: 50px;
    float: left;
    width: 30.2%;
    padding: 5px 2px;
    font-size: large;
    box-sizing: border-box;
}

/* ✅ Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .section-container {
        flex-direction: column;
        gap: 20px;
    }

    .pratice-container,
    .total-test {
        width: 100%;
    }

    .section {
        max-width: 100%;
    }

    .columns {
        width: 100%;
        /* Full width on small screens */
        float: none;
        /* Disable float to stack elements vertically */
    }

    .container {
        padding: 10px;
        /* Add some padding for better mobile look */
        border-radius: 8px;
    }
}

.custom-swal-input {
    width: 100% !important;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 10px;
    border-radius: 5px;
}

.custom-swal-input:first-child {
    margin-top: 10px;
}

/* NEW: Add this for button gap */
.custom-swal-button {
    margin-top: 20px;
    /* bigger gap between inputs and button */
    background-color: #00bcd4;
    width: 100%;
    height: 30px;
    font-size: 15px;
}

/* Custom Swal popup button styles */
.swal-custom-button {
    height: 40px;
    /* Button height */
    width: 100%;
    /* Button width 100% of container */
    font-size: 15px;
    /* Font size */
    font-weight: bold;
    /* Bold font */
    background-color: #00bcd4;
    /* Button background color */
    color: white;
    /* Button text color */
    border-radius: 6px;
    /* Rounded corners */
    border: none;
    /* Remove border */
    margin-bottom: 20px;
    /* Bottom margin */
    transition: background-color 0.3s ease;
    /* Smooth background color transition */
    display: flex;
    /* Enable Flexbox */
    justify-content: center;
    /* Center text horizontally */
    align-items: center;
    /* Center text vertically */
}

/* On hover effect */
.swal-custom-button:hover {
    background-color: #0097a7;
    /* Darker shade on hover */
    cursor: pointer;
}


/* Styles for the form container */
.swal-form-container {
    background: linear-gradient(to right, #e0f7fa, #e0f7fa);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

/* Styles for the form fields container */
.swal-form-fields {
    width: 100%;
    max-width: 350px;
    /* Set default max-width for larger screens */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Styles for input fields with icons */
.swal-input-container {
    position: relative;
    width: 100%;
}

.swal-input-container img {
    position: absolute;
    left: 10px;
    top: 60%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.custom-swal-input {
    padding-left: 45px;
}

/* Styles for the checkbox and terms */
.swal-checkbox-container {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: black;
}

.swal-checkbox-container input[type="checkbox"] {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    transform: scale(1.3);
    vertical-align: middle;
    accent-color: #334ec4;
    /* Change this color to whatever you prefer */
}

.swal-checkbox-container label {
    font-size: 12px;
}

/* Links inside the checkbox container */
.swal-checkbox-container a {
    color: #076b8a;
    text-decoration: underline;
    transition: color 0.3s;
}

.swal-checkbox-container a:hover {
    color: darkblue;
}

/* For the tab buttons */
.swal-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.tab {
    cursor: pointer;
    padding: 6px 16px;
    /* font-weight: bold; */
    border-radius: 6px;
    background-color: #e0e0e0;
    color: black;
}

.tab.active {
    background-color: #00bcd4;
    color: white;
}

.signInTab {
    border-radius: 6px 0 0 6px;
}

.registerTab {
    border-radius: 0 6px 6px 0;
}

/* Custom Swal popup styles */
.swal-custom-popup {
    padding: 15px;
    font-family: 'Open Sans', sans-serif;
}

/* Custom Confirm Button Styles */
.swal-custom-button {
    height: 40px;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    background-color: #00bcd4;
    color: white;
    border-radius: 6px;
    border: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.swal-custom-button:hover {
    background-color: #0097a7;
    cursor: pointer;
}

/* Custom Title Style */
.swal-custom-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Responsive Design for Smaller Screens */

/* Tablets */
@media (max-width: 768px) {
    .swal-form-fields {
        max-width: 80%;
        /* Reduced max-width for tablet devices */
    }

    .swal-custom-button {
        font-size: 14px;
        /* Smaller button font size */
    }

    .swal-custom-title {
        font-size: 20px;
        /* Smaller title font size */
    }

    .tab {
        padding: 4px 12px;
        /* Smaller padding for tab buttons */
        font-size: 14px;
        /* Smaller font for tabs */
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .swal-form-fields {
        max-width: 90%;
        /* Form will occupy almost all screen width but with some margin */
    }

    .swal-checkbox-container {
        font-size: 12px;
        /* Smaller checkbox label font */
    }

    .swal-checkbox-container input[type="checkbox"] {
        transform: scale(1.2);
        /* Smaller checkbox size */
    }

    .swal-tabs {
        flex-direction: column;
        /* Stack tabs vertically on mobile */
    }

    .tab {
        width: 100%;
        /* Tabs will take full width on mobile */
        margin-bottom: 5px;
        /* Add spacing between tabs */
    }

    .swal-custom-button {
        font-size: 13px;
        /* Smaller button font size for mobile */
        padding: 10px 0;
        /* More padding for mobile buttons */
    }

    .swal-custom-title {
        font-size: 18px;
        /* Smaller title font size for mobile */
    }
}