﻿.page-dangky *,
.page-dangky *::before,
.page-dangky *::after {
    box-sizing: border-box;
    font-family: Roboto;
}

.form-label {
    display: block;
    text-align: left; /* canh trái */
    font-weight: 700; /* đậm */
    margin-bottom: 0.5rem;
    color: brown;
}
/* Container */
.container {
    width: 100%;
    margin: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* Row với gutter chuẩn */
.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

    .row > * {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) / 2);
        padding-left: calc(var(--bs-gutter-x) / 2);
        margin-top: var(--bs-gutter-y);
    }

/* Gutter size */
.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Grid system: mobile-first */
.col-md-3, .col-md-4, .col-md-6 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-3 {
        width: 25%;
    }

    .col-md-4 {
        width: 33.3333%;
    }

    .col-md-6 {
        width: 50%;
    }
}

/* Spacing */
.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-danger {
    color: #dc3545 !important;
}

.text-primary {
    color: #0d6efd !important;
}

.fw-bold {
    font-weight: 700;
}

/* Form */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control, .form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-select {
    background: #fff;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
}

.btn-success {
    background: #0075c8;
    color: #fff;
}

.btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1.25rem;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #664d03;
}

.alert-danger {
    color: #842029; /* màu chữ đỏ đậm */
    background-color: #f8d7da; /* nền đỏ nhạt */
    border: 1px solid #f5c2c7; /* viền đỏ nhạt */
    padding: 0.75rem 1.25rem; /* khoảng cách trong */
    border-radius: 0.375rem; /* bo góc */
    margin-bottom: 1rem; /* khoảng cách dưới */
    font-weight: 500; /* chữ hơi đậm */
}
/* Card */
.card {
    border: 1px solid #dee2e6;
    /* border-radius: 0.5rem;*/
}

.card-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.border-primary {
    border-color: #0075c8 !important;
}

.bg-primary {
    background: #0075c8 !important;
    color: #fff;
}

.bg-light {
    background: #f8f9fa !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* List group */

.list-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-left: 0;
    border-radius: 0.375rem;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
}

.list-group-flush .list-group-item {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

/* Utilities */
.d-none {
    display: none !important;
}

.img-thumbnail {
    padding: 0.25rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    max-width: 100%;
    height: auto;
}

/* Custom */
.btn1 {
    background: #0094ff;
    border: 0;
    cursor: pointer;
    color: #fff;
    padding: 5px 5px;
}

    .btn1:hover {
        box-shadow: 0 0 10px #fff;
        color: #fff;
    }

.lblcss {
    color: red;
    font-weight: 700;
}

.lblcss1 {
    color: blue;
    font-weight: 700;
}

input[type="file"].form-control {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    input[type="file"].form-control::file-selector-button {
        background-color: #0d6efd; /* xanh Bootstrap */
        color: #fff;
        border: none;
        padding: 0.375rem 0.75rem;
        margin-right: 0.75rem;
        border-radius: 0.375rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        input[type="file"].form-control::file-selector-button:hover {
            background-color: #0b5ed7;
        }

.breadcrumb-title {
    background: url('../img/city2.png') no-repeat;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 80px;
}

    .breadcrumb-title strong {
        color: #005bb8;
        font-size: 36px;
        font-weight: 700;
        font-family: tahoma;
    }

        .breadcrumb-title strong span {
            display: inline-block;
            width: 5px;
            height: 27px;
            background: #e75718;
            margin-right: 5px;
        }



.info-list .list-group-item {
    display: grid;
    grid-template-columns: 160px 1fr; /* cột trái 160px, cột phải auto */
    gap: 0.5rem;
    align-items: center;
    padding: 0.75rem 1rem; /* padding đẹp hơn */
    font-size: 0.95rem;
}

.info-list .list-group-item:nth-child(even) {
    background-color: #f8f9fa; /* zebra: nền xám nhạt cho item chẵn */
}

.info-list .fw-bold {
    text-align: left; /* luôn căn trái */
    font-weight: 600; /* đậm vừa phải */
    color: #333; /* màu chữ nhãn */
    white-space: nowrap; /* giữ nhãn trên 1 dòng */
}

.info-list .text-danger {
    font-weight: 500; /* dữ liệu nổi bật */
}

