:root{
    --color-primary: #DE3333;
    --header-height: 60px;
    --breadcrumb-height: 50px;
}

.header {
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header .nav-link{
    color: black;
}

.breadcrumb-header {
    top: var(--header-height);
    z-index: 999;
    height: var(--breadcrumb-height);
    display: flex;
    align-items: center;
}

body {
    padding-top: calc(var(--header-height) + var(--breadcrumb-height));
}

main {
    margin-top: 0;
}

/* 手機版 navbar 樣式 */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: none !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-collapse {
        background-color: white !important;
        border-top: 1px solid #dee2e6;
        margin-top: 0.5rem;
    }

    /* 隱藏側邊導航 */
    .sidebar-nav {
        /* display: none; */
    }
}


.text-subtitile {
    font-size: 12px;
}

.nav-pills .nav-link.active{
    background-color: rgba(249, 158, 158, 0.28);
    color: var(--color-primary);
}

.nav-pills .nav-link {
    color: #333;
}

.breadcrumb-item.active {
    color: var(--color-primary);
    font-weight: 500;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.form-label {
    font-weight: 500;
}
.alert {
    display: none;
}
.alert.show {
    display: block;
}

.card-header{
    border: 0;
    background: white;
}

.card-header .title{
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header .title::before{
    content: '';
    display: block;
    width: 3px;
    height: 20px;
    background-color: var(--color-primary);
}

.navbar-brand img {
    max-width: 280px;
}

.btn-custom-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

@media (min-width: 768px) and (max-width: 1018px) {
    .navbar-brand img {
        max-width: 220px;
    }
}

@media (min-width: 1019px) and (max-width: 1140px) {
    .navbar-brand img {
        max-width: 280px;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        max-width: 250px;
    }
}
