.shift_info_screen {
    background-color: rgba(6, 10, 22, 0.55);
    transition: opacity .18s ease, transform .18s ease;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1160;
}

.shift_info_card {
    background-color: #2b3260;
    position: relative;
    width: 90%;
    max-width: 400px;
    min-height: 500px;
    border-radius: 10px;
    box-shadow: 0 0 40px 3px #000000;
    animation: fadeInCard 0.4s ease;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    font-family: sans-serif;
}

.shift_info_card_target_name {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.shift_details_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.detail_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.detail_label {
    font-size: 16px;
    font-weight: 400;
    color: #EDEFFC;
}

.detail_value {
    font-size: 18px;
    font-weight: 600;
}

.highlight {
    color: #9bd7ff;
    font-size: 20px;
}

.comment_section {
    margin-top: 20px;
    flex-grow: 1;
}

.comment_box {
    margin-top: 10px;
    padding: 15px;
    max-height: 80px;
    background-color: #303853;
    border-radius: 5px;
    font-style: italic;
    font-size: 16px;
    line-height: 1.4;
    min-height: 80px;
    overflow-y: auto;
}

.shift_modification_info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    text-align: right;
    font-size: 14px;
}

.mod_label {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 5px;
}

.mod_value {
    font-weight: 500;
}

.shift_info_close_button {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: rgb(226, 56, 56);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 30px;
    font-family: roboto;
    border: none;
    outline: none;
    color: white;
    transition: ease 0.3s;
    user-select: none;
    cursor: pointer;
    transform: rotate(45deg);
}




@media (max-width: 768px) {
    .shift_info_card_target_name {
        font-size: 22px;
    }

    .detail_label,
    .detail_value {
        font-size: 16px;
    }

    .comment_box {
        box-sizing: border-box;
        font-size: 14px;
        max-height: 40px !important;
        padding: 8px 10px;
    }
}































.comment_box::-webkit-scrollbar {
    width: 10px;
}

.comment_box::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.comment_box::-webkit-scrollbar-thumb {
    background: #1a1f30;
    border-radius: 10px;
    border: none;
}

.comment_box::-webkit-scrollbar-thumb:hover {
    background: #5b6688;
}

.comment_box::-webkit-scrollbar-corner {
    background: #e0e0e0fd;
}