.hr-us-timezone-converter{
--bg: #ffffff;
--muted: #6b7280;
--border: #e5e7eb;
--shadow: 0 10px 20px rgba(0,0,0,.06);
--radius: 14px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px;
box-shadow: var(--shadow);
}
.hrus-header h3{
margin: 0 0 6px 0;
}
.hrus-sub{
margin: 0 0 14px 0;
color: var(--muted);
font-size: 14px;
}
.timezone-input-section{
border-top: 1px solid var(--border);
padding-top: 14px;
}
.hrus-grid{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.hrus-field label{
display: block;
font-size: 13px;
margin-bottom: 6px;
color: #111827;
}
.hrus-span-2{ grid-column: span 2; }
.timezone-input, .timezone-select{
width: 100%;
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
font-size: 14px;
background: #fff;
}
.hrus-actions{
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
}
.convert-button{
border: 0;
border-radius: 12px;
padding: 10px 14px;
font-weight: 600;
cursor: pointer;
}
.convert-button.is-loading{
opacity: .7;
cursor: wait;
}
.secondary-button{
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 14px;
background: #fff;
cursor: pointer;
}
.hrus-error{
margin-top: 10px;
padding: 10px 12px;
border: 1px solid #fecaca;
background: #fff1f2;
color: #9f1239;
border-radius: 12px;
font-size: 14px;
}
.hrus-warning{
margin-top: 10px;
padding: 10px 12px;
border: 1px solid #fde68a;
background: #fffbeb;
color: #92400e;
border-radius: 12px;
font-size: 14px;
}
.conversion-results, .current-times{
margin-top: 16px;
border-top: 1px solid var(--border);
padding-top: 14px;
}
#results-content{
display: grid;
gap: 10px;
margin-top: 10px;
}
.hrus-result{
border: 1px solid var(--border);
border-radius: 14px;
padding: 12px;
background: #fff;
}
.hrus-result.is-pinned{
border-width: 2px;
}
.hrus-result.is-from{
opacity: .85;
}
.hrus-result-main{
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.hrus-result-name{
font-weight: 700;
}
.hrus-result-cities{
color: var(--muted);
font-size: 13px;
margin-top: 2px;
}
.hrus-result-dt{
text-align: right;
min-width: 92px;
}
.hrus-result-time{
font-size: 20px;
font-weight: 800;
line-height: 1.1;
}
.hrus-result-date{
color: var(--muted);
font-size: 13px;
margin-top: 2px;
}
.hrus-result-meta{
margin-top: 10px;
}
.hrus-chip{
display: inline-block;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--border);
font-size: 12px;
color: #111827;
background: #fafafa;
}
#current-times-display{
display: grid;
gap: 8px;
margin-top: 10px;
}
.hrus-now-row{
display:flex;
align-items:center;
justify-content: space-between;
gap: 12px;
border: 1px solid var(--border);
border-radius: 14px;
padding: 10px 12px;
}
.hrus-now-row.is-pinned{
border-width: 2px;
}
.hrus-now-name{ font-weight: 700; }
.hrus-now-cities{ color: var(--muted); font-size: 13px; margin-top: 2px; }
.hrus-now-time{ font-weight: 800; font-size: 16px; }
@media (max-width: 640px){
.hrus-grid{ grid-template-columns: 1fr; }
.hrus-span-2{ grid-column: span 1; }
.hrus-result-main{ flex-direction: column; align-items: flex-start; }
.hrus-result-dt{ text-align: left; }
}