﻿/* Responsive Media Queries For AgencyDetails */

/* Extra Small Devices (Phones - up to 575px) */
@media screen and (max-width: 575px) {
    .modal-dialog {
        margin: 10px !important;
        max-width: 95% !important;
    }

    .modal-content {
        width: 100% !important;
    }

    .breadcrumb {
        padding: 5px;
        font-size: 0.8rem;
    }

    .card-body {
        padding: 10px;
    }

    .form-control {
        font-size: 0.9rem;
    }

    .btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .row > div {
        margin-bottom: 10px;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    #AgencyList {
        font-size: 0.7rem;
    }

    .suggestion-list {
        max-height: 100px;
    }

    #pagination {
        flex-direction: column;
        align-items: center;
    }

        #pagination .row {
            width: 100%;
            justify-content: center !important;
        }

    .dropdown-arrow {
        right: 5px;
        font-size: 14px;
    }
}

/* Small Devices (Landscape Phones - 576px to 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
    .modal-dialog {
        margin: 20px !important;
        max-width: 90% !important;
    }

    .modal-content {
        width: 100% !important;
    }

    .card-body {
        padding: 15px;
    }

    .form-control {
        font-size: 0.95rem;
    }

    #AgencyList {
        font-size: 0.8rem;
    }

    .suggestion-list {
        max-height: 120px;
    }
}

/* Medium Devices (Tablets - 768px to 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .modal-dialog {
        max-width: 80% !important;
    }

    .modal-content {
        width: 100% !important;
    }

    .card-body {
        padding: 20px;
    }

    #AgencyList {
        font-size: 0.9rem;
    }
}

/* Large Devices (Desktops - 992px to 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .modal-dialog {
        max-width: 85% !important;
    }
}

/* Extra Large Devices (Large Desktops - 1200px and above) */
@media screen and (min-width: 1200px) {
    .modal-dialog {
        max-width: 90% !important;
    }
}

/* Landscape Orientation Adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .modal-dialog {
        margin-top: 20px !important;
    }

    .suggestion-list {
        max-height: 80px;
    }
}

}



/*e2elayout*/

@media (min-width: 992px) {
    .navbar-collapse {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Mobile view styles */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

        .navbar-collapse.show {
            max-height: 500px; /* Adjust this value as needed */
        }
}

/*Index*/


@media (max-width: 992px) {
    .carousel-caption

{
    left: 5%;
    right: 5%;
    bottom: 2rem;
    width: auto; /* Let the width adjust automatically */
    padding: 15px 10px; /* Reduce padding for smaller screens */
    text-align: center; /* Center-align the text for smaller screens */
}

.carousel-caption h1 {
    font-size: 40px; /* Adjust font size for smaller screens */
    line-height: 1.2em;
}

.carousel-caption ul li a {
    font-size: 16px; /* Adjust button font size */
    padding: 10px 20px; /* Adjust button padding */
}

}
