
/* Simple Navigation Bar Styles */
.fs_tz_simple_nav {
    text-align: center;
    padding: 2px;
    margin-bottom: 2px;
}

.nav-links {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    margin: 0 2px;
    font-size: 14px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links a:not(:last-child):after {
    content: " |";
    color: #666;
}

/* Responsive layout - Two column grid for mobile */
@media (max-width: 768px) {
    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 2px;
    }
    
    .nav-links a {
        margin: 0;
        padding: 5px;
        border: 1px solid #ddd;
        text-align: center;
        display: block;
    }
    
    /* Remove separator in mobile view */
    .nav-links a:after {
        display: none;
    }
}



/* Modern styling for the timezone converter */
.fs_tz_timezone_converter {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Timezone Info Container */
.fs_tz_info_container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.fs_tz_timezone {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.fs_tz_timezone h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.4em;
}

.fs_tz_details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fs_tz_time_block {
    font-size: 1.2em;
    color: #34495e;
}

.fs_tz_time_block span {
    display: block;
    margin: 5px 0;
}

.fs_tz_location_block p {
    margin: 5px 0;
    color: #7f8c8d;
}

/* Time Difference Box */
.fs_tz_time_difference {
    background: #e9ecef;
    padding: 0px ;
    border-radius: 8px;
    margin: 0px 0;
}

.fs_tz_time_difference h4 {
    color: #2c3e50;
    margin: 0 0 2px 0;
    font-size: 1.4em;
}

/* Converter Forms */
.fs_tz_time_convert {
    margin: 30px 0;
}

.converter_section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    /* Center align all content */
}

.converter_section h4 {
    color: #2c3e50;
    margin: 0 0 15px 0;
}

.time_input_group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center; 
}

.time_inputs {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 5px;
}

.time_inputs input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1em;
    text-align: center;
}

.ampm_group {
    display: flex;
    gap: 15px;
     justify-content: center;
}

.ampm_group label {
    cursor: pointer;
}

.conversion_output {
    padding: 10px;
    background: white;
    border-radius: 4px;
    min-width: 200px;
     margin: 0 auto; /* Center the output box */
    text-align: center;
}

/* Time Comparison Table */
#time-comparison-container {
    margin-top: 5px;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}





#time-comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fs_tz_info_container {
        flex-direction: column;
    }

    .time_input_group {
        flex-direction: column;
        align-items: flex-start;
    }

    .conversion_output {
        width: 100%;
    }
    
    .converter_section h4 {
        text-align:center;
    }
}



.fs_tz_info_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.timezone-equals {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
    padding: 0 5px;
}

/* Horizontal Converters Layout */
.converters_row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.converter_section {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.time_input_group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.time_inputs {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .converters_row {
        flex-direction: column;
    }
    
    .converter_section {
        width: 100%;
    }

    .fs_tz_info_container {
        flex-direction: column;
    }

}

/* Additional styling for time display */
.fs_tz_time_block {
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 600;
    text-align: center;
}

.fs_tz_time_block span {
    display: inline-block;
    margin: 5px 10px;
}

/* Improved form styling */
.time_inputs input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-align: center;
    font-size: 1em;
}

.ampm_group {
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

.conversion_output {
    padding: 10px 15px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    flex-grow: 1;
}

/* Make sure the outputs align properly */
#fs_tz_output_1, #fs_tz_output_2 {
    min-width: 200px;
}


.fs_tz_info_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Allow horizontal scroll if needed */
}

.fs_tz_timezone {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timezone-equals {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
    padding: 0 10px;
    flex-shrink: 0; /* Prevent equals sign from shrinking */
}


.time-difference-heading {
    background: #213555; /* Attractive blue color */
    color: #FFF;
    text-align: center;
    padding: 10px;
    margin: -5px -5px 5px -5px; /* Negative margin to stretch to edges */
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



.timezone-heading {
    background: #213555; /* Attractive blue color */
    color: #FFF;
    text-align: center;
    padding: 10px;
    margin: -15px -15px 15px -15px; /* Negative margin to stretch to edges */
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}