:root {
    --theme-primary: #00ffe0;
    --theme-primary-rgb: 0, 255, 224;
}

body{
    background-color:black;
}

.content{
    padding:25px 25px 25px 17px;
}

header {
    background-color: black !important;
    border-bottom: 1px solid #2e2d2d;
    position: relative !important;
    z-index: 9999 !important;
}

.navmenu, .sitenav, .fluent-nav-menu {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    font-family: 'Segoe UI', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    border-right: 1px solid #2a2a2a;
}

.fluent-nav-menu.collapsed .fluent-nav-link {
    padding: 0px !important;
}

.fluent-nav-menu.collapsed .nav-menu-title {
    display: none;
}

.nav-menu-title {
    padding: 25px 15px 25px 15px;
}

.fluent-nav-link {
    color: #e0e0e0 !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    transition: background-color 0.2s;
}
    .fluent-nav-link.active {
        background-color: #1f1f1f !important;
        color: #00ffe0 !important;
    }

    .fluent-nav-link:hover {
        background-color: #1f1f1f !important;
        color: #00ffe0 !important;
    }

.fluent-nav-group__title {
    color: #a0a0a0 !important;
    font-weight: bold;
    padding-left: 12px;
}

.custom-dialog-div {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.custom-div-card {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
}


.user-search-info-title {
    background-color: #1E2125;
    font-size: 14px;
    height: 35px;
    width: 100%;
    border-radius: 8px 8px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-search-info-content {
    font-size: 14px;
    height: 60px;
    width: 100%;
    position: relative;
    background-color: #111318;
    border-radius: 0px 0px 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap; /* 1. 줄바꿈을 강제로 금지 (무조건 한 줄) */
    overflow: hidden; /* 2. 컨테이너를 벗어나는 텍스트 숨김 */
    text-overflow: ellipsis; /* 3. 숨겨진 텍스트를 "..."로 표시 */
}

.info-icon {
    position: absolute;
    right: 20px;
}



.positioning-region,
.content-region {
    background-color: transparent !important;
    color: #e0e0e0 !important;
    border-radius: 6px !important;
    transition: none !important;
}

/* Icon Color */
.fluent-nav-icon {
    fill: #aaaaaa !important;
}


.chart-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}


.table-red {
    font-size:14px;
    color: #FF0066;
}

.table-gray {
    font-size: 14px;
}

.table-green {
    font-size: 14px;
    color: #92D050;
}

.more-button {
    align-items: center;
    justify-content: center;
    min-width: 75px;
    padding: 4px;
}

    .more-button::part(control) {
        background-color: #5B3DFE;
        font-size: 14px;
        color: lightgray;
        border-radius: 999px;
        min-width: 75px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px 12px;
        font-weight: 600;
    }

    .more-button[aria-disabled="true"]::part(control) {
        background-color: #404040 !important;
        color: gray !important;
        opacity: 0.6;
    }


.custom-propertycolumn{
    height:50px !important;
}
/*Table?*/
.custom-table-colum {
    min-width: max-content;
    min-height: max-content;
    height: 60px;
    font-size: 18px;
    color: lightgray;
}

/*DropDown*/
.custom-select {
    max-width: 200px;
    min-width: 125px;
}
    .custom-select::part(control) {
        padding: 4px 16px;
        background-color: #111111;
        overflow: visible !important;
        border-radius: 18px;
        border: 1px solid gray;
        color: lightgray;
    }

    .custom-select::part(listbox) {
        padding: 4px 0;
        max-height: 175px !important;
    }

/*Button*/
.custom-button::part(control) {
    background-color: #5744E5;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border: none;
    min-width: 80px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*	.custom-button.selected {
		background-color: #0078D4;
		color: white;
	}
*/
.custom-button.selected::part(control) {
    background-color: #2c2273;
    color: white;
}


.custom-button-cancel::part(control) {
    background-color: #403f3f;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border: none;
    min-width: 80px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-fluentgrid {
    gap: 12px;
}

/*password*/
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-eye-icon {
    position: absolute;
    right: 15px;
    cursor: pointer;
}


/*Grid*/
.custom-grid {
    font-size: 14px;
    border-spacing: 0;
    width: 100%;
    background-color: #111318;
    overflow-y: auto;
}
    .custom-grid .custom-table-column {
        padding: 12px 16px;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }

    .custom-grid th {
        background-color: #1E2125;
        color: #ccc;
        font-weight: 600;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content:center;
        vertical-align: middle;
        min-width: 80px;
        padding: 0px !important;
    }

    .custom-grid td {
        border-bottom: 1px solid #333;
        background-color: #111318;
        color: white;
        min-width: 80px;
        padding: 5px !important;
    }

    .custom-grid tr:hover td {
        background-color: #1a1d22;
    }

    .fluent-grid {
        height: 100%;
        min-height: 0;
        background-color: transparent;
    }

.custom-colum {
    height: 60px !important;
    font-size: 18px;
    position: relative;
}

/*Table Line*/
.fluent-data-grid th {
    border-right: 1px solid #333;
}

.fluent-data-grid td {
    border-right: 1px solid #333;
}

    .fluent-data-grid th:last-child,
    .fluent-data-grid td:last-child {
        border-right: none;
    }


/* All Scroll */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1A1A2B;
}

::-webkit-scrollbar-thumb {
    background-color: #5B4BFF;
    border-radius: 6px;
    border: 2px solid #1A1A2B;
}
    ::-webkit-scrollbar-thumb:hover {
        background-color: #7C6AFF;
    }



/* Card */
.card-top {
    display: flex;
    flex-direction: column;
    background-color: #111111;
    min-height: 450px;
    max-height: 1000px;
}

/*Fluent-number-field*/
.custom-number-field::part(control) {
    text-align: right;
    width:70px;
}

number-field-right::part(control) {
    text-align:right;
    width:100%;
}

    .custom-number-field::part(controls) {
    display: none;
}

/*TextField-Right*/
.custom-textfield-right::part(control) {
    text-align: right;
}

/*Dialog*/
.fluent-dialog-main::part(control) {
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    background-color: #111111;
    width: 380px !important;
}

.fluent-dialog-main::part(positioning-region) {
    background-color: rgb(0,0,0,0.7)
}

.fluent-dialog-header {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px !important;
    min-height:45px;
}

.fluent-dialog-body {
    height:100% !important;
    flex:1 !important;
    color: #e0e0e0;
}

.fluent-dialog-footer {
    display: flex;
    padding: 15px 15px 15px 15px !important;
    justify-content: center !important;
    align-items: center !important;
}

.fluent-dialog-header fluent-button,
.fluent-dialog-header button {
    position: absolute !important;
    top: 8px;
    left: auto;
    right: 8px;
}


.card-Loding {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none;
    z-index: 999;
    border-radius: 4px;
}

/* 다이얼로그 또는 화면에 창을 뛰울때 로딩을 사용할경우 해당razor 을 감싸는 div 의 스타일 */
.loading-container {
    position: relative;
    height: 100%;
}

/* 로딩 창 화면중앙  */
.custom-Loding {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}
/* 로딩 중일 때 원래 다이얼로그 숨김*/
.dialog-content-hidden {
    display: none;
}

/*Select Multi*/
fluent-select[multiple] {
    max-height: 200px;
    overflow-y: auto;
    /* (선택적) 테두리 등 시각적 구분을 위한 스타일 */
    border: 1px solid var(--neutral-stroke-rest);
    border-radius: calc(var(--control-corner-radius) * 1px);
    display: block; /* 높이 적용을 위해 block 요소로 만듦 */
}


/*닉네임 유저검색 링크*/
.rink-fluentanchor {
}
    .rink-fluentanchor::part(control) {
        background: transparent !important;
        border: none !important;
        color: #9EFBFB;
    }

.rink-fluentLabel {
    background: transparent !important;
    border: none !important;
    color:  #9EFBFB !important;
    cursor: pointer;
}

.custom-cell {
    height: 50px !important;
}

.custom-dialog-body{

}

.custom-dialog-body, 
.fluent-dialog-main::part(control) {
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    background-color: #111111;
    width: 380px !important;
}

.custom-cell-title {
    border-radius: 0px;
    height: 50px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}

.custom-cell-content {
    border-radius: 0px;
    height: 50px;
    border-bottom: 1px solid #333;
}

/* 공통 입력창 설명 (옅은 녹색) */
.input-desc {
    font-size: 15px;
    color: #5cdbb5; /* 기존 #13cbac보다 옅고 부드러운 녹색 */
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: -0.2px;
    display: inline-block;
}

/* ==========================================================================
   Dashboard V2 Common Styles (Cards, Tables, Filters, Modals)
   ========================================================================== */
.agent-dashboard-wrapper,
.pending-marketing-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 24px;
}

/* Filter */
.filter-container {
    display: flex;
    align-items: center;
    background: #161f30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 24px;
    width: 100%;
    margin-bottom: 8px;
    position: relative;
    z-index: 10;
}
.filter-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    padding-left: 8px;
    white-space: nowrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}
