table,th,td{
    border: 0;
    box-sizing: border-box;
    width: 100%;
}

#main-content-cell {
    vertical-align: top;
    /* text-align: center; */
    padding-top: 50px;
    width: 100%;
}

#main_content{
    background-color: transparent;
}

.main-container {
    display: inline-block;
    background-color: #f7f7f7;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 85%;
    /* min-width: 800px; */
    padding-bottom: 60px;
    margin: 0 auto;
}

#search_input {
    max-width: 90%;
}

/* iOS Install Instructions Styles */
#iosInstructions {
    display: none;
}

#iosInstructions > div {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 2px solid #003CA5;
    border-radius: 8px;
    padding: 15px;
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

#iosInstructions button {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

#iosInstructions .install-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#iosInstructions .install-header svg {
    width: 24px;
    height: 24px;
    fill: #003CA5;
    margin-right: 8px;
}

#iosInstructions .install-header strong {
    color: #003CA5;
}

#iosInstructions ol {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    padding-left: 16px;
    color: #333;
}

/* Links container styles */
.links-container {
    text-align: center;
    margin-top: 40px;
}

.epic-link {
    font-size: 1.5em;
    display: block;
    margin-bottom: 20px;
}

.epic-link.tips-link {
    margin-bottom: 20px;
}



.intranet-note {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 20px;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .main-container {
        /* width: 50%; */
        max-width: 700px;
    }

    #search_input {
        max-width: 98%;
    }
}

@media (max-width: 992px) {
    .main-container {
        width: 80%;
        min-width: 600px;
    }

    /* #side-nav-cell .logo-container {
        width: auto !important;
    }
    
    #logo {
        width: 220px !important;
    } */
}

@media (max-width: 768px) {
    .main-container {
        padding: 30px 15px;
        width: 90% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
        display: block !important;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 25px 15px;
        width: 100%;
        min-width: 0; /* Remove fixed min-width */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 20px 10px;
        width: 100%;
        min-width: 0; /* Remove fixed min-width */
        max-width: 100%;
        box-sizing: border-box;
    }
    .epic-link {
        font-size: 1.2em !important;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .main-container {
        padding: 15px 8px;
        width: 100%;
        min-width: 0;
        margin: 0;
    }
}

/* Search input styles */
#search_input {
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    #search_input {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    #search_input {
        font-size: 13px;
        padding: 5px 8px;
    }
}

@media (max-width: 480px) {
    #search_input {
        font-size: 12px;
        padding: 4px 6px;
        height: 36px !important; /* Override the height attribute */
    }
}

@media (max-width: 400px) {
    #search_input {
        font-size: 11px;
        height: 32px !important; /* Override the height attribute */
    }
}

/* Responsive placeholder text */
#search_input::placeholder {
    font-size: 16px; /* Default size */
    transition: font-size 0.2s ease;
}

/* Cross-browser support for placeholder styling */
/* For WebKit browsers (Chrome, Safari) */
#search_input::-webkit-input-placeholder {
    font-size: inherit;
    transition: font-size 0.2s ease;
}

/* For Firefox 19+ */
#search_input::-moz-placeholder {
    font-size: inherit;
    transition: font-size 0.2s ease;
    opacity: 1;
}

/* For IE 10+ */
#search_input:-ms-input-placeholder {
    font-size: inherit;
    transition: font-size 0.2s ease;
}

/* For Edge */
#search_input::-ms-input-placeholder {
    font-size: inherit;
    transition: font-size 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    
    #search_input::placeholder {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    
    #search_input::placeholder {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    
    #search_input::placeholder {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    
    #search_input::placeholder {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    
    #search_input::placeholder {
        font-size: 11px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    
    #search_input::placeholder {
        font-size: 10px;
    }
}

/* Install App Icon Styles */
#installApp {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: transparent;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    display: none; /* Hidden by default, shown when PWA is available */
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

#installApp:hover {
    background-color: rgba(0, 60, 165, 0.1);
    transform: scale(1.1);
}

#installApp svg {
    width: 28px;
    height: 28px;
    fill: #003CA5;
    transition: fill 0.3s ease;
}

#installApp:hover svg {
    fill: #002974;
}

@media (max-width: 768px) {
    #installApp {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    
    #installApp svg {
        width: 24px;
        height: 24px;
    }
}