/* using this file for mobile specific media queries on Agency and Vendor side */
@media only screen and (max-width: 700px) {
    /* NOTIFICATIONS ============================================== */
    #notificationFlashContainer,
    #notificationFlashWrapper {
        width: 95% !important;
    }
    .session-notification-wrapper {
        width: 100% !important;
    }
    #notificationFlash {
        width: 100% !important;
    }

    /* GENERAL LAYOUT ============================================== */
    #content {
        padding: 8px !important;
    }
    .fieldSetData,
    .fieldset-margin {
        margin-bottom: 12px !important;
        padding-bottom: 0px !important;
    }
    .auto-width {
        width: 95%;
        margin: 0 2.5%;
    }

    fieldset.fldWarning {
        margin-top: 10px !important;
    }

    .legend {
        font-size: 18px;
        padding: 10px;
        margin-bottom: 5px;
        min-height: fit-content;
    }

    .tabcontent {
        padding: 10px;
    }

    .fieldSetData {
        margin: 10px;
    }

    label {
        font-size: 14px;
    }

    /* Dashboard Cards ============================================== */
    .stretch-card {
        margin: 10px !important;
        padding-left: 0;
        padding-right: 0;
    }
    .card .card-body {
        min-height: 80px !important;
    }
    .card-body {
        padding: 5px 10px !important;
        margin-top: 10px;
    }
    .hed {
        right: 20px !important;
        top: 10px !important;
    }

    /* Campaign Cards ============================================== */
    .header-card {
        padding: 5px;
        width: 100%;
        justify-content: flex-start;
    }

    .icon-container {
        width: 50px;
        min-width: auto;
    }

    .header-item-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
        padding: 0.6em;
    }

    .header-item-title {
        font-size: 14px !important;
        margin-bottom: 0px !important;
    }

    .header-item-value {
        font-size: 15px;
        display: flex;
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
    }
    .campaign-status {
        font-size: 15px;
        margin-left: 5px;
    }

    .header-container {
        margin-top: 0px !important;
        margin-bottom: 5px !important;
        padding-top: 0px !important;
    }

    /* Campaign Menu ============================================== */
    .tab span:not(.btn-text):not(.sub-tablinks),
    .tab a {
        padding: 6px 8px !important;
        font-size: 12px !important;
        margin-bottom: 2px;
        height: 35px;
    }

    .dropdown-toggle-btn,
    .sub-tablinks {
        padding: 0px !important;
        font-size: 11px !important;
    }

    .tablinks#pop-tracker,
    .tablinks#geopath {
        padding: 6px;
    }

    .tablinks#pop-tracker img,
    .tablinks#geopath img {
        height: auto;
    }

    .tablinks#pop-tracker img {
        width: 40px;
        height: auto;
    }

    .tablinks#geopath img {
        width: 70px;
        height: auto;
    }

    /* Campaign Info / Text ============================================== */
    .tips-list {
        padding-left: 10px;
        text-align: justify;
    }
    .tips-header-container {
        margin-left: 10px;
    }
    .tips-header-container h4 {
        margin-bottom: 10px !important;
        font-size: 16px;
    }
    .upload-btn-container {
        flex-direction: column;
    }
    #gridMenuContainer .fa {
        display: none;
    }
    #financialTable thead tr td {
        font-size: 17px !important;
    }
    .toggleExtraFinancialData {
        padding: 3px 6px !important;
    }
    .row-btn-container-split {
        width: 100%;
        flex-direction: row;
        justify-content: space-between !important;
    }
    .selectDiv-btns-media {
        margin-top: 7px;
    }
    #customSearch,
    #pbdIdSearch,
    #pKeySearch {
        width: 100%;
    }
    
    /* RFP tablinks container mobile responsiveness */
    .rfp-tablinks-container .width-50 {
        width: 100% !important;
        flex-direction: row;
    }
    
    .rfp-tablinks-container .flex {
        flex-direction: row !important;
        align-items: center !important;
    }
    
    .rfp-tablinks-container .flex-end {
        align-items: center !important;
        margin-top: 10px;
    }
    
    .rfp-tablinks-container .flex-wrap {
        justify-content: center !important;
    }
    
    .tablinks {
        max-height: 35px !important;
    }
    

    /* Insertion Orders */
    .contact-search-container { 
        margin: 5px; 
    }
    .contract-controls-container { 
        justify-content: center; 
    }
    
    /* POP Tracker Settings Tab */
    .popt-tab.popt-settings-tab {
        flex-direction: column;
    }
    
    /* Ensure Extras dropdown opens directly under the Extras button on mobile */
    .dropdown-wrapper .dropdown-menu {
        /* position: absolute !important; */
        top: 0px !important;
        right: 35px !important;
        /* transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important; */
    }
}


