/* =========================================================
   GLOBAL VISIBILITY STYLES
   ========================================================= */

/* Hide on tablet and desktop (iPad and larger) */
#loginMobile,
#myAccountMobile {
    display: none;
}

/* =========================================================
   MOBILE VISIBILITY (screens smaller than 768px)
   ========================================================= */
@media (max-width: 767px) {

    /* Not logged in: show login only */
    body.user-logged-out #loginMobile {
        display: block;
        background-color: #f4f5ff;
    }

    /* Logged in: show account only */
    body.user-logged-in #myAccountMobile {
        display: block;
        background-color: #f4f5ff;
    }

    /* Optional hover state */
    #loginMobile:hover,
    #myAccountMobile:hover {
        background-color: #d5dfff;
    }
}

/* =========================================================
   INFO SQUARE STYLES
   ========================================================= */

.info-square {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: flex-start;

    width: 100%;
    height: 100% !important;
    max-width: 100% !important;

    padding: 10px;
    box-sizing: border-box;

    background-color: #ffffff;
    border: none;
    border-radius: 6px;
    text-align: left;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: background-color 0.3s ease-in-out;
}

.info-square:hover {
    background-color: #f4f5ff;
}

/* ----- Icon ----- */
.info-square img {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
}

/* ----- Title ----- */
.info-square h3 {
    color: #000000;
    font-weight: 500;
    font-size: 20px;
    margin: 0 0 8px;
}

/* ----- Paragraph ----- */
.info-square p {
    color: #c5c5c5;
    font-size: 16px;
    margin: 0;
}

/* =========================================================
   RESPONSIVE STYLES
   ========================================================= */

/* ---------- Mobile (max-width: 900px) ---------- */
@media (max-width: 900px) {
    .info-square {
        padding: 8px;
        width: 100%;
        height: auto !important;
    }

    .info-square img {
        width: 25px !important;
        height: 25px !important;
        margin-bottom: 10px;
    }

    .info-square h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .info-square p {
        font-size: 14px;
    }
}

/* ---------- Tablet (601px to 1024px) ---------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .info-square {
        padding: 12px;
        width: 100%;
    }

    .info-square img {
        width: 26px !important;
        height: 26px !important;
        margin-bottom: 10px;
    }

    .info-square h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .info-square p {
        font-size: 14px;
    }
}