.heading{
    margin-left: 2.5%;
    margin-right: 2.5%;
    font-size: 23px;
}

.tmrd{
    cursor: pointer;
}
.inpt_box{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-top: 27px;
}
.time-input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.time-input-group label {
    font-size: 12px;
    color: #555;
    margin-bottom: 3px;
    font-weight: bold;
}

/* --- Time Converter Modern Card Layout --- */
.time-converter-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f4f5f6; /* Soft, neutral light cool gray */
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e2e5e9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-top: 20px;
}
.time-card {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #dee2e6;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.time-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-color: #adb5bd;
}

.time-card-header {
    background-color: #333;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
}

.colm-1{
    width: 100%;
    margin-top: 15px;
} 

.colm-2{
    width: 100%;
    margin-top: 15px;
}

.time-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Search Input Enhancements --- */
.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 14px;
}

.city-search {
    width: 100%;
    padding: 9px 10px 9px 32px; /* Leaves room for search icon */
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.city-search:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.15);
}

.input-group-text{
    display: inline-block;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13px;
    color: #fff; /* White text for contrast against #333 header background */
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Select Dropdown Styling --- */
.sel-control {
    height: auto !important;
    padding: 6px;
    font-size: 14px;
    color: #343a40;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    width: 100%;
    outline: none;
}

.sel-control:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.15);
}

select.sel-control {
    height: 110px !important; /* Taller for easier multi-line visibility */
}

select.sel-control option {
    padding: 6px 8px;
    border-radius: 4px;
}

select.sel-control option:checked {
    background-color: #333;
    color: #fff;
}

/* --- Center Swap Button --- */
.col-cen {
    width: 100%;
    margin: 12px 0;
    text-align: center;
}

.swap-btn {
    background: #ffffff;
    border: 1px solid #ced4da;
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.swap-btn:hover {
    background: #333;
    border-color: #333;
    color: #fff;
    transform: translateY(-1px);
}

.cc_rslt{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    margin-left: 2.5%;
    margin-right: 2.5%;
    font-size: 23px;
}
a{
    cursor: pointer;
}
a:link {
    text-decoration:none;
}
a:visited {
    color: #000;
}
a:hover {
    text-decoration: underline;
}