/*
    Three responsive classes:
        small/mobile: up to 40rem
        medium: between 40rem and 60rem
        large: above 60rem
*/

/* MOBILE SCREEN */
@media (max-width: 60rem) {

    #mobile {
        display: none !important;
    }
    #tablet {
        display: none !important;
    }
    #desktop {
        display: none !important;
    }

    /*
    .container {
        max-width: 100% !important;
        margin: 0 0 !important;
        padding: 0 0px !important;
    }
    */

    .dialog {
        width: 90%;
    }

    .page-banner {
        margin: 0px;
        padding: 0px;
    }

    .page-banner-image {
        display: block;
        position: absolute;
        right: 0 !important;
        z-index: 2;
        max-height: 1600px !important;
        width: 200% !important;
        filter: brightness(40%) !important;
        max-width: 200% !important;
    }

    .page-banner-title {
        font-size: 1.5rem !important;
        text-transform: none !important;
    }

    .page-banner-subtitle {
        font-size: 0.9rem !important;
    }

    .page-banner-menu {
        font-size: 1.0rem !important;
    }

    .modal {
        border-radius: 0px !important;
        width: 100vh;
        height: 100%;
        max-height: 100vh;
        max-width: 100%;
    }

    .modal-header, .modal-footer {
        border-radius: 0px !important;
    }

    .modal-header h2 {
        font-size: 1.4rem !important;
    }

    .form-group {
        flex-basis: 100%;
        flex-grow: 1;
    }
    
    .top-bar {
        display: none;
    }

    main {
        width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        padding: 0 5px;
    }
    
    .main-header .container {
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 15px;
    }

    .action-card {
        padding: 10px !important;
        font-size: 0.9rem !important;
        flex-basis: calc(50% - 50px);
        flex-grow: 1; /* Remove? */
    }

    .action-icon {
        height: 64px;
    }

    .card-header {
        padding: 10px !important;
    }

    .card-header > h4 {
        font-size: 1em !important;
    }

    .mypages-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 0;
    }

    .mypages-menu > a {
        font-size: 1.1rem;
        text-align: center;
    }

    .page-banner-title-normal {
        display: none;
    }

    .page-banner-title-mobile {
        display: block;
    }
    
    .subscription-card {
        flex-basis: 100%;
        flex-grow: 1; /* Remove? */
    }

    .btn-action:hover > span {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
}

/* TABLET SCREEN */
@media (min-width: 60rem) and (max-width: 80rem){

    #mobile {
        display: none !important;
    }
    #tablet {
        display: none !important;
    }
    #desktop {
        display: none !important;
    }

    /*
    .container {
        max-width: 60rem;
        margin: 0 auto;
        padding: 0 20px;
    }
    */

    .subscription-card {
        flex-basis: calc(50% - 50px);
        flex-grow: 1; /* Remove? */
    }

    .action-grid {
        justify-content: center;
    }

    .action-card {
        padding: 10px !important;
        font-size: 0.9rem !important;
        flex-basis: calc(33% - 50px);
        flex-grow: 0; /* Remove? */
    }
}

/* DESKTOP SCREEN */
@media (min-width: 80rem) {
    #mobile {
        display: none !important;
    }
    #tablet {
        display: none !important;
    }
    #desktop {
        display: none !important;
    }

    /*
    .container {
        max-width: 80rem;
        margin: 0 auto;
        padding: 0 20px;
    }
        */

    .profile-header-image, .welcome-banner-image {
        display: block;
        position: absolute;
        top: -40;
        right: 0;
        z-index: 2;
        max-height: 300px;
    }



}

/*
@media (min-width: 800px) {
    .profile-header-image {
        display: block;
        position: absolute;
        top: -40;
        right: 0;
        z-index: 2;
        max-height: 300px;
    }
    .welcome-banner-image {
        display: block;
        position: absolute;
        top: -40;
        right: 0;
        z-index: 2;
        max-height: 300px;
    }
}
*/
/*
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-header > .container > .main-nav,
    .main-header > .container > .user-menu {
        display: none;
    }

    .menu-open {
        overflow: hidden;
    }
}
*/

/*
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .top-links {
        margin-top: 5px;
    }
    
    .logo-img {
        height: 35px;
    }
}
    */
/*
@media (max-width: 799px) {
    .profile-header-content {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin: 5px 0 10px 0 !important;
    }

    .profile-info h1 {
        margin: 0 0 0 0;
    }
    .welcome-banner-content {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
    .subscription-cards {
        grid-template-columns: 100% !important;
    }
}
    */


/*
@media (max-width: 1200px) {
    .top-bar {
        display: none;
    }

    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    main {
        width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        padding: 0 5px;
    }
    
    .main-header .container {
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 15px;
    }

    .action-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .action-card {
        padding: 10px;
    }

    .billogram-icon,
    .troubleshooting-icon,
    .moving-icon,
    .contactus-icon {
        height: 48px;
    }
    
    .main-nav,
    .user-menu {
        display: none;
    }
    
    .mobile-header-buttons {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    
    .mobile-header-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0;
        position: relative;
    }
    
    .mobile-header-btn:first-child {
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3),
                    0 0 15px rgba(255, 255, 255, 0.4);
    }
    
    .mobile-header-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .mobile-header-btn span {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo-img {
        max-height: 40px;
    }
    
    .header .container {
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .user-menu {
        margin-top: 10px;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .subscription-cards {
        grid-template-columns: minmax(350px, 50%) repeat(auto-fill, 50%) 50%;
    }
}
*/