html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Inter-Regular", Arial, Helvetica, sans-serif;
}

@font-face {
    font-family: "Inter-Regular";
    src: url('/assets/fonts/Inter-Regular.ttf') format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Inter-Medium";
    src: url('/assets/fonts/Inter-Medium.ttf') format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Inter-SemiBold";
    src: url('/assets/fonts/Inter-SemiBold.ttf') format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Inter-Bold";
    src: url('/assets/fonts/Inter-Bold.ttf') format("truetype");
    font-style: normal;
    font-weight: normal;
}

@media (min-width: 320px) {

    #screenModal .modal-dialog {
        max-width: 900px !important;
    }

    .center-wrapper {
        height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .center-wrapper h2 {
        margin-bottom: 10px;
        font-weight: 600;
    }

    .center-wrapper p {
        margin-bottom: 20px;
        font-size: 16px;
        color: #333;
    }

    /* Optional: style your add button */
    .add-location-btn {
        background: linear-gradient(to right, #cf9f2d, #d8a834);
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: 0.2s ease;
    }

    .add-location-btn:hover {
        opacity: 0.85;
    }

    .card {
        border-radius: 12px;
        border: none;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    }

    .stat-card {
        text-align: center;
        padding: 20px 20px 0 20px;
        flex-direction: row;
    }

    .stat-card img {
        width: 40px;
        height: 40px;
    }

    .map-image {
        width: 100%;
        border-radius: 12px;
    }

    .section-title {
        font-weight: 600;
        margin-bottom: 10px;
        font-size: 20px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }

    .alert-item {
        display: flex;
        align-items: start;
        margin-bottom: 6px;
    }

    .alert-item i {
        color: #E3342F;
        margin-right: 6px;
    }

    .input-group-text {
        background-color: #D4A017;
        border: 1px solid #D4A017;
        color: #fff;
    }

    .cardCount {
        font-size: 20px;
        font-weight: 600;
    }

    .cardsStyling {
        width: 220px;
    }

    .btn-custom {
        background: #D4A017;
        color: white;
        font-weight: 600;
        border-radius: 8px;
        padding: 10px 18px;
    }

    .btn-custom:hover {
        background: #D4A017;
        color: white;
        font-weight: 600;
        border-radius: 8px;
        padding: 10px 18px;
    }

    .btn-group>.btn:active, .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
        background-color: #D4A017 !important;
        color: #fff !important;
    }

    .header {
        background: #fff;
        padding: 12px 25px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .dropdown-toggle img {
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    .dropdown-toggle {
        cursor: pointer;
    }

    .dropdown-toggle::after {
        margin-left: 10px;
    }

    .dropdown-menu {
        border: none;
        border-radius: 10px;
        padding: 10px;
        min-width: 220px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    }

    .dropdown-item {
        padding: 10px 12px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .dropdown-item i {
        font-size: 16px;
    }

    .dropdown-item:hover {
        background-color: #f7f7f7;
    }

    .dropdown-divider {
        margin: 8px 0;
    }

    /* Logout item */
    .dropdown-item.text-danger:hover {
        background-color: #fde8e8;
    }

    .bg-wrapper {
        background: url("/assets/images/loginbg.png") no-repeat center center/cover;
        height: 100vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .bg-wrapper::after {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        background-color: rgba(0, 0, 0, 0.35);
    }

    .login-card {
        width: 480px;
        background: rgba(255, 255, 255, 0.10);
        border-radius: 16px;
        padding: 40px 32px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        position: relative;
        z-index: 10;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .logo-img {
        width: 180px;
    }

    .form-control {
        border-radius: 8px;
        padding: .375rem 1.25rem .375rem .75rem;
    }

    .modal-footer {
        border-top: 0;
    }

    .btn-login {
        background: linear-gradient(90deg, #d4a437, #c49021);
        color: #fff;
        font-size: 16px;
        padding: 12px 30px;
        border-radius: 8px;
        /*box-shadow: 1px 0 8px 0 rgba(88,88,88,0.75);*/
    }

    .btn-login:hover {
        opacity: 0.9;
        color: #fff;
    }

    .forgot-link {
        font-size: 14px;
        color: #fff;
        text-decoration: none;
    }

    .forgot-link:hover {
        text-decoration: underline;
    }

    .logobgcolor {
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        width: 250px;
        margin: 0 auto;
    }
}
