/* =====================================================
   PUNCH APP
   PREMIUM MOBILE ATTENDANCE UI
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

    scroll-behavior: smooth;
}

body {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Helvetica Neue",
        Arial,
        sans-serif;

    background: #f4f7fb;

    color: #172033;

    overflow-x: hidden;

    padding-top:
        env(safe-area-inset-top);

    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}


/* =====================================================
   APP
===================================================== */

.app {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    padding-bottom:
        calc(92px + env(safe-area-inset-bottom));
}


/* =====================================================
   HEADER
===================================================== */

.app-header {
    position: relative;

    width: 100%;

    min-height: 145px;

    padding:
        24px
        18px
        28px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #2872f0 0%,
            #2563eb 45%,
            #1d4ed8 100%
        );

    border-radius:
        0 0 32px 32px;

    box-shadow:
        0 12px 32px rgba(37, 99, 235, .20);
}


/* =====================================================
   HEADER DECORATION
===================================================== */

.header-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.header-decoration-one {
    width: 260px;
    height: 150px;

    right: -80px;
    top: -100px;

    background:
        rgba(255, 255, 255, .07);
}

.header-decoration-two {
    width: 230px;
    height: 100px;

    left: 70px;
    bottom: -75px;

    background:
        rgba(255, 255, 255, .06);
}


/* =====================================================
   HEADER USER
===================================================== */

.header-user {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}


/* =====================================================
   AVATAR
===================================================== */

.user-avatar {
    flex: 0 0 auto;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .22);

    border:
        2px solid rgba(255, 255, 255, .65);

    color: #fff;

    font-size: 22px;

    font-weight: 800;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .10);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


/* =====================================================
   USER INFO
===================================================== */

.user-info {
    min-width: 0;
}

.welcome-text {
    font-size: 14px;

    line-height: 1.2;

    font-weight: 500;

    color: rgba(255, 255, 255, .85);

    margin-bottom: 4px;
}

.welcome-emoji {
    margin-left: 3px;
}

.app-header h2 {
    font-size: 24px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -.5px;

    color: #fff;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.header-email {
    margin-top: 5px;

    max-width: 235px;

    font-size: 13px;

    line-height: 1.2;

    color:
        rgba(255, 255, 255, .80);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =====================================================
   LOGOUT
===================================================== */

.logout-btn {
    position: relative;

    z-index: 10;

    flex: 0 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 2px;

    width: 68px;
    height: 60px;

    border-radius: 16px;

    color: #fff;

    background:
        rgba(255, 255, 255, .14);

    border:
        1px solid rgba(255, 255, 255, .16);

    font-size: 12px;

    font-weight: 600;

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    transition:
        transform .15s ease,
        background .15s ease;
}

.logout-btn:active {
    transform: scale(.95);

    background:
        rgba(255, 255, 255, .22);
}

.logout-icon {
    font-size: 25px;

    line-height: 1;

    font-weight: 400;
}


/* =====================================================
   CONTENT
===================================================== */

.app-content {
    width: 100%;

    max-width: 600px;

    margin: 0 auto;

    padding:
        18px
        15px
        10px;
}


/* =====================================================
   CLOCK CARD
===================================================== */

.clock-card {
    position: relative;

    width: 100%;

    min-height: 118px;

    padding:
        20px;

    margin-bottom: 14px;

    overflow: hidden;

    background: #fff;

    border:
        1px solid #edf0f5;

    border-radius: 24px;

    box-shadow:
        0 8px 28px rgba(15, 23, 42, .06);
}

.clock-card::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: -85px;
    top: -90px;

    border-radius: 50%;

    background:
        #eff6ff;
}


/* =====================================================
   CLOCK
===================================================== */

.clock-top {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 15px;
}

.clock-icon {
    flex: 0 0 auto;

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #dbeafe
        );

    color: #2563eb;

    font-size: 35px;
}

.clock-info {
    min-width: 0;
}

.clock-date {
    font-size: 14px;

    line-height: 1.2;

    font-weight: 600;

    color: #64748b;

    margin-bottom: 3px;
}

