@import "../theme.css";
.fixed-panel {
    position: fixed; 
    height: auto;
    background-color: var(--bg-content);
    box-shadow: 0 4px 12px var(--shadow-light);
    z-index: 1050;
    box-sizing: border-box;
    border-radius: 20px;
    opacity: 1; 
    transition: opacity 0.3s ease-out;
}

.fixed-panel.hidden {
    opacity: 0; 
    pointer-events: none; 
}

.panel-content {
    padding: 20px;
}
.close-btn {
    position: absolute;
    top: 25px;
    right: 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-main);
}
.setting-content {
    margin-top: 10px;
    min-width: 200px;
}

#aiCustomInput { 
    flex-grow: 1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 8px;
    resize: none;
    background-color: var(--bg-selection);
    color: var(--text-main);
    border: 1px solid var(--border-main);
    border-radius: 10px;
    width: 100%;
    max-height: 100px;
    -ms-overflow-style: none;
}
#aiCustomInput:focus {
    outline: none;
    border: 1px solid #5c5c5c;
    border-color: var(--primary);
}
#aiCustomInput::-webkit-scrollbar {
    display: none;
}
#aiCustomInput:focus::-webkit-scrollbar {
    display: none;
}

 /* 설명 텍스트 */
.description {
    font-size: 0.9em;
    color: var(--text-sub);
    margin-top: 10px;
    line-height: 1.4;
}

/* 맞춤형 AI 콘텐츠 영역 */
#api-setting-content {
    padding-top: 5px; /* 헤더 아래 공간 */
    padding-bottom: 5px;
}

#api-setting-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-main);
}

/* API 키 입력 그룹 레이아웃 */
.input-group-api {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group-api label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
    display: block;
}

/* 입력 필드 기본 스타일 */
.input-group-api input[type="text"] {
    width: 100%;
    padding: 10px;
    background-color: var(--bg-selection);
    color: var(--text-main);
    border: 1px solid var(--border-main);
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.input-group-api input[type="text"]:focus {
    border-color: var(--primary);
    outline: none;
}

/* 테마 및 색상 콘텐츠 영역 */
#theme-setting-content {
    padding-top: 5px;
    padding-bottom: 5px;
}

#theme-setting-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* 테마/색상 섹션 그룹 */
.theme-section {
    margin-bottom: 20px;
}

.theme-section:last-child {
    border-bottom: none; /* 마지막 섹션은 구분선 제거 */
    margin-bottom: 0;
    padding-bottom: 0;
}

.theme-section h5 {
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--text-main);
}

.model-div {
    display: flex;
}
.model-radio {
    display: flex;
    margin-right: 20px;
}

/* Select 박스 스타일 */
.theme-section select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background-color: var(--bg-selection);
    color: var(--text-main);
    border: 1px solid var(--border-main);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.theme-section select:focus {
    border-color: var(--primary);
    outline: none;
}