@charset "UTF-8";
/* =======================================================================================================================
 *  Urero Portal Portlet CSS
 *  CSS 작성 규칙 : {기준속성, 크기속성, 위치속성, 라인속성, 서체속성, Etc속성, 백그라운드 속성} 순서대로 나열해서 적는다.
 *                  소문자로 쓰되 _으로 구분해서 적는다. (부트스트랩 등 다른 css와 충돌 방지를 위함.)
 *  독립 테마 변수 : --portlet-bg-card, --portlet-color-title, --portlet-line-primary, --portlet-color-primary, etc.
 * ======================================================================================================================= */

/* ========================================
   Portlet Root & Layout Containers (Standardized)
======================================== */
/* ========================================
   Portlet Standardized Core Design System
======================================== */
/* 1. Outer Container */
.portlet_container,
.portlet_card_container,
.widget-sched-card,
.widget-news-card,
.widget-weather-detail-card,
.widget-tab-board-card,
.widget-history-card {
    display: flex;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 15px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--portlet-line-primary, #e3e7eb);
    border-radius: 12px;
    background-color: var(--portlet-bg-card, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.portlet_card_container.no-border,
.bottom-box.no-border {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 2. Inner Card Wrapper */
.portlet_card,
.portlet_card_inner,
.portlet_weather_card,
.portlet_sched_card,
.portlet_sched_page_card,
.urero-portlet-card {
    display: flex;
    box-sizing: border-box;
    min-width: 360px;
    padding: 20px;
    flex: 1;
    flex-direction: column;
    text-align: left;
    background-color: var(--portlet-bg-card, #ffffff);
}

.portlet_card.wide {
    min-width: 580px;
}

.portlet_card.flat,
.no-border .urero-portlet-card,
.no-border .portlet_card_inner {
    background-color: transparent !important;
    padding: 0 !important;
}

/* 3. Header Bar & Alignment */
.portlet_header,
.portlet_header_bar,
.card-header-bar,
.urero-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--portlet-color-primary, #10b981);
    flex-shrink: 0;
}

.portlet_header_left {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* 4. Title Text */
.portlet_title,
.portlet_title_text,
.card-title,
.weather-portlet-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

/* 5. Header Action Buttons */
.portlet_btn_action,
.portlet_btn_refresh,
.btn-refresh-sched,
.weather-refresh-btn,
.btn-refresh-weather,
.portlet_btn_more,
.btn-more-news {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-color-sub, #64748b);
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
}

.portlet_btn_action.more,
.portlet_btn_more,
.btn-more-news {
    color: var(--portlet-color-sub, #64748b);
    text-decoration: none;
}

/* 6. Content Body */
.portlet_body,
.portlet_content_body,
.urero-portlet-content-body,
.weather-info-container,
.sched-portlet-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* 7. Badges */
.portlet_badge {
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: var(--portlet-bg-badge, #e0f2fe);
    color: var(--portlet-color-badge, #0369a1);
}

.portlet_badge.red,
.portlet_badge_red {
    background-color: #fee2e2;
    color: #ef4444;
}

.portlet_badge.purple,
.portlet_badge_purple {
    background-color: #fdf2ff;
    color: #c084fc;
}

.portlet_badge.blue,
.portlet_badge_blue {
    background-color: #e0f2fe;
    color: #0369a1;
}

.portlet_badge.green,
.portlet_badge_green,
.portlet_sched_badge {
    background-color: #dcfce7;
    color: #10b981;
}

.portlet_badge.orange,
.portlet_badge_orange,
.portlet_step_badge {
    background-color: #fff7ed;
    color: #ea580c;
}

.portlet_badge.gray,
.portlet_badge_gray {
    background-color: #f1f5f9;
    color: #64748b;
}

/* 8. Lists & Items */
.portlet_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portlet_news_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 스케줄러 포틀릿 박스형 아이템 */
.sched-portlet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-left: 4px solid var(--portlet-color-primary, #10b981);
    border-radius: 6px;
    background-color: #f8fafc;
    cursor: pointer;
}

/* 뉴스/게시판 8개 포틀릿 100% 원본 라인 아이템 */
.portlet_news_item,
.news-item,
.notice-item,
.press-item,
.tab-board-item,
.portlet_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.portlet_news_item:hover,
.news-item:hover,
.notice-item:hover,
.press-item:hover,
.tab-board-item:hover,
.portlet_item:hover {
    background-color: #f8fafc;
}

.portlet_item_body,
.portlet_sched_item_body {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

/* 뉴스/게시판 8개 포틀릿 100% 원본 글제목 서체 */
.portlet_item_title,
.portlet_news_item_title {
    display: block;
    width: 80%;
    flex: 1;
    min-width: 0;
    margin-right: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #334155;
}

.portlet_sched_item_title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

/* 뉴스/게시판 8개 포틀릿 100% 원본 날짜 서체 */
.portlet_item_sub,
.portlet_news_item_date {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 11px;
    color: #94a3b8;
}

/* 9. No-data State */
.portlet_nodata,
.portlet_table_nodata,
.portlet_sched_nodata,
.sched-no-data,
.empty-message {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    font-size: 13px;
    color: var(--portlet-color-sub, #94a3b8);
}

/* ========================================
   User Status Portlet
======================================== */
.portlet_user_status_list {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
    overflow: auto;
    margin-top: 10px;
}

.portlet_user_status_dl {
    margin: 0;
    padding: 5px 0;
}

.portlet_user_status_dl_border {
    margin: 0;
    padding: 10px 0;
    border-top: 1px dashed var(--portlet-line-dashed, #dddddd);
    border-bottom: 1px dashed var(--portlet-line-dashed, #dddddd);
}

.portlet_user_status_label {
    font-size: 12px;
    color: var(--portlet-color-sub, #666666);
}

.portlet_user_status_val {
    font-size: 12px;
    color: var(--portlet-color-val, #333333);
}

/* ========================================
   Today Weather Portlet
======================================== */
.portlet_weather_card {
    display: flex;
    box-sizing: border-box;
    min-width: 360px;
    padding: 20px;
    flex: 1;
    flex-direction: column;
    text-align: left;
    background-color: var(--portlet-bg-card, #ffffff);
}

.portlet_weather_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--portlet-color-primary, #0284c7);
}

.portlet_weather_title {
    font-size: 15px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_weather_badge {
    display: none;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: var(--portlet-color-badge, #0369a1);
    background-color: var(--portlet-bg-badge, #e0f2fe);
}

.portlet_weather_refresh_btn {
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-color-primary, #0284c7);
    cursor: pointer;
    transition: color 0.2s ease;
    border: none;
    background: none;
}

.portlet_weather_refresh_btn:hover {
    color: var(--portlet-color-secondary, #0369a1);
}

.portlet_weather_info_container {
    display: flex;
    min-height: 80px;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.portlet_weather_loading {
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
    color: var(--portlet-color-sub, #94a3b8);
}

.portlet_weather_error {
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
    color: var(--portlet-color-danger, #ef4444);
}

.portlet_weather_box {
    display: flex;
    box-sizing: border-box;
    padding: 15px;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}

.portlet_weather_icon {
    font-size: 40px;
    line-height: 1;
}

.portlet_weather_detail {
    text-align: right;
}

.portlet_weather_temp {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--portlet-color-primary, #0284c7);
}

.portlet_weather_sub {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--portlet-color-badge, #0369a1);
}

.portlet_weather_divider {
    margin: 0 4px;
    color: var(--portlet-weather-border, #bae6fd);
}

/* ========================================
   Today Service Portlet
======================================== */
.portlet_service_flex {
    display: flex;
    gap: 10px;
    overflow: auto;
    flex: 1;
}

.portlet_service_left_box {
    min-width: 120px;
    flex: 1;
}

.portlet_service_right_grid {
    display: grid;
    gap: 10px;
    flex: 3;
    grid-template-columns: repeat(2, 1fr);
}

.portlet_service_gray_box {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.portlet_service_item_box {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

/* ========================================
   Fail History & Table Portlets
======================================== */
.portlet_table_box {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    margin-top: 10px;
}

.portlet_table {
    width: 100%;
    border-collapse: collapse;
}

.portlet_table_head_row {
    border-bottom: 1px solid var(--portlet-line-light, #eeeeee);
    background-color: var(--portlet-bg-table-head, #f7f9fa);
}

.portlet_table_th {
    padding: 6px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    color: var(--portlet-color-th, #555555);
}

.portlet_table_th_center {
    padding: 6px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    color: var(--portlet-color-th, #555555);
}

.portlet_table_scroll_body {
    overflow-y: auto;
    flex: 1;
}

.portlet_fail_table_cell {
    padding: 8px 6px;
    font-size: 11px;
    color: var(--portlet-color-text, #333333);
}

.portlet_table_cell_notice_title {
    padding: 10px 6px;
    font-size: 12px;
    color: var(--portlet-color-text, #333333);
}

.portlet_table_cell_notice_date {
    padding: 10px 6px;
    font-size: 12px;
    color: var(--portlet-color-sub, #666666);
}

.portlet_table_nodata {
    padding: 20px;
    font-size: 12px;
    text-align: center;
    color: var(--portlet-color-sub, #999999);
}

/* ========================================
   Image Slide Portlet
======================================== */
.portlet_image_wrapper {
    display: flex;
    position: relative;
    min-height: 120px;
    margin-top: 10px;
    overflow: hidden;
    flex: 1;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background-color: var(--portlet-bg-image-wrapper, #eaeaea);
}

.portlet_image_track {
    display: flex;
    position: absolute;
    transition: transform 0.5s ease-in-out;
}

.portlet_image_item {
    display: flex;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.portlet_image_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portlet_image_nodata {
    padding: 20px;
    font-size: 13px;
    text-align: center;
    color: var(--portlet-color-sub, #999999);
}

.portlet_image_dots {
    display: flex;
    position: absolute;
    bottom: 8px;
    left: 50%;
    z-index: 10;
    gap: 6px;
    transform: translateX(-50%);
}

.portlet_image_dot {
    width: 8px;
    height: 8px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.portlet_image_dot_active {
    background: var(--portlet-bg-white, #ffffff);
}

/* ========================================
   Vue & Proxy & Chart & Scheduler Portlets
======================================== */
.portlet_vue_mount_node {
    min-height: 120px;
    width: 100%;
    height: 100%;
    flex: 1;
}

.portlet_chart_box {
    display: flex;
    overflow: hidden;
    margin-top: 10px;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.portlet_chart {
    min-height: 200px;
    width: 100%;
    height: 100%;
}

.portlet_iframe {
    width: 100%;
    height: 600px;
    border: 1px solid var(--portlet-line-primary, #cccccc);
}

/* ========================================
   Scheduler Portlet & Modal
======================================== */
.portlet_sched_card {
    display: flex;
    box-sizing: border-box;
    min-width: 360px;
    padding: 20px;
    flex: 1;
    flex-direction: column;
    text-align: left;
    background-color: var(--portlet-bg-card, #ffffff);
}

.portlet_sched_badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: var(--portlet-color-badge, #0369a1);
    background-color: var(--portlet-bg-badge, #e0f2fe);
}

.portlet_sched_refresh_btn {
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-color-primary, #10b981);
    cursor: pointer;
    border: none;
    background: none;
}

.portlet_sched_nodata {
    display: none;
    padding: 30px 0;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: var(--portlet-color-sub, #94a3b8);
}

.portlet_sched_modal_box {
    overflow: hidden;
    width: 520px;
    padding: 0;
    border-radius: 8px;
    background: var(--portlet-bg-card, #ffffff);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.portlet_sched_pop_header {
    display: flex;
    padding: 16px 20px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--portlet-line-light, #e9ecef);
    background: var(--portlet-bg-card, #ffffff);
}

.portlet_sched_pop_title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_sched_close_btn {
    font-size: 18px;
    line-height: 1;
    color: var(--portlet-color-sub, #94a3b8);
    cursor: pointer;
    border: none;
    background: none;
}

.portlet_sched_pop_content {
    padding: 20px;
}

.portlet_sched_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid var(--portlet-line-dark, #666666);
    border-bottom: 1px solid var(--portlet-line-medium, #dee2e6);
}

.portlet_sched_th {
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    color: var(--portlet-color-th, #555555);
    border-bottom: 1px solid var(--portlet-line-light, #eaeaea);
    background-color: var(--portlet-bg-th, #fcfcfc);
}

.portlet_sched_td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--portlet-line-light, #eaeaea);
}

.portlet_sched_chip_box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portlet_sched_chip {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid var(--portlet-line-medium, #ced4da);
    border-radius: 50%;
}

.portlet_sched_type_text {
    font-size: 14px;
    font-weight: 600;
    color: var(--portlet-color-val, #333333);
}

.portlet_sched_title_text {
    font-size: 14px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_sched_time_text {
    font-size: 13px;
    color: var(--portlet-color-sub, #475569);
}

.portlet_sched_detail_content {
    overflow-y: auto;
    min-height: 80px;
    max-height: 180px;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    color: var(--portlet-color-val, #333333);
}

.portlet_sched_btn_box {
    margin-top: 20px;
    text-align: center;
}

.portlet_sched_btn_close {
    padding: 7px 24px;
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background: var(--portlet-color-btn, #64748b);
}

/* ========================================
   Scheduler Page Portlet Elements
======================================== */
.portlet_sched_page_card {
    display: flex;
    box-sizing: border-box;
    padding: 18px;
    flex: 1;
    flex-direction: column;
    background-color: var(--portlet-bg-card, #ffffff);
}

.portlet_sched_btn_regist {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    cursor: pointer;
    border: none;
    background: var(--portlet-color-primary, #10b981);
}

.portlet_sched_btn_refresh {
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-color-sub, #64748b);
    cursor: pointer;
    border: none;
    background: none;
}

.portlet_sched_pop_header_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--portlet-line-primary, #e2e8f0);
}

.portlet_sched_pop_title_text {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_sched_sel_cal {
    width: 140px;
}

.portlet_sched_chk_label {
    margin-left: 15px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
}

.portlet_sched_chk_autowidth {
    width: auto;
    vertical-align: middle;
}

.portlet_sched_inp_date {
    display: inline-block;
    width: 120px;
}

.portlet_sched_sel_time {
    display: inline-block;
    width: 90px;
}

.portlet_sched_textarea {
    height: 80px;
    resize: none;
}

.portlet_sched_btn_group_right {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    text-align: right;
}

.portlet_sched_btn_save {
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    cursor: pointer;
    border: none;
    background: var(--portlet-color-primary, #10b981);
}

.portlet_sched_btn_delete {
    display: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    cursor: pointer;
    border: none;
    background: var(--portlet-color-danger, #ef4444);
}

/* ========================================
   Work Process Step Portlet
======================================== */
.portlet_step_card {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 25px;
    flex-direction: column;
    text-align: left;
    background-color: var(--portlet-bg-card, #ffffff);
}

.portlet_step_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--portlet-color-primary, #10b981);
}

.portlet_step_title {
    font-size: 15px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_step_badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: var(--portlet-color-step-badge, #15803d);
    background-color: var(--portlet-bg-step-badge, #dcfce7);
}

.portlet_step_sub {
    font-size: 11px;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_step_map_box {
    display: flex;
    position: relative;
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
}

.portlet_step_line_bg {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    z-index: 1;
    height: 4px;
    transform: translateY(-50%);
    background-color: var(--portlet-line-light, #e2e8f0);
}

.portlet_step_line_progress {
    position: absolute;
    top: 50%;
    left: 5%;
    z-index: 1;
    width: 45%;
    height: 4px;
    transform: translateY(-50%);
    background-color: var(--portlet-color-primary, #10b981);
}

.portlet_step_item {
    display: flex;
    z-index: 2;
    width: 20%;
    flex-direction: column;
    align-items: center;
}

.portlet_step_circle_succ {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    background-color: var(--portlet-color-primary, #10b981);
    box-shadow: 0 0 0 4px #d1fae5;
}

.portlet_step_circle_ing {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    background-color: var(--portlet-color-blue, #3b82f6);
    box-shadow: 0 0 0 4px #dbeafe;
}

.portlet_step_circle_wait {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-bg-white, #ffffff);
    background-color: var(--portlet-color-sub, #94a3b8);
}

.portlet_step_name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_step_status_succ {
    margin-top: 2px;
    font-size: 11px;
    color: var(--portlet-color-primary, #10b981);
}

.portlet_step_status_ing {
    margin-top: 2px;
    font-size: 11px;
    color: var(--portlet-color-blue, #3b82f6);
}

.portlet_step_status_wait {
    margin-top: 2px;
    font-size: 11px;
    color: var(--portlet-color-sub, #94a3b8);
}

/* ========================================
   Weekly Cafeteria Portlet
======================================== */
.portlet_cafe_card {
    display: flex;
    box-sizing: border-box;
    min-width: 480px;
    padding: 20px;
    flex: 1;
    flex-direction: column;
    text-align: left;
    background-color: var(--portlet-bg-card, #ffffff);
}

.portlet_cafe_box {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.portlet_cafe_item {
    padding: 8px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--portlet-line-light, #e2e8f0);
    border-radius: 8px;
    background-color: var(--portlet-bg-th, #f8fafc);
}

.portlet_cafe_item_today {
    padding: 8px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--portlet-color-primary, #10b981);
    border-radius: 8px;
    background-color: var(--portlet-bg-step-badge, #f0fdf4);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.portlet_cafe_day {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_cafe_day_today {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-color-primary, #10b981);
}

.portlet_cafe_icon {
    margin-bottom: 4px;
    font-size: 14px;
}

.portlet_cafe_menu {
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    color: var(--portlet-color-val, #334155);
}

.portlet_cafe_menu_today {
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    color: var(--portlet-color-dark, #1e293b);
}

/* ========================================
   News Portlet & Detail Modal Elements
======================================== */
.portlet_badge_red {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #ef4444;
    background-color: #fee2e2;
}

.portlet_btn_more {
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: var(--portlet-color-sub, #64748b);
    cursor: pointer;
}

.portlet_modal_box_large {
    overflow: hidden;
    width: 800px;
    border: 1px solid var(--portlet-line-primary, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.portlet_modal_header_dark {
    display: flex;
    padding: 18px 24px;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.portlet_modal_title_area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portlet_modal_icon_chip {
    display: inline-flex;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #60a5fa;
    background-color: rgba(59, 130, 246, 0.2);
}

.portlet_modal_title_white {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.portlet_modal_close_btn {
    padding: 0 4px;
    font-size: 20px;
    line-height: 1;
    color: var(--portlet-color-sub, #94a3b8);
    cursor: pointer;
    transition: color 0.2s;
    border: none;
    background: transparent;
}

.portlet_modal_content_body {
    overflow-y: auto;
    max-height: 580px;
    padding: 24px;
    background-color: #ffffff;
}

.portlet_detail_card_header {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--portlet-line-primary, #e2e8f0);
    border-radius: 12px;
    background-color: var(--portlet-bg-th, #f8fafc);
}

.portlet_detail_subject {
    margin: 0 0 12px 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-all;
    color: var(--portlet-color-dark, #0f172a);
}

.portlet_detail_meta_box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.portlet_detail_meta_pill {
    display: inline-flex;
    padding: 4px 10px;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background-color: #ffffff;
}

.portlet_detail_content_box {
    margin-bottom: 24px;
}

.portlet_detail_label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_detail_body {
    box-sizing: border-box;
    min-height: 180px;
    padding: 20px;
    border: 1px solid var(--portlet-line-primary, #e2e8f0);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-all;
    color: #334155;
    background-color: #ffffff;
}

.portlet_modal_footer {
    padding: 14px 24px;
    text-align: right;
    border-top: 1px solid var(--portlet-line-primary, #e2e8f0);
    background-color: var(--portlet-bg-th, #f8fafc);
}

.portlet_modal_btn_close {
    height: 36px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 34px;
}

.portlet_weather_sel_city {
    overflow: hidden;
    width: 75px;
    padding: 2px 18px 2px 6px;
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 4px;
    font-size: 11px;
    color: var(--portlet-color-sub, #475569);
    cursor: pointer;
    outline: none;
    background-color: #ffffff;
    flex-shrink: 0;
}

/* ========================================
   Tab Container Sub-Portlet Encapsulation
======================================== */
.widget-tab-container-card .tab-content-container .card-header-bar,
.widget-tab-container-card .tab-content-container .grid-stack-item-header {
    display: none !important;
}

.widget-tab-container-card .tab-content-container .urero-portlet,
.widget-tab-container-card .tab-content-container .urero-portlet-card,
.widget-tab-container-card .tab-content-container .widget-notice-card,
.widget-tab-container-card .tab-content-container .widget-news-card,
.widget-tab-container-card .tab-content-container .widget-board-card,
.widget-tab-container-card .tab-content-container .widget-tab-board-card,
.widget-tab-container-card .tab-content-container .widget-faq-card {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ========================================
   Iframe Dynamic Scroll Helpers
======================================== */
.scroll-x-allow {
    overflow-x: auto !important;
}

.scroll-x-deny {
    overflow-x: hidden !important;
}

.scroll-y-allow {
    overflow-y: auto !important;
}

.scroll-y-deny {
    overflow-y: hidden !important;
}

/* ========================================
   Board Card Section Elements
======================================== */
.portlet_card_section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--portlet-line-primary, #e2e8f0);
}

.portlet_card_section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.portlet_section_subject {
    display: flex;
    margin: 0 0 10px 0;
    gap: 8px;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--portlet-color-dark, #0f172a);
}

.portlet_section_subject::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background-color: var(--portlet-color-blue, #3b82f6);
}

.portlet_section_content {
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
    color: var(--portlet-color-sub, #475569);
}

.portlet_section_content img {
    max-width: 100%;
    height: auto;
    margin: 8px 0;
    border-radius: 6px;
}

/* ========================================
   Board Portlet Search & Buttons
======================================== */
.portlet_search_wrapper {
    display: flex;
    margin-bottom: 10px;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.portlet_search_input {
    width: 200px;
    min-width: 200px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 4px;
    font-size: 12px;
}

.portlet_search_btn {
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--portlet-color-blue, #3b82f6);
    border-radius: 4px;
    font-size: 12px;
    line-height: 26px;
    color: var(--portlet-bg-white, #ffffff);
    cursor: pointer;
    background-color: var(--portlet-color-blue, #3b82f6);
}

.portlet_search_btn:hover {
    border-color: #2563eb;
    background-color: #2563eb;
}

.portlet_board_link_detail {
    text-decoration: underline;
    color: #1a4d8c;
    cursor: pointer;
}

.portlet_board_link_detail:hover {
    color: var(--portlet-color-blue, #3b82f6);
}

/* ========================================
   News Item & Modal Overlay Common Classes
======================================== */
.portlet_news_item {
    display: flex;
    padding: 4px 6px;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.portlet_news_item:hover {
    background-color: var(--portlet-bg-th, #f8fafc);
}

.layerBoardDetailPop {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    width: 100vw !important;
    height: 100vh !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(15, 23, 42, 0.6) !important;
}

/* ========================================
   Stock Market Elements
======================================== */
.portlet_stock_item_row {
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--portlet-line-light, #f1f5f9);
}

.portlet_stock_item_row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.portlet_badge_blue {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #1d4ed8;
    background-color: #dbeafe;
}

/* ========================================
   Company History Timeline Elements
======================================== */
.portlet_history_timeline {
    display: flex;
    position: relative;
    margin-left: 10px;
    padding-left: 15px;
    gap: 15px;
    flex-direction: column;
    border-left: 2px solid var(--portlet-line-primary, #e2e8f0);
}

/* ========================================
   Image Board Grid Landing List
======================================== */
.widget-image-board .landing_list {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.widget-image-board .landing_list ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 16px;
    list-style: none;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.widget-image-board .landing_list .item {
    display: block;
    overflow: hidden;
    border: 1px solid var(--portlet-line-primary, #e2e8f0);
    border-radius: 8px;
    text-decoration: none;
    color: var(--portlet-color-body, #333333);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: var(--portlet-bg-card, #ffffff);
}

.widget-image-board .landing_list .item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.widget-image-board .landing_list .img_box {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: var(--portlet-bg-light, #f1f5f9);
}

.widget-image-board .landing_list .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-image-board .landing_list .item:hover .img_box img {
    transform: scale(1.06);
}

.widget-image-board .landing_list .txt_box {
    padding: 12px;
}

/* ========================================
   FAQ Accordion Card Elements
======================================== */
.portlet_faq_toggle {
    display: flex;
    padding: 8px 4px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--portlet-line-light, #f1f5f9);
    font-size: 13px;
    font-weight: 600;
    color: var(--portlet-color-dark, #334155);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.portlet_faq_toggle:hover {
    background-color: var(--portlet-bg-th, #f8fafc);
}

.portlet_faq_answer {
    display: none;
    margin-top: 4px;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--portlet-color-sub, #64748b);
    background-color: var(--portlet-bg-th, #f8fafc);
}

/* ========================================
   C3 Chart Tooltip & DatePicker Adjustments
======================================== */
.c3-tooltip-container {
    z-index: 10000 !important;
}

.c3-tooltip {
    width: auto !important;
    min-width: 120px !important;
    border: 1px solid var(--portlet-line-medium, #cbd5e1) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    font-size: 12px !important;
    color: var(--portlet-color-dark, #334155) !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.95 !important;
    background-color: #ffffff !important;
}

.c3-tooltip th {
    padding: 6px 10px !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-align: left !important;
    color: var(--portlet-color-dark, #1e293b) !important;
    border-bottom: 1px solid var(--portlet-line-primary, #e2e8f0) !important;
    background-color: var(--portlet-bg-light, #f1f5f9) !important;
}

.c3-tooltip td {
    padding: 6px 10px !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    text-align: left !important;
    border-top: none !important;
    border-bottom: none !important;
    background-color: #ffffff !important;
}

.c3-tooltip td>span {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin-right: 6px !important;
    border-radius: 50% !important;
    vertical-align: middle !important;
}

.c3-tooltip td.value {
    font-weight: bold !important;
    text-align: right !important;
    color: var(--portlet-color-dark, #0f172a) !important;
}

/* ========================================
   ToastUI Calendar Adjustments
======================================== */
.widget-calendar-wide-card [class*="-exceed"],
.widget-calendar-wide-card [class*="-more"],
.widget-calendar-wide-card [class*="-see-more"],
.widget-calendar-wide-card .toastui-calendar-weekday-event-exceed,
.widget-calendar-wide-card .toastui-calendar-month-more,
.widget-calendar-wide-card .toastui-calendar-grid-selection {
    display: none !important;
    pointer-events: none !important;
}

.toastui-calendar-layout {
    font-family: inherit !important;
}

.toastui-calendar-weekday-event-title {
    font-size: 9px !important;
    font-weight: 600 !important;
}

.toastui-calendar-grid-cell-date {
    font-size: 10px !important;
    font-weight: 500 !important;
}

.widget-calendar-wide-card .toastui-calendar-weekday-grid-date-decorator,
.widget-calendar-wide-card .toastui-calendar-grid-cell-date-decorator {
    width: 18px !important;
    height: 18px !important;
    font-size: 9px !important;
    line-height: 18px !important;
}

.widget-calendar-wide-card .cal-day-cell-wrapper {
    cursor: pointer !important;
}

.widget-calendar-wide-card .cal-day-cell-wrapper.selected-day-active .cal-day-number {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    font-weight: bold !important;
    line-height: 18px !important;
    text-align: center !important;
    color: #ffffff !important;
    background-color: var(--portlet-color-primary, #10b981) !important;
}

/* ========================================
   Scheduler Page Portlet Elements
======================================== */
.widget-scheduler-page-card .sched-toolbar {
    display: flex;
    margin-bottom: 10px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.widget-scheduler-page-card .sched-nav-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.widget-scheduler-page-card .sched-nav-btn {
    padding: 4px 10px;
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 4px;
    font-size: 12px;
    color: var(--portlet-color-sub, #475569);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.widget-scheduler-page-card .sched-nav-btn:hover {
    color: var(--portlet-color-dark, #0f172a);
    background-color: var(--portlet-bg-light, #f1f5f9);
}

.widget-scheduler-page-card .sched-view-title {
    margin-left: 8px;
    font-size: 16px;
    font-weight: bold;
    color: var(--portlet-color-dark, #0f172a);
}

.widget-scheduler-page-card .sched-filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
}

.widget-scheduler-page-card .sched-filter-item {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 12px;
    color: var(--portlet-color-sub, #475569);
    cursor: pointer;
}

.widget-scheduler-page-card .sched-view-mode-group {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 4px;
}

.widget-scheduler-page-card .btn-view-mode {
    padding: 4px 10px;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid var(--portlet-line-medium, #cbd5e1);
    font-size: 11px;
    color: var(--portlet-color-sub, #64748b);
    cursor: pointer;
    background-color: #ffffff;
}

.widget-scheduler-page-card .btn-view-mode:last-child {
    border-right: none;
}

.widget-scheduler-page-card .btn-view-mode.active {
    font-weight: bold;
    color: #ffffff;
    background-color: var(--portlet-color-primary, #10b981);
}

.widget-scheduler-page-card .year-grid-view {
    display: grid;
    flex: 1;
    overflow-y: auto;
    padding: 5px;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.widget-scheduler-page-card .year-month-box {
    display: flex;
    padding: 10px;
    flex-direction: column;
    border: 1px solid var(--portlet-line-primary, #e2e8f0);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--portlet-bg-th, #f8fafc);
}

.widget-scheduler-page-card .year-month-box:hover {
    border-color: var(--portlet-color-primary, #10b981);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
    background-color: #f0fdf4;
}

.widget-scheduler-page-card .year-month-header {
    display: flex;
    margin-bottom: 6px;
    padding-bottom: 4px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--portlet-line-medium, #cbd5e1);
}

.widget-scheduler-page-card .year-month-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-dark, #0f172a);
}

.widget-scheduler-page-card .year-month-count {
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--portlet-color-primary, #10b981);
}

.widget-scheduler-page-card .year-month-events {
    display: flex;
    max-height: 120px;
    flex: 1;
    overflow-y: auto;
    gap: 4px;
    flex-direction: column;
}

.widget-scheduler-page-card .year-event-item {
    overflow: hidden;
    padding: 2px 4px;
    border-left: 3px solid var(--portlet-color-primary, #10b981);
    border-radius: 3px;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--portlet-color-dark, #334155);
    background-color: #ffffff;
}

.widget-scheduler-page-card .calendar-cat-1 {
    border-left-color: #3b82f6 !important;
}

.widget-scheduler-page-card .calendar-cat-2 {
    border-left-color: #10b981 !important;
}

.widget-scheduler-page-card .calendar-cat-3 {
    border-left-color: #f59e0b !important;
}

.portlet-sched-pop-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
}

.portlet-sched-pop-box {
    box-sizing: border-box;
    width: 480px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.portlet-sched-pop-box table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.portlet-sched-pop-box th {
    width: 90px;
    padding: 8px 0;
    vertical-align: middle;
    font-size: 13px;
    text-align: left;
    color: var(--portlet-color-dark, #334155);
}

.portlet-sched-pop-box td {
    padding: 6px 0;
}

.portlet-sched-pop-box input[type="text"],
.portlet-sched-pop-box select,
.portlet-sched-pop-box textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 4px;
    font-size: 12px;
}

/* ========================================
   Search Portlet Section Elements
======================================== */
/* 검색 포틀릿 전용 오버플로우 해제 및 최상위 z-index 보장 */
.grid-stack-item:has(.naver-search-section),
.grid-stack-item-content:has(.naver-search-section),
.widget-content-body:has(.naver-search-section),
.bottom-box.no-border:has(.naver-search-section) {
    overflow: visible !important;
    z-index: 500 !important;
}

.naver-search-section {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 30px auto 15px auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 500;
}

.portlet_search_column_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 500;
}

.portlet_search_logo {
    line-height: 1;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--portlet-color-primary, #10b981);
    cursor: pointer;
    user-select: none;
}

.portlet_search_logo_sub {
    margin-left: 2px;
    font-weight: 800;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_search_input_container {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    z-index: 500;
}

.portlet_search_input_box {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    align-items: center;
    border: 2px solid var(--portlet-color-primary, #10b981);
    border-radius: 26px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.08);
    transition: all 0.2s ease;
    background-color: #ffffff;
    position: relative;
    z-index: 501;
}

.portlet_search_autocomplete_dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    padding: 8px 0;
    z-index: 99999 !important;
    box-sizing: border-box;
}

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

.portlet_search_ac_item {
    display: flex;
    align-items: center;
    padding: 10px 22px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    transition: background-color 0.15s ease;
}

.portlet_search_ac_item:hover,
.portlet_search_ac_item.active {
    background-color: #f1f5f9;
    color: #0f172a;
}

.portlet_search_ac_icon {
    font-size: 13px;
    color: #94a3b8;
    margin-right: 12px;
    flex-shrink: 0;
}

.portlet_search_ac_text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portlet_search_ac_match {
    color: #10b981;
    font-weight: 700;
}

.portlet_search_input_field {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    color: var(--portlet-color-dark, #1e293b);
    border: none;
    outline: none;
    background: transparent;
}

.portlet_search_clear_btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.15s ease;
}

.portlet_search_clear_btn:hover {
    background-color: #cbd5e1;
    color: #0f172a;
}

.portlet_search_submit_btn {
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--portlet-color-primary, #10b981);
    cursor: pointer;
    border: none;
    background: none;
}

.portlet_search_tags_wrap {
    display: flex;
    margin-top: 4px;
    gap: 12px;
    font-size: 12px;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_search_tag_label {
    font-weight: bold;
    color: var(--portlet-color-sub, #475569);
}

.portlet_search_tag_active {
    font-weight: 600;
    text-decoration: none;
    color: var(--portlet-color-primary, #10b981);
}

.portlet_search_tag_link {
    font-weight: 500;
    text-decoration: none;
    color: var(--portlet-color-sub, #475569);
}

/* ========================================
   Dynamic JS Rendering Helper Classes
======================================== */
.portlet_news_list {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 12px;
    flex-direction: column;
    list-style: none;
}

.portlet_news_item_title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--portlet-color-dark, #334155);
}

.portlet_news_item_date {
    font-size: 11px;
    color: var(--portlet-color-sub, #94a3b8);
    flex-shrink: 0;
}

.portlet_weather_box {
    display: flex;
    margin-bottom: 18px;
    gap: 25px;
    align-items: center;
}

.portlet_weather_icon {
    line-height: 1;
    font-size: 45px;
}

.portlet_weather_temp {
    line-height: 1;
    font-size: 30px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_weather_desc {
    margin-top: 6px;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-color-primary, #10b981);
}

.portlet_sched_item_body {
    flex: 1;
    min-width: 0;
    margin-right: 8px;
}

.portlet_sched_item_title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_sched_item_time {
    margin-top: 4px;
    font-size: 11px;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_sched_item_badge {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ========================================
   Todo Checklist Elements
======================================== */
.portlet_todo_list {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 12px;
    flex-direction: column;
    list-style: none;
}

.portlet_todo_item {
    display: flex;
    padding: 4px 0;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.portlet_todo_check {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--portlet-color-primary, #10b981);
}

.portlet_todo_label {
    width: 100%;
    font-size: 13px;
    color: var(--portlet-color-dark, #334155);
    cursor: pointer;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.portlet_todo_label.checked {
    text-decoration: line-through;
    color: var(--portlet-color-sub, #94a3b8);
}

/* ========================================
   Table Column Width Helper Classes
======================================== */
.portlet_col_w50 {
    width: 50%;
}

.portlet_col_w40 {
    width: 40%;
}

.portlet_col_w30 {
    width: 30%;
}

.portlet_col_w20 {
    width: 20%;
}

.portlet_col_w18 {
    width: 18%;
}

.portlet_col_w16 {
    width: 16%;
}

/* ========================================
   Stock Market Dynamic Render Helper Classes
======================================== */
.portlet_stock_title {
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-sub, #475569);
}

.portlet_stock_clpr {
    margin-top: 3px;
    font-size: 17px;
    font-weight: bold;
}

.portlet_stock_right {
    text-align: right;
}

.portlet_stock_vs {
    font-size: 12px;
    font-weight: bold;
}

.portlet_stock_flt {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 500;
}

.portlet_color_primary {
    color: var(--portlet-color-primary, #10b981) !important;
}

.portlet_color_up {
    color: #ef4444 !important;
}

.portlet_color_down {
    color: #3b82f6 !important;
}

.portlet_color_orange {
    color: #ea580c !important;
}

.portlet_color_flat {
    color: #64748b !important;
}

/* ========================================
   Shopping Recommendation Card Elements
======================================== */
.portlet_shop_grid {
    display: flex;
    gap: 15px;
    justify-content: space-around;
}

.portlet_shop_item {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    background-color: #faf5ff;
    cursor: pointer;
}

.portlet_shop_icon {
    margin-bottom: 5px;
    font-size: 26px;
}

.portlet_shop_name {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: bold;
    color: #4b5563;
}

.portlet_shop_price {
    margin-top: 3px;
    font-size: 13px;
    font-weight: bold;
    color: #c084fc;
}

.portlet_shop_discount {
    font-size: 10px;
    color: #ef4444;
}

/* ========================================
   Personal Info Portlet Elements
======================================== */
.portlet_profile_header {
    display: flex;
    margin-bottom: 20px;
    gap: 15px;
    align-items: center;
}

.portlet_profile_avatar {
    display: flex;
    width: 52px;
    height: 52px;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--portlet-color-primary, #10b981);
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: var(--portlet-color-sub, #475569);
    background-color: #f1f5f9;
}

.portlet_profile_meta {
    text-align: left;
}

.portlet_profile_name_box {
    display: flex;
    gap: 6px;
    align-items: center;
}

.portlet_profile_name {
    font-size: 16px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_profile_id {
    font-size: 12px;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_profile_stats {
    display: flex;
    margin-bottom: 15px;
    padding-top: 15px;
    justify-content: space-around;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.portlet_profile_stat_item {
    flex: 1;
    cursor: pointer;
}

.portlet_profile_stat_label {
    margin-bottom: 4px;
    font-size: 11px;
    color: var(--portlet-color-sub, #64748b);
}

.portlet_profile_stat_val {
    font-size: 16px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_profile_divider {
    height: 30px;
    border-left: 1px solid #f1f5f9;
}

.portlet_profile_pay_box {
    display: flex;
    padding: 12px;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    font-size: 13px;
    background-color: #f8fafc;
}

/* ========================================
   Chart Control Elements
======================================== */
.portlet_chart_controls_wrap {
    display: flex;
    width: 70%;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.portlet_chart_date_group {
    display: flex;
    position: relative;
    gap: 4px;
    align-items: center;
}

.portlet_chart_datepicker_box {
    width: 95px !important;
}

.portlet_chart_date_input {
    font-size: 11px !important;
}

.portlet_chart_date_pop_start {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 10001;
}

.portlet_chart_date_pop_end {
    position: absolute;
    top: 30px;
    left: 120px;
    z-index: 10001;
}

.portlet_chart_select {
    width: 110px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--portlet-color-dark, #1e293b);
    border: 1px solid var(--portlet-line-medium, #cbd5e1);
    border-radius: 4px;
    background-color: #f8fafc;
    cursor: pointer;
}

/* ========================================
   Live Poll Card Elements
======================================== */
.portlet_poll_q {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-dark, #334155);
}

.portlet_poll_options {
    display: flex;
    margin-bottom: 15px;
    gap: 8px;
    flex-direction: column;
}

.portlet_poll_option_label {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--portlet-color-sub, #475569);
    cursor: pointer;
}

.portlet_poll_radio {
    accent-color: var(--portlet-color-primary, #10b981);
}

.portlet_poll_submit_btn {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    background-color: var(--portlet-color-primary, #10b981);
    cursor: pointer;
}

.portlet_poll_result_box {
    display: none;
    gap: 10px;
    flex-direction: column;
}

.portlet_poll_bar_bg {
    overflow: hidden;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background-color: #f1f5f9;
}

.portlet_poll_bar_fill {
    height: 100%;
}

.portlet_poll_bar_fill.fill-1 {
    width: 54%;
    background-color: #10b981;
}

.portlet_poll_bar_fill.fill-2 {
    width: 31%;
    background-color: #3b82f6;
}

.portlet_poll_bar_fill.fill-3 {
    width: 15%;
    background-color: #ea580c;
}

/* ========================================
   Entertainment Ranking Card Elements
======================================== */
.portlet_rank_num {
    flex-shrink: 0;
    width: 15px;
    margin-top: 1px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--portlet-color-sub, #475569);
}

.portlet_rank_num.top-1 {
    color: var(--portlet-color-primary, #10b981);
}

/* ========================================
   Calendar Wide Card Elements
======================================== */
.sched-list-title {
	margin-bottom: 15px;
}


.portlet_cal_split_box {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 30px;
}

.portlet_cal_left_col {
    display: flex;
    flex: 0.75;
    min-width: 230px;
    flex-direction: column;
}

.portlet_cal_right_col {
    display: flex;
    flex: 1.2;
    min-width: 300px;
    flex-direction: column;
}

.portlet_cal_widget_wrap {
    flex: 1;
    min-height: 200px;
    padding: 4px;
    border: 1px solid var(--portlet-line-light, #e2e8f0);
    border-radius: 6px;
    box-sizing: border-box;
}

.portlet_cal_nav_box {
    display: flex;
    padding: 2px 8px;
    gap: 6px;
    align-items: center;
    border-radius: 6px;
    background-color: #f1f5f9;
}

.portlet_cal_nav_btn {
    font-size: 11px;
    font-weight: bold;
    color: var(--portlet-color-sub, #64748b);
    border: none;
    background: none;
    cursor: pointer;
}

.portlet_cal_nav_title {
    min-width: 55px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--portlet-color-sub, #475569);
}

/* ========================================
   Company History Timeline Elements
======================================== */
.portlet_history_group {
    position: relative;
    margin-top: 10px;
}

.portlet_history_group.first {
    margin-top: 0;
}

.portlet_history_dot {
    position: absolute;
    top: 2px;
    left: -22px;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background-color: var(--portlet-color-sub, #94a3b8);
}

.portlet_history_dot.active {
    background-color: var(--portlet-color-primary, #10b981);
}

.portlet_history_year {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
    color: var(--portlet-color-sub, #475569);
}

.portlet_history_year.active {
    color: var(--portlet-color-primary, #10b981);
}

.portlet_history_item_wrap {
    display: flex;
    gap: 4px;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.6;
    color: var(--portlet-color-sub, #475569);
}

.portlet_history_click_item {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.portlet_history_month_tag {
    font-weight: 600;
    color: var(--portlet-color-dark, #1e293b);
}

/* ========================================
   Schedule Detail Modal Overlay & Box
======================================== */
.sched-detail-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.45);
}

.portlet_sched_modal_box {
    overflow: hidden;
    width: 520px;
    padding: 0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Schedule Portlet Item List Elements
======================================== */
.sched-portlet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-left: 4px solid var(--portlet-color-primary, #10b981);
    border-radius: 6px;
    background-color: #f8fafc;
    cursor: pointer;
}

.portlet_sched_item_body {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.portlet_sched_item_title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

.portlet_sched_item_time {
    white-space: nowrap;
    font-size: 11px;
    color: var(--portlet-color-sub, #64748b);
}

/* ========================================
   Weather Portlet Sub Meta (Humidity & Wind Speed)
======================================== */
.weather-sub-meta {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--portlet-color-sub, #64748b);
}

.weather-sub-meta .val {
    margin-left: 4px;
    font-size: 13px;
    font-weight: bold;
    color: var(--portlet-color-dark, #1e293b);
}

/* ========================================
   Tab News Portlet Elements
======================================== */
.tab-header-bar {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 8px;
    gap: 6px;
    align-items: center;
    border-bottom: 2px solid var(--portlet-color-primary, #10b981);
}

.tab-btn {
    padding: 5px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f1f5f9;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--portlet-color-primary, #10b981);
    color: #ffffff;
    background-color: var(--portlet-color-primary, #10b981);
}

.tab-board-list-container {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.tab-board-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tab-board-item:hover {
    background-color: #f8fafc;
}

/* ========================================
   FAQ Accordion Portlet
======================================== */
.faq-arrow {
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.faq-arrow.open {
    color: #8b5cf6;
}

/* ========================================
   Chart Portlets (Pie & Bar) - No Scroll
======================================== */
.widget-piechart-card .portlet_content_body,
.widget-piechart-card .urero-portlet-content-body,
.widget-barchart-card .portlet_content_body,
.widget-barchart-card .urero-portlet-content-body {
    overflow: hidden;
}

.widget-piechart-card .chart-wrapper,
.widget-barchart-card .chart-wrapper {
    width: 100%;
    height: 100%;
}