/* Mobile */
@media only screen and (max-width: 767px) {
    .container {
        width: 100% !important;
        padding: 10px;
    }

    #language-toggle {
        top: 20px;
        left: 10px;
        font-size: 12px;
    }

    .language-toggle-arabic {
        top: 137px ! important;
        left: -123px ! important;
        font-size: 15px ! important;
    }

    header h1 {
        font-size: 18px;
        text-align: center;
    }

    header p {
        font-size: 12px;
        text-align: center;
    }

    main h2 {
        font-size: 16px;
        margin-top: 10px;
    }

    .action-button {
        width: 100% !important;
        font-size: 18px;
        padding: 10px;
    }

    .form-group {
        width: 100% !important;
        margin: 0 auto;
    }

    .span-or {
        font-size: 30px !important;
        display: block;
        text-align: center;
        margin: 20px 0;
    }

    .logo {
        width: 200px;
        margin: 0 auto;
        display: block;
    }

    #welcome-text {
        font-size: 28px;
        text-align: center;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
        font-size: 20px !important;
    }

    div.iti.iti--allow-dropdown.iti--separate-dial-code {
        width: 100% !important;
        background-color: #fff;
        font-size: 18px;
        padding: 5px !important;
    }

    .width-680 {
        width: 100% !important;
    }

    #select-companion {
        margin-left: 0px;
        font-size: 14px;
    }

    .border-bottom-1 {
        border-bottom: 1px solid gainsboro !important;
        margin-left: 0px;
    }

    /* Adjust visibility for mobile */
    .laptop-block {
        display: none !important;
    }

    .laptop-none {
        display: none !important;
    }

    .companion-card {
        border: 1px solid #ddd;
        padding: 8px;
        border-radius: 5px;
        width: 100%;
        font-size: 12px !important;
        background-color: #f9f9f9;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .companions-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center !important;
        margin-bottom: 15px;
    }
}

/* Laptop */
@media only screen and (min-width: 768px) and (max-width: 820px) {
    .container {
        width: 630px ! important;
    }

    #language-toggle {
        top: 50px;
        left: 30px;
    }

    header h1 {
        font-size: 24px;
    }

    header p {
        font-size: 14px;
    }

    main h2 {
        font-size: 18px;
    }

    .action-button {
        width: 400px !important;
        font-size: 22px;
    }

    .form-group {
        width: 500px !important;
    }

    .span-or {
        font-size: 40px !important;
    }

    .logo {
        width: 300px;
    }

    #welcome-text {
        font-size: 35px;
    }

    .buttons {
        flex-direction: row;
        font-size: 26px !important;
    }

    div.iti.iti--allow-dropdown.iti--separate-dial-code {
        width: 400px ! important;
        background-color: #fff;
        font-size: 20px;
        padding: 0 ! important;
    }

    .width-680 {
        width: 600px !important;
    }

    #select-companion {
        margin-left: 0px;
    }

    .border-bottom-1 {
        border-bottom: 1px solid gainsboro !important;
        margin-left: 0px;
    }

    /* Laptop Display block */
    .laptop-block {
        display: none ! important;
    }

    .laptop-none {
        display: black ! important;
    }

    .companion-card {
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
        width: 240px;
        font-size: 12px ! important;
        background-color: #f9f9f9;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .companions-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center ! important;
        /* text-align: center; */
        margin-bottom: 20px;
        /* width: 80%; */
    }




}