.clock-time {
    font-size: 43px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -1.8px;

    color: #172033;
}

.working-badge {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 7px;

    padding:
        5px
        10px;

    border-radius: 20px;

    background:
        #ecfdf3;

    color:
        #15803d;

    font-size: 12px;

    font-weight: 700;
}

.working-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 3px
        rgba(34, 197, 94, .12);
}


/* =====================================================
   GENERIC CARD
===================================================== */

.card {
    width: 100%;

    margin-bottom: 14px;

    padding: 18px;

    background: #fff;

    border:
        1px solid #edf0f5;

    border-radius: 22px;

    box-shadow:
        0 7px 24px
        rgba(15, 23, 42, .055);
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 15px;
}

.section-icon {
    flex: 0 0 auto;

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 21px;
}

.heading-content {
    min-width: 0;
}

.section-heading h3 {
    font-size: 17px;

    line-height: 1.2;

    font-weight: 800;

    color: #172033;
}

.section-subtitle {
    display: block;

    margin-top: 4px;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 500;

    color: #8a94a6;
}


/* =====================================================
   LOCATION
===================================================== */

.location-icon {
    background:
        #fff1f2;

    color:
        #ef4444;
}

.gps-status {
    margin-top: 4px;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 600;

    color: #64748b;
}


/* =====================================================
   GPS LIVE BADGE
===================================================== */

.gps-live-badge {
    margin-left: auto;

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    gap: 5px;

    padding:
        7px
        9px;

    border-radius: 20px;

    background:
        #ecfdf3;

    color:
        #15803d;

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;
}

.gps-check {
    width: 16px;
    height: 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background:
        #22c55e;

    font-size: 10px;
}


/* =====================================================
   LOCATION ADDRESS
===================================================== */

.location-address {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    width: 100%;

    padding:
        2px
        2px
        15px;

    border-bottom:
        1px solid #edf0f5;
}

.address-icon {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 19px;
}

.location-address strong {
    display: block;

    font-size: 15px;

    line-height: 1.5;

    font-weight: 600;

    color: #465166;

    word-break: break-word;
}


/* =====================================================
   GPS DETAILS
===================================================== */

.gps-details {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    padding-top: 13px;
}

.gps-detail {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}

.gps-detail-icon {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 19px;
}

.accuracy-icon {
    background:
        #eff6ff;

    color:
        #2563eb;
}

.coordinate-icon {
    background:
        #ecfdf3;

    color:
        #16a34a;
}

.gps-detail > div:last-child {
    min-width: 0;
}

.gps-detail span {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 500;

    color: #8a94a6;
}

.gps-detail strong {
    display: block;

    font-size: 13px;

    line-height: 1.2;

    font-weight: 800;

    color: #172033;
}

.coordinates {
    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    font-size: 11px !important;
}


/* =====================================================
   OFFICE
===================================================== */

.office-icon {
    background:
        #f1f5f9;

    color:
        #475569;
}

.office-heading {
    min-width: 0;
}

.geofence-badge {
    display: inline-flex;

    align-items: center;

    margin-top: 4px;

    padding:
        4px
        9px;

    border-radius: 20px;

    background:
        #fff7ed;

    color:
        #c2410c;

    font-size: 10px;

    font-weight: 700;
}

.office-message {
    display: flex;

    align-items: center;

    gap: 11px;

    padding:
        13px
        14px;

    border-radius: 15px;

    background:
        #f8fafc;

    color:
        #697386;

    font-size: 13px;

    line-height: 1.5;
}

.office-message-icon {
    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        #e2e8f0;

    color:
        #64748b;

    font-size: 15px;

    font-weight: 800;
}


/* =====================================================
   PUNCH ACTIONS
===================================================== */

.punch-section {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-bottom: 15px;
}


/* =====================================================
   PUNCH CARD
===================================================== */

