html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.loading-logo {
    width: 80px;
    height: auto;
    animation: pulse 1.5s infinite;
}

.root-container {
    height: 100%;
    min-width:150px;
}

.title {
    font-size: 16px;
    font-weight: 400;
}

.category-text {
    float: left;
    line-height: 30px;
}

.category-icon {
    float: left;
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: 100%;
    height: 30px;
    width: 30px;
    display: inline-block;
    margin-right: 10px;
}

    .category-icon.food {
        background-image: url("@(SampleService.WebAssetsPath + "images/dashboard-layout/food.png")");
    }

    .category-icon.travel {
        background-image: url("@(SampleService.WebAssetsPath + "images/dashboard-layout/transport.png")");
    }

    .category-icon.housing {
        background-image: url("@(SampleService.WebAssetsPath + "images/dashboard-layout/house.png")");
    }

    .category-icon.extra-income {
        background-image: url("@(SampleService.WebAssetsPath + "images/dashboard-layout/extra.png")");
    }

.item-container {
    display: flex;
    text-align: center;
    height: 70%;
    padding: 2rem;
    font-size: 22px;
    font-weight: 400;
}

    .item-container.income {
        color: #17a00e
    }

    .item-container.balance {
        color: #008cff;
    }

    .item-container.transaction {
        color: #f41127;
    }

    .item-container.expense {
        color: #ca765a;
    }

.bottom-container {
    text-align: center;
    font-weight: 400;
    font-size: 16px;
}
.auto-left {
    margin-top:5px;
    margin-left: auto;
}
.badge-custom {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    transition: all 0.3s ease;
    color: #fff;
}

    .badge-custom.status-aktif {
        background: linear-gradient(to right, #28a745, #218838); /* hijau profesional */
    }

    .badge-custom.status-terpakai {
        background: linear-gradient(to right, #6Bf6e5, #49e0ce);
        color: black;
    }

    .badge-custom.status-nonaktif {
        background: linear-gradient(to right, #dc3545, #c82333); /* merah gelap */
    }
.section-title-wrapper {
    position: relative;
    display: inline-block;
}

.section-title {
    font-size: 1.3rem;
    margin: 0;
    padding-right: 10px;
}

.info-icon {
    position: absolute;
    top: -6px;
    right: -12px;
    background-color: #6a5acd; /* slate blue */
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(106, 90, 205, 0.7);
    transition: all 0.3s ease;
}

    .info-icon:hover {
        background-color: #483d8b; /* darker slate */
        transform: scale(1.1);
    }

.info-box {
    margin-top: 8px;
    background: linear-gradient(to right, #6dd5ed, #c7ceff);
    padding: 14px;
    border-left: 4px solid #6a5acd;
    border-radius: 10px;
    color: #222;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(106, 90, 205, 0.3);
    width: 100%;
    margin-bottom:10px;
}
    .info-box ul li {
        display: flex;
        align-items: center;
        font-size: 13px;
    }
..cool-box {
    background: linear-gradient(to right, #e0f7fa, #fce4ec);
    border-left: 5px solid #00acc1;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 172, 193, 0.25);
    padding: 20px;
    margin-bottom: 24px;
    color: #333;
    max-width: 600px;
    margin-top:20px!important;
}

.cool-box-header {
    margin-bottom: 16px;
}

.cool-box-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #006064;
    margin: 0;
}

.cool-box-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-row {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

    .search-input:focus {
        border-color: #00acc1;
        box-shadow: 0 0 4px rgba(0, 172, 193, 0.3);
    }

.btn-search {
    background-color: #00acc1;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-search:hover {
        background-color: #00838f;
    }

.add-row {
    display: flex;
    justify-content: flex-end;
}

.btn-add {
    background-color: #7e57c2;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    background-color: #5e35b1;
}

    .btn-add:disabled {
        background-color: lightgray;
    }
#toast_pos_property td {
    width: 50%;
    padding-top: 12px;
}

.e-toast-icon.e-laura.e-icons {
    border-radius: 50%;
    background-image: url("@("../img/logodkost.png")");
    background-repeat: no-repeat;
    background-size: cover;
    height: 50px !important;
    width: 60px !important;
    background-size: 50px 50px;
    margin-right: 15px;
}

.card-grid {
    display: flex;
    flex-wrap: nowrap; /* agar tidak turun ke bawah */
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.card {
    flex: 0 0 auto;
    width: 280px;
    min-height: 140px;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: translateY(-4px);
    }

.card-label {
    font-size: 13px;
    color: #555;
    font-weight: 600;
    position: absolute;
    top: 16px;
    left: 20px;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    margin-top: 20px;
}

.card-value {
    font-size: 22px;
    font-weight: 600;
}

.icon {
    font-size: 22px;
}

/* Color Styles */
.card-green .card-value, .card-green .icon {
    color: #28a745;
}

.card-orange .card-value, .card-orange .icon {
    color: #c56a11;
}

.card-blue .card-value, .card-blue .icon {
    color: #007bff;
}

.card-red .card-value, .card-red .icon {
    color: #dc3545;
}


@@media (min-width: 740px) {
    #toast_pos_property {
        width: 570px;
    }
}

.toast-pos-section #toast_pos_property {
    height: 500px;
    border: none;
    margin: auto;
}

    @@keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.1);
            opacity: 0.8;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }