body {
    font-family: 'Pretendard', sans-serif;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #FAF9F6;
    min-height: 100vh;
    box-sizing: border-box;
}

/* --- 헤더 스타일 --- */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

.app-header h1 {
    margin: 0;
    font-size: 1.5em;
    color: #343a40;
    font-weight: 700;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* --- 사용자 드롭다운 스타일 --- */
.user-dropdown-toggle {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    background-color: #E9ECEF;
    color: #495057;
    display: flex;
    align-items: center;
    font-size: 0.95em;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.user-dropdown-toggle:hover {
    background-color: #CED4DA;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 160px;
    padding: 5px 0;
}

.user-dropdown-menu.active {
    display: block;
}

.user-dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    color: #343a40;
    white-space: nowrap;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* 인증 버튼 (로그인, 사용자 이름 토글 공통) */
.auth-button {
    padding: 8px 12px;
    font-size: 0.9em;
    color: #007bff;
    background-color: transparent;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-button:hover {
    color: #0056b3;
    text-decoration: none;
    background-color: rgba(0, 123, 255, 0.08);
}

/* 포커스 스타일 (접근성 향상) */
.auth-button:focus {
    outline: 2px solid #007bff;
    outline-offset: 1px;
}

/* Google 로그인 버튼의 아이콘 SVG 스타일 */
.google-icon-svg {
    margin-right: 0;             /* 외부 여백 제거 */
    transform: translateX(-1px); /* 아이콘 이동 최소화 또는 0으로 설정 후 관찰 */
    vertical-align: middle;      /* 아이콘 세로 중앙 정렬 */
    /* width: 18px; */
    /* height: 18px; */
}

/* --- 헤더 프로필 이미지 및 이니셜 스타일 --- */
#user-dropdown-toggle.logged-in {
    padding: 0; /* 내부 이미지/텍스트가 크기를 결정하도록 패딩 제거 */
    width: 32px;  /* 아바타 크기 (정사각형) */
    height: 32px; /* 아바타 크기 (정사각형) */
    border-radius: 50%; /* 원형 아바타 */
    overflow: hidden; /* 이미지가 원 밖으로 나가지 않도록 */
    background-color: #E9ECEF; /* 기본 배경색 (이미지 로드 전 또는 이니셜 배경) */
    display: flex; /* 내부 요소 중앙 정렬 */
    align-items: center;
    justify-content: center;
}

.header-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 원형에 맞게 잘 채워지도록 */
}

.header-profile-initial {
    font-size: 0.9em; /* 이니셜 폰트 크기 */
    color: #495057;   /* 이니셜 텍스트 색상 */
    font-weight: 600;  /* 이니셜 폰트 굵기 */
}

/* --- 헤더 스타일 끝 --- */

#card-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-grow: 1;
    position: relative;
}

/* --- 데스크탑 레이아웃 (미디어 쿼리) --- */
@media (min-width: 768px) { 
    #card-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 650px;
    }

    /* 카드 1장일 때 데스크톱 뷰에서 중앙 정렬을 위한 스타일 */
    #card-container.single-card-view {
        grid-template-columns: 1fr; /* 1열 그리드로 변경 */
        max-width: 350px; /* 카드 1개에 적합한 너비로 조정 (기존 모바일보다 약간 작게 설정하여 중앙 느낌 강조) */
        /* margin: 30px auto; /* 이미 적용되어 있지만 명시적으로 유지 */
    }
}