.punch-btn {
    position: relative;

    width: 100%;

    min-height: 108px;

    padding:
        15px
        13px;

    display: flex;

    align-items: center;

    gap: 11px;

    overflow: hidden;

    border-radius: 20px;

    border:
        1px solid transparent;

    background: #fff;

    color: #172033;

    text-align: left;

    cursor: pointer;

    -webkit-appearance: none;
    appearance: none;

    touch-action: manipulation;

    box-shadow:
        0 7px 22px
        rgba(15, 23, 42, .07);

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.punch-btn::before {
    content: "";

    position: absolute;

    width: 110px;
    height: 110px;

    right: -48px;
    top: -58px;

    border-radius: 50%;

    pointer-events: none;
}

.punch-btn::after {
    content: "";

    position: absolute;

    width: 65px;
    height: 65px;

    right: -25px;
    bottom: -30px;

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   PUNCH ICON
===================================================== */

.punch-icon {
    position: relative;

    z-index: 2;

    flex: 0 0 auto;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 23px;

    font-weight: 800;
}

.punch-icon span {
    line-height: 1;
}


/* =====================================================
   PUNCH CONTENT
===================================================== */

.punch-content {
    position: relative;

    z-index: 2;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;
}

.punch-label {
    display: block;

    font-size: 16px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -.2px;
}

.punch-btn small {
    display: block;

    font-size: 10.5px;

    line-height: 1.25;

    font-weight: 500;

    color: #7b8494;

    white-space: nowrap;
}


/* =====================================================
   ARROW
===================================================== */

.punch-arrow {
    position: absolute;

    z-index: 3;

    right: 11px;
    bottom: 11px;

    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 16px;

    font-weight: 800;
}


/* =====================================================
   PUNCH IN
===================================================== */

.punch-in {
    border-color:
        #d1fae5;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f0fdf4 100%
        );
}

.punch-in::before {
    background:
        #dcfce7;
}

.punch-in::after {
    background:
        #bbf7d0;
}

.punch-in .punch-icon {
    background:
        linear-gradient(
            135deg,
            #22c55e,
            #16a34a
        );

    color: #fff;

    box-shadow:
        0 7px 16px
        rgba(22, 163, 74, .22);
}

.punch-in .punch-label {
    color:
        #166534;
}

.punch-in .punch-arrow {
    background:
        #dcfce7;

    color:
        #15803d;
}


/* =====================================================
   PUNCH OUT
===================================================== */

.punch-out {
    border-color:
        #fee2e2;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff5f5 100%
        );
}

.punch-out::before {
    background:
        #fee2e2;
}

.punch-out::after {
    background:
        #fecaca;
}

.punch-out .punch-icon {
    background:
        linear-gradient(
            135deg,
            #ef4444,
            #dc2626
        );

    color: #fff;

    box-shadow:
        0 7px 16px
        rgba(220, 38, 38, .20);
}

.punch-out .punch-label {
    color:
        #991b1b;
}

.punch-out .punch-arrow {
    background:
        #fee2e2;

    color:
        #dc2626;
}


/* =====================================================
   PUNCH ACTIVE
===================================================== */

.punch-btn:active {
    transform:
        scale(.97);

    box-shadow:
        0 4px 12px
        rgba(15, 23, 42, .08);
}

.punch-btn:disabled {
    opacity: .45;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* =====================================================
   ATTENDANCE
===================================================== */

.attendance-card {
    margin-bottom: 15px;
}


/* =====================================================
   ATTENDANCE HEADER
===================================================== */

.attendance-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 18px;
}

.attendance-title {
    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 0;
}

.attendance-icon {
    background:
        #eff6ff;

    color:
        #2563eb;
}

.attendance-title h3 {
    font-size: 17px;

    line-height: 1.2;

    font-weight: 800;

    color:
        #172033;
}

.view-details {
    flex: 0 0 auto;

    display: flex;

    align-items: center;

    gap: 5px;

    padding:
        8px
        11px;

    border-radius: 20px;

    background:
        #eff6ff;

    color:
        #2563eb;

    font-size: 11px;

    font-weight: 700;
}

.view-details span {
    font-size: 15px;
}


/* =====================================================
   ATTENDANCE LOADING
===================================================== */

.attendance-loading {
    min-height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    color:
        #7b8494;

    font-size: 13px;
}

.loading-spinner {
    width: 17px;
    height: 17px;

    border:
        2px solid #dbeafe;

    border-top-color:
        #2563eb;

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}

