@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
body {
   
    font-family: "Noto Sans", serif;
   
}
header {
    position: fixed;
    width: 100%;
    z-index: 20;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0.4;
    display: none;
}

    #preloader #preloader-inner {
        display: block;
        position: relative;
        left: 50%;
        top: 50%;
        width: 150px;
        height: 150px;
        margin: -75px 0 0 -75px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #3498db;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
    }

        #preloader #preloader-inner:before {
            content: "";
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #e74c3c;
            -webkit-animation: spin 3s linear infinite;
            animation: spin 3s linear infinite;
        }

        #preloader #preloader-inner:after {
            content: "";
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #f9c922;
            -webkit-animation: spin 1.5s linear infinite;
            animation: spin 1.5s linear infinite;
        }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.task-item {
    border-bottom: 1px solid #ccc;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    max-height: 100px;
    overflow: hidden;
}
    .task-item .status {
        position: absolute;
        top: 0rem;
        right: 8px;
        z-index: 1;
        padding: 0px 6px;
        font-size: 14px;
        border-radius: 12px;
        color: #00FF66;
    }

    .task-item:hover {
        transform: translateY(-5px);
        box-shadow: 0px 8px 15px 2px rgba(0, 0, 0, 0.7);
    }
    .task-item .status.x-mar {
        color: red;
    }
.box-shadow-main {
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.5);
}
a {
    text-decoration: none;
    color: #000;
}
.task-item a {
}
.head-task{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    
}
.head-task input{
    width: 100%;
    cursor: pointer;
}
.right-input i {
    color: red;
    cursor: pointer;
    font-size: 20px;
}

#detail_task .card-header{
    position: relative;
}
.status-detail {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    color: #fff;
    padding: 8px;
    border-radius: 12px;
    background-color: rgba(var(--bs-success-rgb));
}
.box-items-add {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}
.btn-possion{
    position: absolute;
    top: 0px;
    right: 0;
    z-index: 1;
}
.btn-possion:focus{
    outline: unset !important;
    box-shadow: unset !important;
}
    .btn-possion.btn-danger:active {
        background-color: #dc3545;
        border-color: #dc3545;
    }
.img-user {
    width: 50px;
    height: 50px;
}
    .img-user img {
        width: 50px;
        height: 50px;
        border-radius: 50px;
    }
.item-user {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
    .item-user:hover {
        transform: translateY(-5px);
        box-shadow: 0px 8px 15px 2px rgba(0, 0, 0, 0.7);
    }
.box-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    margin-bottom: 2rem;
}

.box {
    width: calc(50% - 10px);
    background-color: #FFCCFF;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    margin: 10px 0;
    border-radius: 12px;
}

.task-admin {
    max-height: 300px !important;
}
.info-make{
    max-height: 100%;
}

@media only screen and (max-width: 47em) {
    .head-task{
        flex-direction: column;
        gap: 12px;
    }
    .mobile-date {
        display: flex;
        justify-content: center;
        margin-bottom: 1em;
    }
}

.date-card {
    width: 82px; /* gần kích thước ảnh */
    border-radius: 0.9rem; /* bo tổng thể */
    background: #2b2f34; /* mặt card (dark) */
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    overflow: hidden;
}

.date-head {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .5rem;
    position: relative;
}

    .date-head .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #0b1220;
        opacity: .6;
    }

.date-body {
    padding: .6rem .25rem .8rem;
    background: #000; /* nền trong ảnh tối */
}
    /* Tối ưu chữ lớn + viền mờ như ảnh */
    .date-body .display-6 {
        text-shadow: 0 1px 0 rgba(255,255,255,.15);
    }

/* Tuỳ chọn biến thể màu (nếu muốn nhiều thẻ) */
.date-card.blue .date-head {
    background: #0d6efd;
}

.date-card.green .date-head {
    background: #22c55e;
}

.date-card.orange .date-head {
    background: #f59e0b;
}
.date-card .word {
    font-size: 12px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.card .btn-icon {
    opacity: .85;
    transition: opacity .15s ease;
}

.card:hover .btn-icon {
    opacity: 1;
}
