/* SR-specific styles, scoped to its page. */

    :where(#scope-o-sr-list) .custom-datepicker-dt .mx-input {
        font-size: 12px !important;
        /* 원하는 폰트 크기로 수정 */
        /* padding: 5px 10px; 패딩 수정 */
        /* border-radius: 4px; 모서리 둥글게 */
        /* border: 1px solid #ccc; 테두리 설정 */
        /*width: 60% !important;  가로 크기 수정 */
        height: 28px !important;
        /* 세로 크기 수정 */
        border: 1px solid #DBE0E5;

    }

    :where(#scope-o-sr-list) .custom-datepicker-dt {
        width: 120px !important;
        text-align: center !important;
    }

    :where(#scope-o-sr-list) .svg-icon-background i {
        font-size: 2rem !important;
    }

    :where(#scope-o-sr-list) .badge-sm {
        font-size: 0.7rem;
        /* 글자 크기 축소 */
        padding: 0.25em 0.5em;
        /* 패딩 줄임 */
    }

    :where(#scope-o-sr-list) .sr-detail-panel {
        padding: 20px;
        border: 1px solid #e5eaf0;
        border-radius: 12px;
        background: #f7f9fc;
    }

    :where(#scope-o-sr-list) .sr-conversation-card {
        overflow: hidden;
        margin-bottom: 16px;
        border: 1px solid #dfe6ee !important;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(31, 42, 68, 0.06) !important;
    }

    :where(#scope-o-sr-list) .sr-conversation-card:last-child {
        margin-bottom: 0;
    }

    :where(#scope-o-sr-list) .sr-conversation-tabs {
        overflow: hidden;
        border: 1px solid #dfe6ee;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(31, 42, 68, 0.06);
    }

    :where(#scope-o-sr-list) .sr-conversation-tabs .nav-tabs {
        gap: 6px;
        padding: 10px 12px 0;
        border-bottom: 1px solid #e5eaf0;
        background: #fff;
    }

    :where(#scope-o-sr-list) .sr-conversation-tabs .nav-link {
        min-width: 110px;
        padding: 10px 18px;
        border: 0;
        border-bottom: 3px solid transparent;
        border-radius: 6px 6px 0 0;
        color: #718096;
        font-weight: 600;
    }

    :where(#scope-o-sr-list) .sr-conversation-tabs .nav-link.active {
        border-bottom-color: #4b8df8;
        color: #2563b9;
        background: #eef5ff;
    }

    :where(#scope-o-sr-list) .sr-conversation-tabs #sr-list-worker-tab.active {
        border-bottom-color: #37a779;
        color: #27805d;
        background: #edf9f4;
    }

    :where(#scope-o-sr-list) .sr-conversation-tabs .tab-pane > .card-body {
        max-height: 500px;
        padding: 14px;
        overflow: auto;
        background: #fbfcfe;
    }

    :where(#scope-o-sr-list) .sr-conversation-card > .card-header {
        min-height: 54px;
        padding: 14px 18px;
        border-bottom: 1px solid #edf1f5;
        background: #fff;
    }

    :where(#scope-o-sr-list) .sr-conversation-card > .card-header h4 {
        margin: 0;
        color: #26344a;
        font-size: 16px;
        font-weight: 700;
    }

    :where(#scope-o-sr-list) .sr-conversation-card > .card-body {
        max-height: 420px;
        padding: 14px;
        overflow: auto;
        background: #fbfcfe;
    }

    :where(#scope-o-sr-list) .sr-message-card {
        margin: 0 0 10px !important;
        border: 1px solid #e5eaf0 !important;
        border-left: 3px solid #4b8df8 !important;
        border-radius: 8px;
        background: #fff;
    }

    :where(#scope-o-sr-list) .sr-worker-card .sr-message-card {
        border-left-color: #37a779 !important;
    }

    :where(#scope-o-sr-list) .sr-message-card .card-header {
        padding: 12px 14px;
        border-bottom: 1px solid #f0f3f6;
        background: transparent;
    }

    :where(#scope-o-sr-list) .sr-message-card .card-body {
        padding: 14px;
    }

    #scope-o-sr-list .pc-content { padding-left: 10px; padding-right: 10px; }
    :where(#scope-o-sr-list) .sr-list-workspace { --bs-gutter-x: 16px; }
    :where(#scope-o-sr-list) .sr-detail-panel { position: relative; margin-bottom: 18px; padding: 0; overflow: hidden; border-radius: 14px; background: #f8fafc; box-shadow: 0 8px 24px rgba(31, 42, 68, .07); }
    :where(#scope-o-sr-list) .sr-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid #e5eaf0; background: #fff; }
    :where(#scope-o-sr-list) .sr-detail-heading { display: flex; align-items: center; gap: 12px; }
    :where(#scope-o-sr-list) .sr-detail-heading > i { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #3978d4, #5b9cf5); font-size: 20px; }
    :where(#scope-o-sr-list) .sr-detail-heading h4 { margin: 0 0 3px; color: #26344a; font-size: 16px; font-weight: 700; }
    :where(#scope-o-sr-list) .sr-detail-heading p { margin: 0; color: #8491a3; font-size: 12px; }
    :where(#scope-o-sr-list) .sr-detail-close { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid #dce3eb; border-radius: 8px; color: #59687d; background: #fff; font-weight: 600; }
    :where(#scope-o-sr-list) .sr-detail-close:hover { border-color: #b8c5d4; color: #26344a; background: #f5f7fa; }
    :where(#scope-o-sr-list) .sr-detail-content { padding: 18px; }
    :where(#scope-o-sr-list) .sr-nav-card, :where(#scope-o-sr-list) .sr-content-card { overflow: hidden; border: 1px solid #e0e7ef !important; border-radius: 14px !important; box-shadow: 0 6px 20px rgba(31, 42, 68, .06) !important; }
    :where(#scope-o-sr-list) .sr-project-select { padding: 16px; border-bottom: 1px solid #edf1f5; background: linear-gradient(135deg, #f7fbff, #eef5ff); }
    :where(#scope-o-sr-list) .sr-project-select label { display: block; margin-bottom: 7px; color: #46556b; font-size: 12px; font-weight: 700; }
    :where(#scope-o-sr-list) .sr-project-select .form-select { min-height: 40px; border-color: #ccd9e7; border-radius: 8px; background-color: #fff; }
    :where(#scope-o-sr-list) .sr-task-header { padding: 16px 18px !important; border-bottom: 1px solid #edf1f5 !important; }
    :where(#scope-o-sr-list) .sr-task-header > .card-title, :where(#scope-o-sr-list) .sr-content-header > .card-title, :where(#scope-o-sr-list) .sr-content-header > .card-title > .card-title { width: 100%; }
    :where(#scope-o-sr-list) .sr-task-header h5 { color: #26344a; font-size: 15px; font-weight: 700; }
    :where(#scope-o-sr-list) .sr-task-actions { display: flex; gap: 6px; }
    :where(#scope-o-sr-list) .sr-task-actions .btn { padding: 6px 9px; border-radius: 7px; font-size: 11px; }
    :where(#scope-o-sr-list) .sr-task-list { height: 590px; padding: 10px !important; overflow: auto; background: #fbfcfe; }
    :where(#scope-o-sr-list) .sr-task-item { min-height: 62px; margin-bottom: 7px; padding: 10px 12px !important; border: 1px solid #e5eaf0 !important; border-radius: 9px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
    :where(#scope-o-sr-list) .sr-task-item:hover { border-color: #9ec1f3 !important; box-shadow: 0 4px 12px rgba(57, 120, 212, .09); transform: translateY(-1px); }
    :where(#scope-o-sr-list) .sr-task-item.border-info { border-color: #4b8df8 !important; background: #f3f8ff; box-shadow: inset 3px 0 #4b8df8; }
    :where(#scope-o-sr-list) .sr-task-item .svg-icon-background { margin-right: 12px !important; color: #4b8df8; }
    :where(#scope-o-sr-list) .sr-content-header { padding: 18px 22px !important; border-bottom: 1px solid #e8edf3 !important; background: #fff; }
    :where(#scope-o-sr-list) .sr-content-header h4 { margin: 0; color: #26344a; font-size: 17px; font-weight: 700; }
    :where(#scope-o-sr-list) .sr-create-button { padding: 8px 14px !important; border: 0 !important; border-radius: 8px !important; background: #3978d4 !important; }
    :where(#scope-o-sr-list) .sr-filter-area { padding: 18px 22px !important; border-bottom: 1px solid #edf1f5; background: #fafbfd; }
    :where(#scope-o-sr-list) .sr-filter-grid { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(130px, .7fr) minmax(260px, 1.5fr) minmax(120px, .7fr) auto; gap: 12px; align-items: end; }
    :where(#scope-o-sr-list) .sr-filter-field label { display: block; margin-bottom: 6px; color: #56657a; font-size: 11px; font-weight: 700; }
    :where(#scope-o-sr-list) .sr-filter-field .form-control, :where(#scope-o-sr-list) .sr-filter-field .form-select { height: 48px; min-height: 48px; border-color: #dce3eb; border-radius: 8px; background-color: #fff; }
    :where(#scope-o-sr-list) .sr-date-range { display: flex; align-items: center; gap: 6px; }
    :where(#scope-o-sr-list) .sr-date-range .custom-datepicker-dt { flex: 1; width: auto !important; }
    :where(#scope-o-sr-list) .sr-date-range .mx-datepicker { width: 100% !important; }
    :where(#scope-o-sr-list) .sr-date-range .mx-input { width: 100%; height: 48px !important; border-radius: 8px; }
    :where(#scope-o-sr-list) .sr-search-button { height: 48px; min-height: 48px; padding: 8px 17px; border-radius: 8px; font-weight: 600; }
    :where(#scope-o-sr-list) .sr-table-body { padding: 18px 22px !important; }
    :where(#scope-o-sr-list) .sr-data-table { margin-bottom: 18px; border-collapse: separate; border-spacing: 0; border: 1px solid #e4eaf1 !important; border-radius: 10px; overflow: hidden; }
    :where(#scope-o-sr-list) .sr-data-table thead th { padding: 12px 10px; border: 0; border-bottom: 1px solid #dce3eb; color: #59687d; background: #f4f7fa; font-size: 11px; font-weight: 700; white-space: nowrap; }
    :where(#scope-o-sr-list) .sr-data-table tbody td { padding: 7px 10px; border-width: 0 0 1px; border-color: #edf1f5; vertical-align: middle; }
    :where(#scope-o-sr-list) .sr-data-table tbody tr:last-child td { border-bottom: 0; }
    :where(#scope-o-sr-list) .sr-data-table tbody tr:hover td { background: #f7fbff; }
    :where(#scope-o-sr-list) .sr-title-link { color: #2f6fca !important; }
    :where(#scope-o-sr-list) .sr-reply-icon-button { width: 26px !important; height: 26px !important; min-width: 26px; padding: 0 !important; border-radius: 6px !important; }
    :where(#scope-o-sr-list) .sr-reply-icon-button i { font-size: 13px; }
    @media (max-width: 1199.98px) { :where(#scope-o-sr-list) .sr-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } :where(#scope-o-sr-list) .sr-filter-action { grid-column: span 2; } :where(#scope-o-sr-list) .sr-search-button { width: 100%; } }
    @media (max-width: 767.98px) { #scope-o-sr-list .pc-content { padding-left: 6px; padding-right: 6px; } :where(#scope-o-sr-list) .sr-detail-header { align-items: flex-start; padding: 16px; } :where(#scope-o-sr-list) .sr-detail-heading p { display: none; } :where(#scope-o-sr-list) .sr-detail-close span { display: none; } :where(#scope-o-sr-list) .sr-detail-content { padding: 10px; } :where(#scope-o-sr-list) .sr-filter-grid { grid-template-columns: 1fr; } :where(#scope-o-sr-list) .sr-filter-action { grid-column: auto; } :where(#scope-o-sr-list) .sr-table-body, :where(#scope-o-sr-list) .sr-filter-area { padding: 14px !important; } }

/* Shared SERVICE page structure: title, section header, content and actions. */
body :is(#scope-o-sr-list, #scope-e-business-cre, #scope-e-business-list).o-service-page .pc-content {
  padding: 12px !important;
}
body .o-service-page .o-service-header {
  min-height: 40px; padding: 6px 12px; margin-bottom: 12px;
  border: 1px solid #dbe0e5; border-radius: 0; background: #fff;
}
body .o-service-page .o-service-header .page-block { width: 100%; }
body .o-service-page .o-service-header .row { --bs-gutter-y: 4px; }
body .o-service-page .o-service-header h4 {
  margin: 0; color: #1d2630; font-size: 16px; font-weight: 700; line-height: 26px;
}
body .o-service-page .o-service-header .breadcrumb { margin: 0; font-size: 12px; line-height: 26px; }
body .o-service-page .breadcrumb-item + .breadcrumb-item::before {
  position: static; top: auto; vertical-align: baseline; line-height: inherit;
}
body .o-service-page .o-service-panel {
  margin-bottom: 12px !important; border: 1px solid #dbe0e5 !important;
  border-radius: 0 !important; background: #fff; box-shadow: none !important;
}
body .o-service-page .o-service-panel > .card-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; min-height: 44px; padding: 8px 12px !important;
  border-bottom: 1px solid #dbe0e5 !important; background: #fff;
}
body .o-service-page .o-service-panel-title {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  color: #1d2630; font-size: 14px; font-weight: 700; line-height: 26px;
}
body .o-service-page .o-service-panel-title::before {
  content: ''; flex: 0 0 3px; width: 3px; height: 15px; background: #4680ff;
}
body .o-service-page .o-service-panel > .card-body,
body .o-service-page .o-service-panel > form > .card-body { padding: 12px !important; }
body .o-service-page .o-service-panel .row { --bs-gutter-x: 12px; }
body .o-service-page .o-service-panel .row.mb-3 { margin-bottom: 8px !important; }
body .o-service-page .o-service-panel .prism-toggle { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
body .o-service-page .o-service-panel .hk-search-box {
  width: auto; margin: 12px !important; padding: 8px !important; background: #fff;
}
body .o-service-page .o-service-search-title {
  margin: 0 0 8px; color: #1d2630; font-size: 14px; font-weight: 700; line-height: 20px;
}
body .o-service-page .o-service-form-panel label:not(.btn) {
  color: #526176; background: transparent !important; font-size: 12px; font-weight: 700;
}
/* Replace the SR-only decorative card treatment with the same service panels. */
body .o-service-page .sr-project-select { padding: 12px; border-bottom: 1px solid #dbe0e5; background: #fff; }
body .o-service-page .sr-task-list { padding: 12px !important; background: #fff; }
body .o-service-page .sr-task-item { border-radius: 0; box-shadow: none; }
body .o-service-page .sr-task-item:hover { transform: none; box-shadow: none; }
body .o-service-page .sr-create-button {
  padding: 3px 12px !important; border: 1px solid var(--bs-primary, #4680ff) !important;
  border-radius: 0 !important; background: var(--bs-primary, #4680ff) !important;
}
body .o-service-page .sr-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; }
body .o-service-page .sr-filter-field { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
body .o-service-page .sr-filter-field label { margin: 0; padding: 0; color: #526176; font-size: 12px; text-align: right; }
body .o-service-page .sr-filter-action { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
body .o-service-page .sr-search-button { width: 32px; }
body .o-service-page .sr-date-range { min-width: 0; }
body .o-service-page .sr-data-table { border-collapse: collapse; border: 1px solid #bdc3c7 !important; border-radius: 0; }
body .o-service-page .sr-data-table thead th { background: #f5f7f7; font-weight: 800; }
body .o-service-page .sr-data-table :is(th, td) { padding: 0 8px; border: 1px solid #d9d9d9; }
body .o-service-page .sr-data-table tbody tr:last-child td { border-bottom: 1px solid #d9d9d9; }
body .o-service-page .sr-detail-panel {
  padding: 12px; border: 1px solid #dbe0e5; border-radius: 0; background: #fff;
}
body .o-service-page .sr-detail-header { padding: 8px 12px; }
body .o-service-page .sr-detail-content { padding: 12px; }
body .o-service-page .sr-conversation-card { border-radius: 0; box-shadow: none !important; }
@media (max-width: 767.98px) {
  body .o-service-page .sr-filter-grid { grid-template-columns: minmax(0, 1fr); }
  body .o-service-page .o-service-header { padding: 6px 8px; }
}