@keyframes spin {

    to {
        transform:
            rotate(360deg);
    }

}


/* =====================================================
   ATTENDANCE GENERATED ITEMS
===================================================== */

.attendance-card .attendance-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding:
        12px
        0;

    border-bottom:
        1px solid #edf0f5;
}

.attendance-card
.attendance-item:last-child {
    border-bottom: 0;
}

.attendance-card
.attendance-label {
    font-size: 12px;

    font-weight: 600;

    color:
        #8a94a6;
}

.attendance-card
.attendance-value {
    font-size: 14px;

    font-weight: 800;

    color:
        #172033;
}


/* =====================================================
   ATTENDANCE SUMMARY SUPPORT
===================================================== */

.attendance-summary {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 4px;
}

.attendance-summary-item {
    min-width: 0;

    padding:
        7px
        5px;

    text-align: center;

    border-right:
        1px solid #edf0f5;
}

.attendance-summary-item:last-child {
    border-right: 0;
}

.attendance-summary-icon {
    width: 38px;
    height: 38px;

    margin: 0 auto 7px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 18px;
}

.attendance-summary-icon.in {
    background:
        #dcfce7;

    color:
        #16a34a;
}

.attendance-summary-icon.out {
    background:
        #fee2e2;

    color:
        #dc2626;
}

.attendance-summary-icon.hours {
    background:
        #dbeafe;

    color:
        #2563eb;
}

.attendance-summary-label {
    display: block;

    font-size: 10px;

    color:
        #8a94a6;

    margin-bottom: 4px;
}

.attendance-summary-value {
    display: block;

    font-size: 15px;

    font-weight: 800;

    color:
        #172033;
}


/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1000;

    min-height: 74px;

    padding:
        5px
        7px
        env(safe-area-inset-bottom);

    display: flex;

    align-items: center;
    justify-content: space-around;

    background:
        rgba(255, 255, 255, .97);

    border-top:
        1px solid #edf0f5;

    box-shadow:
        0 -8px 28px
        rgba(15, 23, 42, .07);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}


/* =====================================================
   NAV ITEM
===================================================== */

.nav-item {
    position: relative;

    flex: 1;

    min-height: 62px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 2px;

    color:
        #8a94a6;

    font-size: 23px;

    touch-action: manipulation;

    transition:
        color .2s ease,
        transform .15s ease;
}

.nav-item:active {
    transform:
        scale(.92);
}

.nav-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 23px;
}

.nav-item small {
    font-size: 11px;

    line-height: 1.1;

    font-weight: 600;

    color: inherit;
}

.nav-item.active {
    color:
        #2563eb;
}

.nav-item.active .nav-icon {
    background:
        #eff6ff;
}

.nav-item.active::after {
    content: "";

    position: absolute;

    bottom: 1px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        #2563eb;
}


/* =====================================================
   LOGIN PAGE
===================================================== */

.login-page {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        25px
        20px
        calc(25px + env(safe-area-inset-bottom));

    background:
        radial-gradient(
            circle at top right,
            #dbeafe 0,
            transparent 35%
        ),
        #f5f7fb;
}

.login-container {
    width: 100%;

    max-width: 400px;

    padding:
        32px
        25px;

    background:
        rgba(255, 255, 255, .97);

    border-radius: 26px;

    text-align: center;

    box-shadow:
        0 20px 50px
        rgba(15, 23, 42, .10);
}

.login-logo img {
    width: 82px;
    height: 82px;

    object-fit: contain;

    margin-bottom: 16px;
}

.login-container h1 {
    font-size: 28px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.5px;
}

.login-subtitle {
    margin:
        8px
        0
        28px;

    color:
        #7b8494;

    font-size: 14px;
}


/* =====================================================
   FORM
===================================================== */

.form-group {
    text-align: left;

    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color:
        #465166;

    font-size: 13px;

    font-weight: 700;
}

