/**
* Template Name: NiceCustomerService
* Updated: Jul 27 2023 with Bootstrap v5.3.1
* Template URL: https://bootstrapmade.com/nice-CustomerService-bootstrap-CustomerService-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #f6f9ff;
    color: #444444;
}

a {
    color: #4154f1;
    text-decoration: none;
}

    a:hover {
        color: #717ff5;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    /*padding: 20px 30px;*/
    padding: 0;
    transition: all 0.3s;    
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

    .pagetitle h1 {
        font-size: 24px;
        margin-bottom: 0;
        font-weight: 600;
        color: #012970;
    }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right : 30px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 24px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #6776f4;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */

.u_cbox_work_sub {
    position: relative;
    display: inline-block;
}

.u_cbox_work_box {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;        
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 3px;
    z-index: 1000;
    min-width: 100px;
}

.u_cbox_work_inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    padding: 5px 10px;
}

.u_cbox_btn_open .bi {
    font-size: 1.2rem;
    vertical-align: middle;
    cursor: pointer;
}

.u_cbox_work_inner a:hover {
    background-color: #f6f9ff;    
}



.settings-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 3px;
    z-index: 1000;
    min-width: 100px;
}

.dropdown-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    justify-content: space-between;
}

    .dropdown-item i {
        font-size: 16px;
    }

        .dropdown-item i.fas.fa-trash-alt {
            margin-right: 10px;
        }

    .dropdown-menu .dropdown-header,
    .dropdown-menu .dropdown-footer {
        text-align: center;
        font-size: 15px;
        padding: 10px 25px;
    }

        .dropdown-menu .dropdown-footer a {
            color: #444444;
            text-decoration: underline;
        }

            .dropdown-menu .dropdown-footer a:hover {
                text-decoration: none;
            }

    .dropdown-menu .dropdown-divider {
        color: #a5c5fe;
        margin: 0;
    }

    .dropdown-menu .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .dropdown-menu .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .dropdown-menu .dropdown-item:hover {
            background-color: #f6f9ff;
        }

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }    
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    /*margin-bottom: 30px;*/
    margin-bottom: 0px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    overflow-x: auto;
    overflow-y: auto;
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    /*padding: 20px 0 15px 0;*/
    padding: 15px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

    .card-title span {
        color: #899bbd;
        font-size: 14px;
        font-weight: 400;
    }

.card-body {
    /*padding: 0 20px 20px 20px;*/
    /*padding: 0 20px 10px 20px;*/ /*팝업 header, body 간격조정으로 수정*/
    padding: 10px 20px 10px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 40%;    
}

    .btn-close:focus {
        outline: 0;
        box-shadow: none;
    }

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

    .accordion-flush .accordion-button:not(.collapsed) {
        box-shadow: none;
        color: #4154f1;
    }

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

    .nav-tabs-bordered .nav-link {
        margin-bottom: -2px;
        border: none;
        color: #2c384e;
    }

        .nav-tabs-bordered .nav-link:hover,
        .nav-tabs-bordered .nav-link:focus {
            color: #4154f1;
        }

        .nav-tabs-bordered .nav-link.active {
            background-color: #fff;
            color: #4154f1;
            border-bottom: 2px solid #4154f1;
        }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

