@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --glass: rgba(255, 255, 255, 0.13);
    --glass-b: rgba(255, 255, 255, 0.28);
    --txt: #fff;
    --txt-soft: rgba(255, 255, 255, 0.72);
    --txt-muted: rgba(255, 255, 255, 0.45);
    --accent: #ffdd57;
    --pink: #ff6b9d;
    --blue: #4facfe;
    --r-xl: 26px;
    --r-lg: 18px;
    --r-md: 12px;
    --font-h: 'Space Grotesk', sans-serif;
    --font-b: 'Nunito', sans-serif;
}

/* ── BODY — solid fallback bg so file:// also looks good ── */
body {
    font-family: var(--font-b);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 16px 12px 60px;
    /* Solid gradient fallback — always visible even on file:// */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: background 1.2s ease;
    overflow-x: hidden;
}

/* Aurora orbs */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.25) 0%, transparent 70%);
    animation: auroraMove 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.2) 0%, transparent 70%);
    animation: auroraMove 16s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

@keyframes auroraMove {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(6vw, 4vh) scale(1.15);
    }
}

/* ── CONTAINER ── */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

/* ── GLASS CARD ── */
.glass-card {
    background: rgba(15, 20, 50, 0.55);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid var(--glass-b);
    border-radius: var(--r-xl);
    padding: 20px 16px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: var(--txt);
}

/* ── APP HEADER ── */
.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 16px;
}

.logo-spin {
    font-size: 1.6rem;
    animation: logoBounce 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes logoBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(8deg);
    }
}

.app-header h1 {
    font-family: var(--font-h);
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 20%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── SEARCH ── */
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid var(--glass-b);
    border-radius: 50px;
    padding: 11px 14px;
    transition: all .3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 221, 87, 0.2);
    transform: translateY(-1px);
}

.search-box .si {
    color: var(--txt-soft);
    font-size: 14px;
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
}

.search-box input::placeholder {
    color: var(--txt-muted);
}

.sbtn {
    flex-shrink: 0;
    background: var(--accent);
    border: none;
    cursor: pointer;
    color: #3d2c00;
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s ease;
    box-shadow: 0 2px 8px rgba(255, 221, 87, 0.35);
}

.sbtn:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 4px 14px rgba(255, 221, 87, 0.5);
}

/* ── BUTTONS ── */
.btn-row {
    display: flex;
    gap: 9px;
    margin-top: 9px;
}

.btn-loc,
.btn-unit {
    flex: 1;
    padding: 9px 8px;
    border: 1.5px solid var(--glass-b);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-b);
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all .25s ease;
    min-width: 0;
}

.btn-loc {
    background: linear-gradient(135deg, rgba(255, 107, 157, .55), rgba(255, 107, 157, .28));
}

.btn-loc:hover {
    background: linear-gradient(135deg, #ff6b9d, #e91e8c);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 107, 157, .4);
}

.btn-unit {
    background: linear-gradient(135deg, rgba(79, 172, 254, .55), rgba(79, 172, 254, .28));
}

.btn-unit:hover {
    background: linear-gradient(135deg, #4facfe, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 172, 254, .4);
}

/* ── WELCOME ── */
.welcome-msg {
    text-align: center;
    padding: 36px 12px;
    animation: fadeUp .6s ease;
}

.welcome-blob {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(255, 221, 87, .28), rgba(255, 107, 157, .22));
    border-radius: 40% 60% 55% 45%/45% 55% 45% 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 2.8rem;
    animation: morphBlob 7s ease-in-out infinite, bobble 4s ease-in-out infinite;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.welcome-msg h2 {
    font-family: var(--font-h);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.welcome-msg p {
    color: var(--txt-soft);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

/* ── LOADER ── */
.loader {
    text-align: center;
    padding: 44px 0;
    animation: fadeUp .3s ease;
}

.loader-ring {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border: 3px solid rgba(255, 255, 255, .12);
    border-top-color: var(--accent);
    border-right-color: var(--pink);
    border-radius: 50%;
    animation: spin .85s linear infinite;
}

.loader p {
    color: var(--txt-soft);
    font-size: 13px;
    font-weight: 700;
}

.dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, .6);
    border-radius: 50%;
    margin: 0 2px;
    animation: dotP 1.2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: .2s;
}

.dot:nth-child(3) {
    animation-delay: .4s;
}

@keyframes dotP {

    0%,
    100% {
        opacity: .3;
        transform: scale(.8)
    }

    50% {
        opacity: 1;
        transform: scale(1.25)
    }
}

/* ══════════════════════════════════════════════
   WEATHER MAIN — Mobile: vertical flex
══════════════════════════════════════════════ */
.weather-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeUp .5s ease;
}

/* ── LEFT COL (city, icon, temp, sun) ── */
.left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.city-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    width: 100%;
}

.city-pill .cpill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-h);
}