.form-group input {
    width: 100%;

    height: 52px;

    padding:
        0
        15px;

    border:
        1px solid #e1e6ef;

    border-radius: 14px;

    outline: none;

    background:
        #f9fafc;

    color:
        #172033;

    font-size: 16px;

    -webkit-appearance: none;
    appearance: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.form-group input:focus {
    background:
        #fff;

    border-color:
        #2563eb;

    box-shadow:
        0 0 0 4px
        rgba(37, 99, 235, .10);
}


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.btn-primary {
    width: 100%;

    min-height: 52px;

    border: 0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color:
        #fff;

    font-size: 16px;

    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, .22);

    touch-action: manipulation;
}

.btn-primary:active {
    transform:
        scale(.98);
}


/* =====================================================
   ATTENDANCE PAGE
===================================================== */

.attendance-page {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    max-width: 600px;

    margin: auto;

    padding:
        18px
        15px
        calc(95px + env(safe-area-inset-bottom));
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .app-header {
        min-height: 138px;

        padding:
            20px
            13px
            25px;
    }

    .user-avatar {
        width: 50px;
        height: 50px;

        font-size: 19px;
    }

    .app-header h2 {
        font-size: 20px;
    }

    .welcome-text {
        font-size: 12px;
    }

    .header-email {
        max-width: 175px;

        font-size: 10px;
    }

    .logout-btn {
        width: 58px;
        height: 52px;

        font-size: 10px;
    }

    .logout-icon {
        font-size: 21px;
    }

    .app-content {
        padding:
            14px
            12px
            8px;
    }

    .clock-card {
        min-height: 105px;

        padding:
            16px;
    }

    .clock-icon {
        width: 51px;
        height: 51px;

        font-size: 28px;
    }

    .clock-time {
        font-size: 34px;
    }

    .clock-date {
        font-size: 12px;
    }

    .card {
        padding:
            15px;

        border-radius:
            19px;
    }

    .section-heading h3 {
        font-size: 15px;
    }

    .section-icon {
        width: 39px;
        height: 39px;

        font-size: 18px;
    }

    .gps-live-badge {
        font-size: 8px;

        padding:
            6px
            7px;
    }

    .location-address strong {
        font-size: 13px;
    }

    .gps-details {
        gap: 7px;
    }

    .gps-detail-icon {
        width: 34px;
        height: 34px;

        font-size: 16px;
    }

    .gps-detail strong {
        font-size: 11px;
    }

    .coordinates {
        font-size: 9px !important;
    }

    .punch-section {
        gap: 8px;
    }

    .punch-btn {
        min-height: 98px;

        padding:
            12px
            9px;

        gap: 8px;

        border-radius:
            17px;
    }

    .punch-icon {
        width: 42px;
        height: 42px;

        font-size: 19px;
    }

    .punch-label {
        font-size: 14px;
    }

    .punch-btn small {
        font-size: 9px;
    }

    .punch-arrow {
        width: 22px;
        height: 22px;

        right: 7px;
        bottom: 7px;

        font-size: 12px;
    }

    .view-details {
        padding:
            7px
            8px;

        font-size: 9px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (min-width: 381px) and (max-width: 699px) {

    .app-content {
        padding-left:
            16px;

        padding-right:
            16px;
    }
}


/* =====================================================
   DESKTOP / TABLET
===================================================== */

@media (min-width: 700px) {

    body {
        background:
            #e9eef5;
    }

    .app {
        max-width:
            600px;

        margin:
            0 auto;

        background:
            #f4f7fb;

        box-shadow:
            0 0 45px
            rgba(15, 23, 42, .08);
    }

    .bottom-nav {
        width:
            600px;

        left:
            50%;

        right:
            auto;

        transform:
            translateX(-50%);

        border-radius:
            18px
            18px
            0
            0;
    }
}


/* =====================================================
   REDUCE MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

        animation:
            none !important;

        transition:
            none !important;
    }
}


/* =====================================================
   SAFE AREA
===================================================== */

@supports (padding: max(0px)) {

    .app-header {

        padding-top:
            max(
                22px,
                env(safe-area-inset-top)
            );
    }

    .bottom-nav {

        padding-bottom:
            max(
                5px,
                env(safe-area-inset-bottom)
            );
    }
}