#Logo {
    margin: 0;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

    .header .toggle-sidebar-btn {
        font-size: 32px;
        padding-left: 10px;
        cursor: pointer;
        color: #012970;
    }

    .header .search-bar {
        min-width: 360px;
        padding: 0 20px;
    }

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

    .header .search-form input {
        border: 0;
        font-size: 14px;
        color: #012970;
        border: 1px solid rgba(1, 41, 112, 0.2);
        padding: 7px 38px 7px 8px;
        border-radius: 3px;
        transition: 0.3s;
        width: 100%;
    }

        .header .search-form input:focus,
        .header .search-form input:hover {
            outline: none;
            box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
            border: 1px solid rgba(1, 41, 112, 0.3);
        }

    .header .search-form button {
        border: 0;
        padding: 0;
        margin-left: -30px;
        background: none;
    }

        .header .search-form button i {
            color: #012970;
        }

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

    .header-nav .nav-profile img {
        max-height: 36px;
    }

    .header-nav .nav-profile span {
        font-size: 14px;
        font-weight: 600;
    }

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

    .header-nav .notifications .notification-item {
        display: flex;
        align-items: center;
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .notifications .notification-item i {
            margin: 0 20px 0 10px;
            font-size: 24px;
        }

        .header-nav .notifications .notification-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .header-nav .notifications .notification-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .notifications .notification-item:hover {
            background-color: #f6f9ff;
        }

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

    .header-nav .messages .message-item {
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .messages .message-item a {
            display: flex;
        }

        .header-nav .messages .message-item img {
            margin: 0 20px 0 10px;
            max-height: 40px;
        }

        .header-nav .messages .message-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #444444;
        }

        .header-nav .messages .message-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .messages .message-item:hover {
            background-color: #f6f9ff;
        }

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

    .header-nav .profile .dropdown-header h6 {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 600;
        color: #444444;
    }

    .header-nav .profile .dropdown-header span {
        font-size: 14px;
    }

    .header-nav .profile .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .header-nav .profile .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .header-nav .profile .dropdown-item:hover {
            background-color: #f6f9ff;
        }
        
/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

.sidebar-version {
    position: absolute;
    right:20px;
    bottom: 20px;    
    color: #888;
    font-size: 12px;
}

    .sidebar-version span {
        font-weight: bold; /* 버전 번호 강조 */
    }

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .sidebar-nav li {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar-nav .nav-item {
        margin-bottom: 5px;
    }

    .sidebar-nav .nav-heading {
        font-size: 11px;
        text-transform: uppercase;
        color: #899bbd;
        font-weight: 600;
        margin: 10px 0 5px 15px;
    }

    .sidebar-nav .nav-link {
        display: flex;
        align-items: center;
        font-size: 15px;
        font-weight: 600;
        color: #4154f1;
        transition: 0.3;
        background: #f6f9ff;
        padding: 10px 15px;
        border-radius: 4px;
    }

        .sidebar-nav .nav-link i {
            font-size: 16px;
            margin-right: 10px;
            color: #4154f1;
        }

        .sidebar-nav .nav-link.collapsed {
            color: #012970;
            background: #fff;
        }

            .sidebar-nav .nav-link.collapsed i {
                color: #899bbd;
            }

        .sidebar-nav .nav-link:hover {
            color: #4154f1;
            background: #f6f9ff;
        }

            .sidebar-nav .nav-link:hover i {
                color: #4154f1;
            }

        .sidebar-nav .nav-link .bi-chevron-down {
            margin-right: 0;
            transition: transform 0.2s ease-in-out;
        }

        .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
            transform: rotate(180deg);
        }

    .sidebar-nav .nav-content {
        padding: 5px 0 0 0;
        margin: 0;
        list-style: none;
    }

        .sidebar-nav .nav-content a {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 600;
            color: #012970;
            transition: 0.3;
            padding: 10px 0 10px 40px;
            transition: 0.3s;
        }

            .sidebar-nav .nav-content a i {
                font-size: 6px;
                margin-right: 8px;
                line-height: 0;
                border-radius: 50%;
            }

            .sidebar-nav .nav-content a:hover,
            .sidebar-nav .nav-content a.active {
                color: #4154f1;
            }

                .sidebar-nav .nav-content a.active i {
                    background-color: #4154f1;
                }

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

    .dashboard .filter .icon {
        color: #aab7cf;
        padding-right: 20px;
        padding-bottom: 5px;
        transition: 0.3s;
        font-size: 16px;
    }

        .dashboard .filter .icon:hover,
        .dashboard .filter .icon:focus {
            color: #4154f1;
        }

    .dashboard .filter .dropdown-header {
        padding: 8px 15px;
    }

        .dashboard .filter .dropdown-header h6 {
            text-transform: uppercase;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 1px;
            color: #aab7cf;
            margin-bottom: 0;
            padding: 0;
        }

    .dashboard .filter .dropdown-item {
        padding: 8px 15px;
    }

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

    .dashboard .info-card h6 {
        font-size: 28px;
        color: #012970;
        font-weight: 700;
        margin: 0;
        padding: 0;
    }

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

    .dashboard .activity .activity-item .activite-label {
        color: #888;
        position: relative;
        flex-shrink: 0;
        flex-grow: 0;
        min-width: 64px;
    }

        .dashboard .activity .activity-item .activite-label::before {
            content: "";
            position: absolute;
            right: -11px;
            width: 4px;
            top: 0;
            bottom: 0;
            background-color: #eceefe;
        }

    .dashboard .activity .activity-item .activity-badge {
        margin-top: 3px;
        z-index: 1;
        font-size: 11px;
        line-height: 0;
        border-radius: 50%;
        flex-shrink: 0;
        border: 3px solid #fff;
        flex-grow: 0;
    }

    .dashboard .activity .activity-item .activity-content {
        padding-left: 10px;
        padding-bottom: 20px;
    }

    .dashboard .activity .activity-item:first-child .activite-label::before {
        top: 5px;
    }

    .dashboard .activity .activity-item:last-child .activity-content {
        padding-bottom: 0;
    }

/* News & Updates */
.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

    .dashboard .news h4 a {
        color: #012970;
        transition: 0.3s;
    }

        .dashboard .news h4 a:hover {
            color: #4154f1;
        }

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

    .dashboard .recent-sales .table thead {
        background: #f6f6fe;
    }

        .dashboard .recent-sales .table thead th {
            border: 0;
        }

    .dashboard .recent-sales .dataTable-top {
        padding: 0 0 10px 0;
    }

    .dashboard .recent-sales .dataTable-bottom {
        padding: 10px 0 0 0;
    }

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

    .dashboard .top-selling .table thead {
        background: #f6f6fe;
    }

        .dashboard .top-selling .table thead th {
            border: 0;
        }

    .dashboard .top-selling .table tbody td {
        vertical-align: middle;
    }

    .dashboard .top-selling img {
        border-radius: 5px;
        max-width: 60px;
    }

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

    .iconslist .icon {
        background-color: #fff;
        border-radius: 0.25rem;
        text-align: center;
        color: #012970;
        padding: 15px 0;
    }

    .iconslist i {
        margin: 0.25rem;
        font-size: 2.5rem;
    }

    .iconslist .label {
        font-family: var(--bs-font-monospace);
        display: inline-block;
        width: 100%;
        overflow: hidden;
        padding: 0.25rem;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #666;
    }

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

    .profile .profile-card .social-links a:hover {
        color: #012970;
    }

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

    .contact .info-box i {
        font-size: 38px;
        line-height: 0;
        color: #4154f1;
    }

    .contact .info-box h3 {
        font-size: 20px;
        color: #012970;
        font-weight: 700;
        margin: 20px 0 10px 0;
    }

    .contact .info-box p {
        padding: 0;
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .contact .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid #18d26e;
        border-top-color: #eee;
        animation: animate-loading 1s linear infinite;
    }

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

    .contact .php-email-form input:focus,
    .contact .php-email-form textarea:focus {
        border-color: #4154f1;
    }

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

    .contact .php-email-form button[type=submit]:hover {
        background: #5969f3;
    }

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

    .error-404 h1 {
        font-size: 180px;
        font-weight: 700;
        color: #4154f1;
        margin-bottom: 0;
        line-height: 150px;
    }

    .error-404 h2 {
        font-size: 24px;
        font-weight: 700;
        color: #012970;
        margin-bottom: 30px;
    }

    .error-404 .btn {
        background: #51678f;
        color: #fff;
        padding: 8px 30px;
    }

        .error-404 .btn:hover {
            background: #3e4f6f;
        }

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

    .footer .copyright {
        text-align: center;
        color: #012970;
    }

    .footer .credits {
        padding-top: 5px;
        text-align: center;
        font-size: 13px;
        color: #012970;
    }

/*--------------------------------------------------------------
# New
--------------------------------------------------------------*/
#permission-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-align: center;
    display: none;
}

    #permission-popup .popup-content {
        padding: 20px;
        background-color: #333;
        border-radius: 10px;
    }

    #permission-popup button {
        margin: 10px;
        padding: 10px;
        background-color: #4CAF50;
        color: white;
        border: none;
        cursor: pointer;
    }

        #permission-popup button:hover {
            background-color: #45a049;
        }