.filter-label {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: -0.3px;
}
.date-picker-wrapper {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2px 12px;
    transition: all 0.25s ease;
}
.date-picker-wrapper:focus-within {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px rgba(var(--theme-primary-rgb), 0.2);
}
.date-picker-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 4px;
    outline: none;
    font-family: inherit;
}
.date-picker-input::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(180deg);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.date-picker-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.date-separator {
    color: #64748b;
    font-weight: 600;
    padding: 0 8px;
}
.filter-apply-btn, .modal-btn-confirm {
    background: linear-gradient(135deg, var(--theme-primary) 0%, rgba(var(--theme-primary-rgb), 0.8) 100%);
    color: #0f172a;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.2);
}
.filter-apply-btn:hover, .modal-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb), 0.35);
    filter: brightness(1.1);
}
.filter-apply-btn:active, .modal-btn-confirm:active {
    transform: translateY(1px);
}
.action-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}
.action-btn:active {
    transform: translateY(1px);
}

/* Checkbox */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.checkbox-label input[type="checkbox"]:checked {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
}
.checkbox-label input[type="checkbox"]:checked::after {
    content: "✓";
    font-size: 13px;
    color: #0f172a;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 900;
}
.checkbox-text {
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
}

/* Cards & Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.agent-card, .supporters-card, .table-card {
    background: rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.agent-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(var(--theme-primary-rgb), 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.agent-card:hover, .supporters-card:hover, .table-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 12px 30px rgba(var(--theme-primary-rgb), 0.1);
    background: rgba(30, 41, 59, 0.35);
}
.agent-card:hover::after {
    opacity: 1;
}
.total-card {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.08) 0%, rgba(0, 114, 255, 0.08) 100%);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.25);
}
.total-card::after {
    background: radial-gradient(circle at 100% 0%, rgba(var(--theme-primary-rgb), 0.15) 0%, transparent 60%);
    opacity: 1;
}
.total-card:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 12px 35px rgba(var(--theme-primary-rgb), 0.2);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 14px;
}
.nickname {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}
.total-card .nickname {
    color: var(--theme-primary);
    text-shadow: 0 0 10px rgba(var(--theme-primary-rgb), 0.3);
}
.level-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.total-card .level-badge {
    background: rgba(var(--theme-primary-rgb), 0.15);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    color: var(--theme-primary);
}
.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 2px 0;
}
.info-label {
    color: #94a3b8;
}
.info-value {
    font-weight: 600;
    color: #f1f5f9;
    font-feature-settings: "tnum";
}
.total-card .info-value {
    color: #ffffff;
}
.info-row.text-highlight {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    margin-top: 4px;
}
.text-profit {
    color: #10b981;
    font-size: 15px;
    font-weight: 700;
}
.total-card .text-profit {
    color: #34d399;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}

/* Custom HTML Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.custom-html-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.custom-html-table th {
    background: rgba(15, 23, 42, 0.4);
    color: #94a3b8;
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.custom-html-table td {
    padding: 14px 16px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-feature-settings: "tnum";
}
.custom-html-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}
.highlight-row-yellow td {
    color: #facc15 !important;
    font-weight: 700;
}
.nickname-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.nickname-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.nickname-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}
.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.copy-btn:hover {
    opacity: 1;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}

/* Pagination */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}
.page-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.page-btn.active {
    background: var(--theme-primary);
    color: #0f172a;
    border-color: var(--theme-primary);
    font-weight: 700;
}