.city-pill .local-badge {
    background: linear-gradient(135deg, rgba(67, 233, 123, .3), rgba(79, 172, 254, .2));
    border: 1px solid rgba(67, 233, 123, .4);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 800;
    color: #fff;
}

.main-icon-blob {
    width: 108px;
    height: 108px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border-radius: 40% 60% 55% 45%/45% 55% 45% 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 3.4rem;
    line-height: 1;
    animation: morphBlob 8s ease-in-out infinite, bobble 3.5s ease-in-out infinite;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .15);
    border: 1.5px solid rgba(255, 255, 255, .18);
}

.temp-big {
    font-family: var(--font-h);
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    letter-spacing: -2px;
}

.temp-big sup {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
    letter-spacing: 0;
}

.desc-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    margin: 7px auto 4px;
    width: fit-content;
}

.feels-row {
    text-align: center;
    font-size: 12px;
    color: var(--txt-soft);
    font-weight: 600;
    margin-bottom: 10px;
    width: 100%;
}

/* Sun row */
.sun-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 221, 87, .14), rgba(255, 160, 0, .07));
    border: 1px solid rgba(255, 221, 87, .25);
    border-radius: var(--r-lg);
    padding: 12px 10px;
    width: 100%;
}

.sun-item {
    text-align: center;
}

.sun-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 2px;
}

.sun-time {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 700;
}

.sun-label {
    font-size: 10px;
    color: var(--txt-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.sun-div {
    font-size: 1rem;
    opacity: .35;
    letter-spacing: 3px;
}

/* ── RIGHT COL (stats) ── */
.right-col {
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.stat-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-lg);
    padding: 13px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--pink));
    opacity: 0;
    transition: opacity .25s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-emoji {
    font-size: 1.35rem;
    line-height: 1;
}

.stat-label {
    font-size: 9.5px;
    color: var(--txt-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight: 800;
}

.stat-value {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.stat-sub {
    font-size: 11px;
    color: var(--txt-soft);
    font-weight: 600;
}

.bar-wrap {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, .1);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .9s cubic-bezier(.34, 1.56, .64, 1);
}

/* ── FULL ROW (hourly + forecast) ── */
.full-row {
    width: 100%;
}

.sec-title {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--txt-soft);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.sec-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .1);
    border-radius: 2px;
}

/* Hourly */
.hourly-scroll {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.hourly-scroll::-webkit-scrollbar {
    display: none;
}

.hr-card {
    flex: 0 0 58px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-md);
    padding: 9px 5px;
    text-align: center;
    transition: all .2s ease;
    scroll-snap-align: start;
}

.hr-card:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-3px);
}

.hr-card.now {
    background: linear-gradient(135deg, rgba(255, 221, 87, .25), rgba(255, 107, 157, .15));
    border-color: rgba(255, 221, 87, .4);
}

.hr-time {
    font-size: 9.5px;
    color: var(--txt-soft);
    font-weight: 800;
}

.hr-icon {
    font-size: 1.25rem;
    margin: 3px 0;
    line-height: 1;
}

.hr-tmp {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 13px;
}

.hr-rain {
    font-size: 9px;
    color: var(--blue);
    font-weight: 700;
    margin-top: 1px;
}

/* Forecast */
.forecast-scroll {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.forecast-scroll::-webkit-scrollbar {
    display: none;
}

.fc-card {
    flex: 0 0 70px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-md);
    padding: 11px 7px;
    text-align: center;
    transition: all .22s ease;
    cursor: default;
    scroll-snap-align: start;
}

.fc-card:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.fc-day {
    font-size: 10.5px;
    color: var(--txt-soft);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fc-icon {
    font-size: 1.55rem;
    margin: 3px 0;
    line-height: 1;
}

.fc-hi {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 13.5px;
}

.fc-lo {
    font-size: 10.5px;
    color: var(--txt-soft);
    font-weight: 600;
}

/* ── DATE TIME ── */
.date-time {
    text-align: center;
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-md);
}

.dt-date {
    font-size: 10.5px;
    color: var(--txt-soft);
    font-weight: 700;
    letter-spacing: .3px;
}

.dt-time {
    font-family: var(--font-h);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.25;
}

/* ── ERROR ── */
.error-msg {
    text-align: center;
    padding: 36px 12px;
    animation: fadeUp .4s ease;
}

.error-blob {
    width: 76px;
    height: 76px;
    background: rgba(255, 100, 100, .18);
    border: 1px solid rgba(255, 100, 100, .3);
    border-radius: 40% 60% 55% 45%/45% 55% 45% 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 2rem;
    animation: morphBlob 6s ease-in-out infinite;
}

.error-msg p {
    color: #ffaaaa;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
}

.retry-btn {
    margin-top: 12px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-b);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .22s ease;
}

.retry-btn:hover {
    background: rgba(255, 255, 255, .22);
    transform: translateY(-1px);
}

