/* 공통 변수 정의 (CSS Custom Properties) */
:root {
    --primary-color: #F47320;
    --primary-hover: #F89C6D;
    --primary-light: #FBB584;
    --text-color: #2c2c2c;
    --text-light: #666;
    --text-lighter: #999;
    --text-dark: #333;
    --bg-light: #fafafa;
    --bg-dark: #1a1a1a;
    --border-light: #f0f0f0;
    --border-dark: #333;
    --shadow-light: 0 2px 15px rgba(0,0,0,0.06);
    --font-family: 'Noto Sans KR', sans-serif;
    --max-width: 1400px;
}

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 300;
}

/* 공통 컨테이너 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* 공통 섹션 타이틀 */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--primary-color);
    font-weight: 500;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 70px;
    font-weight: 300;
}

/* 공통 버튼 스타일 */
.btn {
    padding: 16px 45px;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-ceo {
    background: #F89C6D;
    /*color: var(--text-color);*/
    color: #fff;
}


.btn-primary {
    background: #fff;
    color: var(--text-color);
}

.btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.8);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* 공통 태그 스타일 */
.tag {
    background: #f8f8f8;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 400;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.tag:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========================================
   Admin UI - Select & Combo Box Styles
   ======================================== */

/* 기본 Select 스타일 */
select.select {
    width: 100%;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    appearance: none;
    background: url(/images/common/icon_select_arrow.png) no-repeat calc(100% - 10px) center;
    padding: 0 10px;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #505050;
}

select.select:focus {
    border-color: #101010;
    outline: none;
}

/* Select2 커스텀 스타일 */
.custom-select + .select2-container--default .select2-selection--single {
    height: 32px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
    background: url(/images/common/icon_select_arrow.png) no-repeat calc(100% - 10px) center !important;
    padding: 0 !important;
    background-color: #fff !important;
}

.custom-select + .select2-container--default .select2-selection--single:focus,
.custom-select + .select2-container--default.select2-container--focus .select2-selection--single,
.custom-select + .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #101010 !important;
    outline: none !important;
}

.custom-select + .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
    padding-left: 10px !important;
    padding-right: 30px !important;
    color: #505050 !important;
    font-size: 14px !important;
}

.custom-select + .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9f9f9f !important;
}

.custom-select + .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

/* inline-group 내부의 Select2 */
.inline-group .select2-container--default .select2-selection--single {
    height: 32px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
    background: url(/images/common/icon_select_arrow.png) no-repeat calc(100% - 10px) center !important;
    padding: 0 !important;
    background-color: #fff !important;
}

.inline-group .select2-container--default .select2-selection--single:focus,
.inline-group .select2-container--default.select2-container--focus .select2-selection--single,
.inline-group .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #101010 !important;
    outline: none !important;
}

.inline-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
    padding-left: 10px !important;
    padding-right: 30px !important;
    color: #505050 !important;
    font-size: 14px !important;
}

.inline-group .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

/* Select2 Dropdown 스타일 */
.select2-container--default .select2-dropdown {
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.select2-container--default .select2-results__option {
    padding: 8px 10px !important;
    font-size: 14px !important;
    color: #505050 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f9f9f9 !important;
    color: #101010 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f1f3f8 !important;
    color: #101010 !important;
}

/* Select2 검색 필드 */
.select2-container--default .select2-search--dropdown {
    padding: 6px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e0e0e0 !important;
    border-radius: 2px !important;
    padding: 6px 10px !important;
    font-size: 14px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #101010 !important;
    outline: none !important;
}

/* Select2 z-index */
.select2-container--open .select2-dropdown {
    z-index: 9999 !important;
}

/* Select2 disabled 상태 */
.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f9f9f9 !important;
    cursor: not-allowed !important;
}

.select2-container--default.select2-container--disabled .select2-selection__rendered {
    color: #9f9f9f !important;
}