.mheader {
    height: auto;
    background: #fff;
    padding: 15px 15px 0 15px;
}

    .mheader h1 {
        font-size: 18px;
        margin-bottom: 15px;
    }

.filters {
    display: flex;
    gap: 5px;
    padding: 15px;
    overflow-x: auto;
    background: #fff;
}

.filterbutton {
    padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
}

    .filterbutton.active {
        background: #666;
        color: white;
    }

.cs-list {
    height: calc(100vh - 200px);
    padding: 15px;
    overflow-y: auto;
}

.cs-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cs-card-equip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 12px;
    gap:5px;
}

.cs-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cs-title {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    display: flex; /* 수평 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
}

.cs-equip {
    font-weight: bold;
    color: #dc3545;
    margin-right: 3px;
}

.cs-tag {
    font-weight: bold;
    color: #28a745;
    margin-right: 3px;
}

.cs-client {
    font-weight: bold;
    color: #0094ff;
    margin-right: 3px;
}

.cs-feedback {
    flex: 0 0 auto;
    display: flex;
    gap: 5px;
    width: auto;

}
.cs-status {
    flex: 0 0 auto;
    display: flex;
    gap: 5px;
    width: auto;
}

.cs-manager {
    flex: 0 0 auto;
    display: flex;
    gap: 5px;
    width: auto;
}

.status-tag {
    padding: 4px 8px;
    background: #e9ecef;
    border-radius: 4px;
    font-size: 12px;
}

    .status-tag.urgent {
        background: #dc3545; /* 빨간색 */
        color: white;        
    }

    .status-tag.request {
        background: #00b0f0; /* 하늘색 */
        color: white;
        cursor: pointer;
    }

    .status-tag.ongoing {
        background: #28a745; /* 초록색 */
        color: white;
        cursor: pointer;
    }

    .status-tag.feedback {
        background: #fd7e14; /* 주황색 */
        color: white;
        cursor: pointer;
    }

    .status-tag.completed {
        background: #6f42c1; /* 보라색 */
        color: white;
        cursor: pointer;
    }

    .status-tag.finalcompleted {
        background: #ffc107;
        color: white;
        cursor: pointer;
    }

    .status-tag.pending {
        background: #6c757d; /* 회색 */
        color: white;
        cursor: pointer;
    }

    .status-tag.assign-manager {
        background: #20c997;
        color: white;
        cursor: pointer;
    }


.cs-info {
    font-size: 16px;
    color: black;
    margin-bottom: 8px;
    /*white-space: pre-wrap;*/
    word-wrap: break-word;
}

.cs-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: black;
    margin-top: 5px;
    padding-top: 12px;    
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.filter-container {
    position: relative;
    width: 25%;
}

.filter-button {
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .filter-button:after {
        content: '▼';
        font-size: 12px;
        color: #666;
    }

.filter-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    display: none;
    z-index: 1000;
}

    .filter-dropdown.active {
        display: block;
    }

.filter-section {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

    .filter-section:last-child {
        border-bottom: none;
    }

.filter-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.filter-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid #eee;
}

    .filter-actions button {
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
    }

.reset-button {
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
}

.apply-button {
    background: #666;
    border: none;
    color: #fff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

    .overlay.active {
        display: block;
    }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 5px;
    border-radius: 8px;
    width: 830px;
    max-height: 95%;    
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 10px 10px 10px 10px;
    display: flex;
    justify-content: center; /* 가운데 정렬 */
    align-items: center;
    position: relative; /* 버튼과 정렬을 맞추기 위해 필요 */
}

.modal-title {
    flex-grow: 1; /* 가운데 정렬을 위한 확장 */
    text-align: center;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;    
    overflow-y: auto;
}

    .modal-body label {
        font-size: 14px;
        font-weight: bold;
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .modal-body select,
    .modal-body input,
    .modal-body textarea {
        padding: 5px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        width: 100%;        
        box-sizing: border-box;

    }

    .modal-body .content-field {
        grid-column: span 2;
        width: 100%;
    }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

    .modal-footer button {
        padding: 8px 16px;
        font-size: 16px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .modal-footer .cancel-button {
        background-color: #666;
        color: white;
    }

    .modal-footer .save-button {
        background-color: #007bff;
        color: white;
    }

.required {
    color: red;
    font-weight: bold;
}

/*--------------------------------------------------------------
#회원가입 폼
--------------------------------------------------------------*/
#popUp .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

#popUp .modal-content {
    background: white;
    padding: 0;
    border-radius: 8px;
    width: 500px;     
    border:0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#popUp .modal-header {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 1px;
    padding: 10px 10px 5px 10px;    
}

#popUp .modal-body {
    display: grid;
    grid-template-columns: none;
    gap: 0;    
    padding:10px;
    height: auto;
    overflow-y: auto;
}

#popUp button{
    border-radius: 0;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    text-decoration: none;
    cursor: pointer;
    -webkit-text-size-adjust: none;
}

.form_item {
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 45px;
    padding: 0 10px 0 45px
}

.form_item::before {
    position: absolute;
    top: 10px;
    left: 9px;
    content: ''
}

.form_item::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;    
    pointer-events: none;
    content: ''
}

    .form_item.user::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-image: url("../img/icons/사용자.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .form_item.lock::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-image: url("../img/icons/비밀번호.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .form_item.email::before {
        content: "";
        position: absolute;
        top: 50%;        
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-image: url("../img/icons/이메일.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .form_item.phone::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-image: url("../img/icons/핸드폰.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .form_item.company::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-image: url("../img/icons/회사.png");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .form_item :disabled {
        background-color: #f0f0f0;
    }

    .password_info {
        flex: none;
        padding: 0 5px
    }

.btn_show {
    margin-left: 4px;
    vertical-align: middle;
    background: 0 0;
}

    .btn_show.hide::before {
        background-image: url("../img/icons/hide.png");
        width: 24px;
        height: 24px;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;        
    }

    .btn_show::before {
        background-image: url("../img/icons/show.png");
        background-position: center;
        background-repeat: no-repeat;
        width: 24px;
        height: 24px;
        display: block;
        background-size: contain;
        content: ''
    }

.btn_submit {
    width: 100%;
    padding: 14px 0;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.05);
    background: #09aa5c;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: #fff
}

.blind {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden
}

.how_secure {
    display: none;
    padding: 4px 6px 3px 6px;
    border-radius: 10px;
    background: rgba(255,168,0,.12);
    font-size: 11px;
    font-weight: 700;
    line-height: 13px;
    letter-spacing: -.4px;
    color: #ffa41c;
    vertical-align: middle
}

    .how_secure.on {
        display: inline-block
    }

    .how_secure.safe {
        background: rgba(3,199,90,.12);
        color: #03c75a
    }

    .how_secure.dangerous {
        background: rgba(236,62,59,.12);
        color: #eb0000
    }

.error_text {
    margin: 10px;
    font-size: 13px;
    line-height: 18px;
    color: #ff3f3f
}

    .error_text.item_style {
        position: relative;
        padding-left: 8px;
        letter-spacing: -.4px
    }

        .error_text.item_style:not([style*="display: none"]) ~ .item_style {
            margin-top: 0
        }

        .error_text.item_style::before {
            position: absolute;
            top: 7px;
            left: 0;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #ff3f3f;
            content: ''
        }

    .error_text + .form_list {
        margin-top: 10px
    }

#dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px); /* input 아래로 약간 띄우기 */
    left: 0; /* input과 같은 왼쪽 정렬 */
    width: 100%; /* input과 같은 너비 */
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}


    #dropdown div {
        padding: 8px;
        cursor: pointer;
    }

        #dropdown div:hover {
            background-color: #f0f0f0;
        }

    #dropdown .no-result {
        color: gray;
        font-style: italic;
    }

.responsive-title {
    font-size: 1rem;
}

.responsive-text {
    font-size: 1rem;
}

.created-full {
    display: inline;
}

.created-short {
    display: none;
}

/*--------------------------------------------------------------
#회원가입 폼
--------------------------------------------------------------*/



textarea {
    width: 100%;
    height: 100px;
    resize: none;
    margin-top: 10px;
    padding: 10px;
    font-size: 14px;
}

.centered-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 !important;
}

    .centered-stars .star {
        font-size: 40px;
        line-height: 1;
        vertical-align: middle;
        margin: 0 5px;
        cursor: pointer;
        color: #ccc;
    }

        .centered-stars .star.selected {
            color: #FFD700;
        }

.pwa-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    justify-content: center;
    align-items: center;
}

.pwa-popup {
    display: block;
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    width: 90%;
    max-width: 350px;
}

    .pwa-popup h3 {
        margin-bottom: 12px;
    }

.pwa-message {
    font-size: 14px;
    color: #333;
}

.pwa-btn-install {
    display: none;
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.pwa-btn-close {
    display: none;
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 8px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.manager-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;    
}


.manager-list {
    width: 50%;
    padding: 10px;    
    border: 1px solid #ccc;
    border-radius: 8px;
    height:300px;
    overflow:auto;
}

.selected-managers {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 300px;
    overflow: auto;
}

#managerCheckboxList label {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    #managerCheckboxList label:hover {
        background-color: #f0f0f0;
    }

#managerCheckboxList input[type="checkbox"] {
    margin-right: 10px;
}

.selected-manager-item {
    margin: 5px;
    padding: 6px 12px;
    background-color: #1f3c88;
    color: white;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    position: relative;
    padding-right: 30px;
}

.remove-button {
    position: absolute;
    top: 2px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

    .remove-button:hover {
        background-color: darkred;
    }

.manager-list h3, .selected-managers h3 {
    margin-top: 0;
}

.image-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

    .image-wrapper img,
    .image-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

.remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.detail-row *,
.cs-list * {
    user-select: text !important;
}


.detail-row {
    cursor:default;
}

    .detail-row label,
    .detail-row span,
    .detail-row p {
        cursor: text;
    }

.cs-list label,
.cs-list span,
.cs-list p {
    cursor: text;
}

/* 버튼 디자인 */
.excel-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #2d8b2f; /* Excel의 대표적인 색상 */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    /* 버튼 호버 시 효과 */
    .excel-btn:hover {
        background-color: #218a24;
    }

#chatbot-btn {
    position: fixed;
    right: 50px;
    bottom: 60px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1000;
}

#chatbot-popup {
    position: fixed;
    bottom: 120px;
    right: 50px;
    width: 500px;
    height: 500px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.hidden {
    display: none !important;
}

#popup-close {
    align-self: flex-end;
    margin: 8px;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}

.chatbot-content {
    flex: 1;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow-y: auto;
    background: #f9f9f9;
}

#chatbot-messages > div {
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    max-width: 100%;
    word-wrap: break-word;
}

    #chatbot-messages > div.user-message {
        background-color: #007bff;
        color: white;
        align-self: flex-end;
    }

    #chatbot-messages > div.bot-message {
        background-color: #e1e1e1;
        color: black;
        align-self: flex-start;
    }

#chatbot-form {
    display: flex;
    padding: 10px;
    gap: 6px;
}

#chatbot-input {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#chatbot-form button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}




/*--------------------------------------------------------------
#Mobile
--------------------------------------------------------------*/
@media (max-width: 768px) {

    #chatbot-btn {
        
        right: 10px !important;        
    }

    #chatbot-popup {
        right: 10px !important;
        width:calc(100% - 20px);
    }

    textarea.form-control {

        font-size:14px;
    }

    #openModal_Index, #btnlogout {
        font-size:11px;
    }

    #modalStartDate, #modalEndDate, #umodalStartDate, #umodalEndDate {
        height: 40px;
    }

    input[type="date"] {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background-color: #fff;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .sidebar {
        width:300px;
    }

    .filters {
        justify-content: center;
    }

    .cs-info {
        font-size: 14px !important;
    }
    
    .filter-container {
        position: relative;
        width: 100%;
    }

    .filter-button {
        font-size: 14px !important;
    }

    .filters {
        padding: 15px 5px 15px 5px !important;
        gap: 10px !important;
    }

    .filterbutton {
        font-size: 14px !important;
    }

    #header{
        padding-right:20px;
    }

    #mainheader {
        width:100%;
    }   

    .modal-content {
        width: 100%;                
        margin:0 10px;
    }

    .modal-header {
        font-weight: bold;
        font-size: 14px;
    }

    .modal-body label {
        /*font-size: 13px;*/        
    }

    .modal-body input, .modal-body select, .modal-body textarea {
        /*font-size: 13px;*/
    }

    .modal-footer button {
        /*font-size: 12px;*/
        padding: 6px 12px;
    }
    
}

@media (max-width: 600px) {

}

@media (max-width: 480px) {
    .responsive-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 360px) {
    #Logo {
        width: 80px;
    }
}

@media (max-width: 320px) {

    .cs-info {
        font-size: 12px !important;
    }

    .created-full {
        display: none;
    }

    .created-short {
        display: inline;
    }

    .responsive-title {
        font-size: 0.875rem;
    }

    .responsive-text {
        font-size: 0.75rem;
    }

    #header {
        padding: 0 10px 0 10px;
    }

    #btnlogout {
        margin: 0 !important;
    }

    .filters {        
        gap: 1px !important;
    }

    .filter-container{
        flex:1;
    }
}