/* Loading & No Data */
.loading-container, .no-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: #94a3b8;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(var(--theme-primary-rgb), 0.1);
    border-top-color: var(--theme-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.action-buttons-cell {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.accept-btn {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.accept-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    color: #ffffff;
    border-color: #10b981;
}
.cancel-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cancel-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
    border-color: #ef4444;
}

/* Modals */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.custom-modal-content {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.custom-modal-message {
    text-align: center;
    color: #f1f5f9;
    font-size: 15px;
    line-height: 1.6;
}
.custom-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}
.modal-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-btn:hover {
    filter: brightness(1.1);
}
.custom-modal-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

/* Toasts */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
}

/* 모바일 친화적 전체 화면 선택 모달 (InputSelect 대용) */
.form-select-modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background: rgba(15, 23, 42, 0.85); 
    backdrop-filter: blur(8px); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 9999;
}

.form-select-modal-content {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    width: 90%; 
    max-width: 400px; 
    padding: 30px 24px; 
    display: flex; 
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.form-select-modal-title {
    color: #fff; 
    margin-top: 0; 
    margin-bottom: 24px; 
    font-size: 18px; 
    font-weight: 700; 
    text-align: center;
}

.form-select-modal-options {
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}

.form-select-modal-btn {
    width: 100%; 
    padding: 16px; 
    font-size: 16px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}
.form-select-modal-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}
.form-select-modal-btn.active, .form-select-modal-btn.confirm {
    background: var(--theme-primary, #00d2ff);
    color: #0f172a;
    border-color: var(--theme-primary, #00d2ff);
}

.form-select-modal-close {
    margin-top: 24px; 
    width: 100%; 
    padding: 14px; 
    font-size: 15px;
    border-radius: 12px;
}, fadeOut 0.3s ease 2.2s;
}
@keyframes slideIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* 폼 입력 안내문 (공통) */
.form-input-desc {
    font-size: 15px;
    color: #5bb974;
    margin-top: 6px;
}

/* 폼 공통 레이아웃 및 요소 스타일 */
.form-section-title { font-size: 16px; font-weight: bold; margin-bottom: 20px; color: #ffffff; padding-bottom: 12px; border-bottom: 1px solid #2a2f3a; }
.form-section-title span { color: #00d2ff; margin-right: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; color: #a0aabf; font-weight: 500; }
.form-control, .form-select { background-color: #0f1219; border: 1px solid #2a2f3a; color: #ffffff; padding: 10px 12px; border-radius: 4px; font-size: 14px; width: 100%; box-sizing: border-box; }
.form-control:focus, .form-select:focus { outline: none; border-color: #00d2ff; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 10px; margin-bottom: 40px; }

/* 공통 탭 컨테이너 및 버튼 스타일 */
.tab-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #30363d;
    padding-bottom: 12px;
    flex-wrap: wrap;
}
.tab-btn {
    background: #1a1d21;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.tab-btn:hover {
    background: #21262d;
    color: #c9d1d9;
    border-color: #8b949e;
}
.tab-btn.active {
    background: #56C5FF;
    color: #0d1117;
    border-color: #56C5FF;
    font-weight: 600;
}