/* --- 로딩 스피너 스타일 --- */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 카드 플립 효과를 위한 래퍼 */
.card-wrapper {
    perspective: 1500px;
    min-height: 200px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* 카드가 보일 때 적용될 클래스 */
.card-wrapper.visible {
    opacity: 1;
    transform: scale(1);
}

/* Default inner style */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    text-align: center;
    transition: transform 0.7s, box-shadow 0.3s;
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Default hover effect */
.card-wrapper:hover .card-inner {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Flipped state */
.card-inner.flipped {
    transform: rotateY(180deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect when flipped: Explicitly combine transforms */
.card-wrapper:hover .card-inner.flipped {
    transform: rotateY(180deg) translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid #E5E5E5;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 200px;
}

/* 카드 앞면 스타일 */
.card-front {
    justify-content: space-between;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 25px;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* --- 카테고리별 카드 앞면 배경색 --- */
.card-front.get-to-know {
    background-color: #A8E6CF; /* Pastel Mint */
}
.card-front.true-self { background-color: #A7C7E7; } /* Pastel Blue */
.card-front.values { background-color: #C3B1E1; } /* Pastel Lavender */
.card-front.relationships-love { background-color: #FFB6C1; } /* Light Pink */
.card-front.memories { background-color: #FFDAB9; } /* Peach */
.card-front.happy-moments { background-color: #FFD8A8; } /* Pastel Orange */
.card-front.growth-challenge { background-color: #FFA07A; } /* Light Salmon */
.card-front.feelings-empathy { background-color: #D2B48C; } /* Pastel Tan */
.card-front.dreams-vision { background-color: #B0C4DE; } /* Light Steel Blue */
.card-front.healing-comfort { background-color: #C1E1C1; } /* Pastel Green */

/* 카드 뒷면 스타일 */
.card-back {
    background: linear-gradient(135deg, #e7f5ff, #d0ebff);
    color: #343a40;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* --- 뒷면 요소 --- */
.question {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 15px;
}

.bookmark-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px; /* 아이콘 크기 조정을 위해 info-button과 유사하게 설정 */
    color: #555; /* 아이콘 색상 */
    background-color: transparent;
    border: none;
    padding: 5px; /* 클릭 영역 확보 */
    cursor: pointer;
    line-height: 0; /* 아이콘 정렬을 위해 추가 */
}

/* 기본 북마크 아이콘 (안 채워진 상태) 색상 */
.bookmark-button .feather-bookmark {
    fill: none; /* 기본적으로는 채우지 않음 */
    stroke: currentColor; /* 버튼의 color 속성을 따름 */
    stroke-width: 2;
    width: 16px; /* 아이콘 크기 명시 */
    height: 16px; /* 아이콘 크기 명시 */
}

/* 북마크된 상태의 아이콘 스타일 */
.bookmark-button .feather-bookmark.bookmarked {
    fill: #FFC107; /* 채우기 색상 (예: 주황색) */
    stroke: #FFC107; /* 윤곽선도 같은 색으로 */
}

.bookmark-button:hover {
    color: #007bff; /* 호버 시 아이콘 색상 변경 */
    /* background-color: #f0f0f0; */ /* 원한다면 배경색 변경도 추가 */
}

.bookmark-button svg {
    width: 20px; /* 아이콘 크기 */
    height: 20px; /* 아이콘 크기 */
}

.info-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 16px;
    color: #555;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.info-button:hover {
    background-color: #007bff;
    color: white;
}

.question-description {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #343a40;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 85%;
    font-size: 0.9em;
    line-height: 1.5;
    z-index: 10;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* 말풍선 표시 상태 */
.question-description.tooltip-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* (선택) 말풍선 꼬리 모양 추가 - 가상 요소 사용 */
.question-description::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #343a40 transparent;
}

.category {
    font-size: 1.5em; /* 최종 크기 */
    font-weight: 700;
    color: #333333; /* 진한 회색으로 변경 */
    text-transform: uppercase; /* 대문자로 변환 (영문 적용) */
    letter-spacing: 1px; /* 자간 추가 */
    margin-bottom: 10px;
    align-self: center;
}

/* --- 카테고리 아이콘 스타일 --- */
.category-icon {
    display: flex; /* 내부 SVG 중앙 정렬을 위해 flex 사용 */
    align-items: center;
    justify-content: center;
    width: 48px !important;  /* 크기 강제 */
    height: 48px !important; /* 크기 강제 */
    margin: 0 auto 12px auto; /* 좌우 중앙, 아래 마진 */
    color: #333333;
    overflow: hidden; /* 넘치면 자르기 */
    flex-shrink: 0; /* 축소 방지 */
}

.category-icon svg {
    display: block;
    width: 100% !important; /* 컨테이너 채우기 강제 */
    height: 100% !important; /* 컨테이너 채우기 강제 */
    /* stroke-width는 data-feather-* 속성에 의존 */
}

.category-description {
    font-size: 1em;
    color: #555555; /* 설명 텍스트는 약간 연한 회색으로 */
    margin: 10px 0 0 0;
    line-height: 1.5;
}

/* --- 추가된 버튼 스타일 --- */
.refresh-button {
    padding: 12px 25px;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #4A90E2;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    margin: 20px auto 30px auto;
    display: block;
    transition: background-color 0.2s;
}

.refresh-button:hover {
    background-color: #0056b3; /* 호버 시 약간 어두운 파란색 */
}

.refresh-button:disabled {
    opacity: 0.7; /* 버튼을 약간 투명하게 만듦 */
    cursor: not-allowed; /* 클릭할 수 없음을 나타내는 커서 */
    background-color: #007bff; /* 비활성화 시에도 원래 배경색 유지 (혹은 약간 어둡게) */
    border-color: #007bff; /* 비활성화 시에도 원래 테두리색 유지 (혹은 약간 어둡게) */
    color: white; /* 비활성화 시에도 원래 텍스트 색상 유지 */
}

#help-button {
    background-color: #ffffff;
    color: #343A40;
    border: 1px solid #ced4da; /* 테두리 추가하여 다른 버튼들과 유사하게 */
    padding: 8px 15px; /* 패딩 조정 */
    font-size: 0.9em;  /* 폰트 크기 조정 */
    border-radius: 20px; /* 둥근 모서리 */
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

/* --- 도움말 모달 스타일 --- */
.modal {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    text-align: left;
}

.modal-content h2 {
    margin-top: 0;
    color: #343a40;
    text-align: center;
}

.modal-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #495057;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* --- 북마크 모달 추가 스타일 --- */
#bookmarks-modal .modal-content h2 {
    display: flex; /* 아이콘과 텍스트 정렬 */
    align-items: center;
    justify-content: center;
    margin-bottom: 25px; /* 제목 아래 여백 추가 */
}

.modal-title-icon {
    width: 24px; /* 아이콘 크기 */
    height: 24px;
    margin-right: 10px; /* 아이콘과 제목 사이 여백 */
    color: #495057; /* 아이콘 색상 */
}

#bookmarks-list-container {
    max-height: 60vh; /* 목록의 최대 높이, 내용 많을 시 스크롤 */
    overflow-y: auto;
    margin-top: 15px;
    padding-right: 5px; /* 스크롤바 공간 확보 (선택적) */
}

/* --- 북마크 모달 아이템 (카드 앞면 스타일 유사) --- */
.bookmark-item {
    border-radius: 10px; /* 카드와 유사한 둥근 모서리 */
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center; /* 수직 중앙 정렬 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.bookmark-item:last-child {
    margin-bottom: 0; /* 마지막 아이템 하단 마진 제거 */
}

.bookmark-item:hover {
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.bookmark-item-icon-container {
    flex-shrink: 0; /* 아이콘 크기 유지 */
    margin-right: 15px;
    width: 48px; /* 아이콘 컨테이너 크기 증가 */
    height: 48px; /* 아이콘 컨테이너 크기 증가 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* 원형 아이콘 배경 (선택적) */
}

.bookmark-item-icon-container .feather {
    width: 30px; /* 아이콘 크기 추가 증가 */
    height: 30px; /* 아이콘 크기 추가 증가 */
    color: #333333; /* 고정 색상 (예: 진한 회색) */
    stroke-width: 2px; /* 아이콘 선 굵기 추가 */
}

.bookmark-item-text-content { /* 새로운 클래스 */
    flex-grow: 1; /* 텍스트 영역이 남은 공간 차지 */
    display: flex;
    flex-direction: column; /* 카테고리와 스니펫을 수직으로 쌓음 */
    overflow: hidden; /* 내부 텍스트가 넘칠 경우를 대비 */
    min-width: 0; /* flex 아이템이 내용보다 작아질 수 있도록 허용 */
}

.bookmark-item-category-name { /* 새로운 클래스 */
    font-size: 1.5em; /* 카테고리명 폰트 크기 카드 앞면과 동일하게 조정 */
    font-weight: 700; /* 카드 앞면과 동일하게 볼드 처리 */
    color: #333333; /* 고정 색상 (예: 진한 회색) */
    margin-bottom: 4px;
    letter-spacing: 1px; /* 카드 앞면과 동일하게 자간 조정 */
    white-space: nowrap; /* 한 줄로 표시 */
    overflow: hidden;
    text-overflow: ellipsis; /* 넘치면 말줄임표 */
}

.bookmark-item-snippet { /* 기존 클래스, 스타일 약간 수정 */
    font-size: 1em;
    color: #333333; /* 고정 색상 (예: 진한 회색) */
    line-height: 1.4;
    min-height: 2.8em; /* 2줄 높이 (1em * 1.4 * 2)를 최소 높이로 설정 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* margin-bottom 은 제거 (text-content에서 관리) */
}

.bookmark-item-actions { /* 기존 클래스, 스타일 약간 수정 */
    flex-shrink: 0;
    margin-left: 15px; /* 텍스트 내용과의 간격 */
}

.bookmark-item-actions .delete-bookmark-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    line-height: 0;
}

.bookmark-item-actions .delete-bookmark-button:hover {
    background-color: rgba(0,0,0,0.1); /* 호버 배경은 약간 어둡게 또는 밝게 */
}

.bookmark-item-actions .delete-bookmark-button .feather { /* 클래스명 .feather로 일반화 */
    width: 18px;
    height: 18px;
    display: block;
    color: #333333; /* 고정 색상 (예: 진한 회색) */
}

/* 북마크 아이템 공유 버튼 스타일 추가 */
.bookmark-item-actions .share-bookmark-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px; /* 삭제 버튼과 동일한 패딩 */
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    line-height: 0;
    margin-left: 4px; /* 삭제 버튼과의 간격 */
}

.bookmark-item-actions .share-bookmark-button:hover {
    background-color: rgba(0,0,0,0.1); /* 삭제 버튼과 동일한 호버 효과 */
}

.bookmark-item-actions .share-bookmark-button .feather {
    width: 18px; /* 삭제 버튼 아이콘과 동일한 크기 */
    height: 18px;
    display: block;
    color: #333333; /* 삭제 버튼 아이콘과 동일한 색상 */
}

/* 이전 스타일 주석 처리 또는 삭제 */
/*
.bookmark-item-content {
    flex-grow: 1;
    margin-right: 10px; 
}

.bookmark-item-category {
    font-size: 0.8em;
    color: #495057; 
    background-color: #e9ecef; 
    padding: 3px 8px; 
    border-radius: 12px; 
    display: inline-block; 
    font-weight: 500; 
}
*/

.no-bookmarks-message {
    text-align: center;
    color: #6c757d;
    padding: 20px;
    font-size: 1.1em;
}

/* --- 북마크 모달 '더 보기' 버튼 스타일 --- */
.load-more-button {
    display: block;
    width: calc(100% - 40px); /* 모달 패딩 고려 */
    margin: 20px auto 10px auto;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #007bff; /* 주 색상 사용 */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.load-more-button:hover {
    background-color: #0056b3; /* 호버 시 약간 어둡게 */
}

.load-more-button:disabled {
    background-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

/* --- 모바일 화면을 위한 도움말 버튼 크기 조정 --- */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .app-header {
        padding: 10px 15px;
    }

    .app-header h1 {
        font-size: 1.3em;
    }

    #card-container {
        gap: 15px;
        padding: 0 10px; /* 모바일에서 카드 좌우 여백 줄임 */
        margin: 20px auto;
    }
    
    .card-inner {
        min-height: 180px; /* 모바일에서 카드 최소 높이 약간 줄임 */
    }

    .question {
        font-size: 1em; /* 모바일에서 질문 폰트 크기 조정 */
        line-height: 1.5;
    }

    #help-button { /* 사용법 버튼 모바일 스타일 */
        padding: 6px 10px;
        font-size: 0.85em;
    }

    .auth-button { /* 로그인 버튼 모바일 스타일 */
        padding: 6px 10px;
        font-size: 0.85em;
    }
    
    #user-dropdown-toggle.logged-in { /* 프로필 이미지 모바일 */
        width: 28px;
        height: 28px;
    }

    .user-dropdown-toggle { /* 로그인 전 '내정보' 버튼 모바일 */
        font-size: 0.85em;
    }
}

/* --- 토스트 알림 스타일 --- */
.toast-notification {
    position: fixed;
    bottom: 30px; /* 화면 하단에서 약간 위로 */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75); /* 약간 투명한 검은색 배경 */
    color: white;
    padding: 12px 25px;
    border-radius: 25px; /* 둥근 모서리 */
    z-index: 1001; /* 다른 모달이나 요소들보다 위에 오도록 */
    font-size: 0.9em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out;
    pointer-events: none; /* 알림 메시지 위로 마우스 이벤트가 통과하도록 */
}

.toast-notification.show {
    opacity: 1;
    bottom: 50px; /* 나타날 때 약간 위로 올라오는 효과 */
}

/* --- 계정 설정 모달 스타일 (새로 추가) --- */
#account-settings-modal .modal-content {
    max-width: 500px; /* 북마크 모달보다 약간 작게 */
}

#account-settings-modal h2 .modal-title-icon {
    vertical-align: middle;
    margin-right: 8px;
    width: 22px; /* 아이콘 크기 조정 */
    height: 22px;
}

.account-settings-content {
    margin-top: 15px;
}

.account-settings-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.settings-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.danger-zone {
    border: 1px solid #f5c6cb; /* 연한 빨강 테두리 */
    background-color: #f8d7da; /* 연한 빨강 배경 */
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.danger-zone h3 {
    color: #721c24; /* 진한 빨강 글씨 */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.danger-zone-description {
    font-size: 0.9em;
    color: #721c24;
    margin-bottom: 15px;
}

.button-danger {
    background-color: #dc3545; /* 빨강 배경 */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.button-danger:hover {
    background-color: #c82333; /* 더 진한 빨강 */
}

/* --- 도움말 모달 내 팁 아이콘 스타일 (새로 추가) --- */
.tip-icon {
    display: inline-block; /* 아이콘을 인라인 블록으로 처리 */
    width: 1em; /* 현재 폰트 크기에 맞춤 */
    height: 1em; /* 현재 폰트 크기에 맞춤 */
    vertical-align: -0.125em; /* 텍스트와 수직 정렬 미세 조정 */
    margin: 0 0.1em; /* 좌우 약간의 여백 */
}

/* --- 푸터 스타일 --- */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* 푸터를 페이지 하단으로 밀어냄 */
    font-size: 0.85em;
    color: #6c757d; /* 부드러운 회색톤 */
}

footer a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}