/* ── SHAKE ── */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    20%,
    60% {
        transform: translateX(-5px)
    }

    40%,
    80% {
        transform: translateX(5px)
    }
}

.shake {
    animation: shake .4s ease;
}

/* ══════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════ */
@keyframes morphBlob {

    0%,
    100% {
        border-radius: 40% 60% 55% 45%/45% 55% 45% 55%;
    }

    33% {
        border-radius: 60% 40% 45% 55%/55% 45% 55% 45%;
    }

    66% {
        border-radius: 50% 50% 60% 40%/40% 60% 50% 50%;
    }
}

@keyframes bobble {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-7px) scale(1.04)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* ── Small mobile ── */
@media (max-width: 380px) {
    .glass-card {
        padding: 16px 12px 20px;
    }

    .temp-big {
        font-size: 4rem;
    }

    .main-icon-blob {
        width: 88px;
        height: 88px;
        font-size: 2.8rem;
    }

    .app-header h1 {
        font-size: 1.1rem;
    }
}

/* ── Large mobile / tablet padding ── */
@media (min-width: 480px) and (max-width: 899px) {
    body {
        padding: 28px 20px 60px;
    }

    .glass-card {
        padding: 24px 20px 26px;
    }
}

/* ══════════════════════════════════════════════
   DESKTOP (≥900px) — Horizontal split layout
══════════════════════════════════════════════ */
@media (min-width: 900px) {

    body {
        padding: 32px 24px 64px;
        align-items: flex-start;
    }

    .container {
        max-width: 820px;
    }

    .glass-card {
        padding: 30px 26px 34px;
    }

    /* 2-column grid: left | right */
    .weather-main {
        display: grid;
        grid-template-columns: 1fr 1.15fr;
        grid-template-rows: auto auto;
        column-gap: 26px;
        row-gap: 18px;
        align-items: start;
    }

    /* Left col — row 1 */
    .left-col {
        grid-column: 1;
        grid-row: 1;
        align-items: center;
    }

    /* Right col — row 1 */
    .right-col {
        grid-column: 2;
        grid-row: 1;
    }

    /* Stats 2-col on desktop */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Full row — spans both columns, row 2 */
    .full-row {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .full-row+.full-row {
        grid-row: 3;
    }

    /* Bigger elements */
    .temp-big {
        font-size: 5.6rem;
    }

    .main-icon-blob {
        width: 120px;
        height: 120px;
        font-size: 3.8rem;
    }

    /* Sun row no bottom margin — right col handles spacing */
    .sun-row {
        margin-bottom: 0;
    }
}

/* ── Extra wide — 3-col stats ── */
@media (min-width: 1100px) {
    .container {
        max-width: 980px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
/* ───────── MAIN WEATHER LAYOUT SPACING FIX ───────── */

/* Mobile default */
.weather-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Better section spacing */
.left-col,
.right-col,
.full-row {
    width: 100%;
}

/* Sun row spacing */
.sun-row {
    margin-top: 8px;
}

/* Stats section spacing */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Full rows spacing */
.full-row {
    margin-top: 6px;
}

/* Section title consistency */
.sec-title {
    margin-top: 4px;
    margin-bottom: 10px;
}

/* Forecast spacing */
.forecast-scroll {
    margin-top: 4px;
}

/* Hourly spacing */
.hourly-scroll {
    margin-top: 4px;
}

/* Desktop refined spacing */
@media (min-width: 900px) {
    .weather-main {
        display: grid;
        grid-template-columns: 1fr 1.15fr;
        grid-template-areas:
            "left right"
            "hourly hourly"
            "forecast forecast";
        column-gap: 30px;
        row-gap: 24px;
        align-items: start;
    }

    .left-col {
        grid-area: left;
    }

    .right-col {
        grid-area: right;
        gap: 18px;
    }

    .full-row.hourly-section {
        grid-area: hourly;
    }

    .full-row.forecast-section {
        grid-area: forecast;
    }

    .stats-grid {
        gap: 12px;
    }

    .sun-row {
        margin-top: 14px;
    }

    .full-row {
        margin-top: 0;
    }
}

/* Ultra-wide cleanup */
@media (min-width: 1100px) {
    .weather-main {
        column-gap: 36px;
        row-gap: 28px;
    }

    .stats-grid {
        gap: 14px;
    }
}
/* ── BUTTON ROW FIX (Desktop overlap issue) ── */
.btn-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
    flex-wrap: wrap;
    /* prevents overlap */
}

.btn-loc,
.btn-unit {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    white-space: nowrap;
    text-align: center;
}

/* Desktop specific fix */
@media (min-width: 900px) {
    .btn-row {
        flex-wrap: nowrap;
        gap: 14px;
        margin-bottom: 12px;
    }

    .btn-loc,
    .btn-unit {
        flex: 1;
        padding: 12px 14px;
        font-size: 13px;
    }
}