:root {
    --primary-color: #1a1a1a;
    --accent-color: #CFB378; /* Lexus Gold-ish */
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --cathay-color: #00c96a;
    --esun-color: #00b8d4;
    --taishin-color: #e60012;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-color);
    margin: 0;
    padding-bottom: calc(120px + env(safe-area-inset-bottom)); /* Space for bottom nav */
    -webkit-tap-highlight-color: transparent;
}

/* Header */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h5 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Bottom Navigation - Lexus Style */
.nav-bottom {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border-radius: 50px;
    isolation: isolate;
    overflow: hidden;
}

/* iOS-like liquid glass highlight */
#nav-highlight {
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;

    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.65);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);

    will-change: left, top, width, height;

    transition:
        left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#nav-highlight::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background:
        radial-gradient(120% 160% at 28% 18%, rgba(255,255,255,0.65), rgba(255,255,255,0) 60%),
        radial-gradient(120% 160% at 72% 85%, rgba(207,179,120,0.22), rgba(207,179,120,0) 62%);
    opacity: 0.95;
}

#nav-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px rgba(207,179,120,0.18),
        inset 0 -10px 20px rgba(0,0,0,0.06);
    opacity: 0.9;
}

.nav-item {
    text-align: center;
    color: #aaa;
    font-size: 0.75rem;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.nav-item.active {
    color: var(--primary-color);
    font-weight: 800;
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s;
}

/* Different colors for each nav item */
#nav-home i {
    color: #667eea;
}

#nav-home.active i {
    color: #667eea;
}

#nav-search i {
    color: #764ba2;
}

#nav-search.active i {
    color: #764ba2;
}

#nav-calculator i {
    color: #ff9a9e;
}

#nav-calculator.active i {
    color: #ff9a9e;
}

#nav-settings i {
    color: var(--accent-color);
}

#nav-settings.active i {
    color: var(--accent-color);
}

body.dark-theme #nav-home i {
    color: #8b9aff;
}

body.dark-theme #nav-home.active i {
    color: #8b9aff;
}

body.dark-theme #nav-search i {
    color: #a78bfa;
}

body.dark-theme #nav-search.active i {
    color: #a78bfa;
}

body.dark-theme #nav-calculator i {
    color: #ffb3b8;
}

body.dark-theme #nav-calculator.active i {
    color: #ffb3b8;
}

body.dark-theme #nav-settings i {
    color: var(--accent-color);
}

body.dark-theme #nav-settings.active i {
    color: var(--accent-color);
}

/* v7 Calculator Styles Ported */
.option-group h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.radio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.radio-label {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: #555;
}

.radio-label:hover {
    background: #f0f0f0;
}

.cathay-section .radio-label.selected { border-color: var(--cathay-color); color: var(--cathay-color); background: #e8f5e9; }
.esun-section .radio-label.selected { border-color: var(--esun-color); color: var(--esun-color); background: #e1f5fe; }
.taishin-section .radio-label.selected { border-color: var(--taishin-color); color: var(--taishin-color); background: #ffebee; }

.radio-label input { display: none; }

.rate-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    background-color: #ccc;
    margin-left: 8px;
}

.cathay-section .rate-badge.active { background-color: var(--cathay-color); }
.esun-section .rate-badge.active { background-color: var(--esun-color); }
.taishin-section .rate-badge.active { background-color: var(--taishin-color); }

.rule-desc {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
    margin-bottom: 10px;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 800;
}

/* Match Status in Cards */
#cathayMatchStatus,
#esunMatchStatus,
#taishinMatchStatus {
    display: block;
    text-align: center;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
}

#cathayMatchStatus:empty,
#esunMatchStatus:empty,
#taishinMatchStatus:empty {
    display: none;
}

.cathay-section #cathayMatchStatus {
    color: var(--cathay-color);
    background-color: rgba(0, 201, 106, 0.1);
}

.esun-section #esunMatchStatus {
    color: var(--esun-color);
    background-color: rgba(0, 184, 212, 0.1);
}

.taishin-section #taishinMatchStatus {
    color: var(--taishin-color);
    background-color: rgba(230, 0, 18, 0.1);
}

body.dark-theme .cathay-section #cathayMatchStatus {
    background-color: rgba(0, 201, 106, 0.15);
    color: #4ade80;
}

body.dark-theme .esun-section #esunMatchStatus {
    background-color: rgba(0, 184, 212, 0.15);
    color: #5eead4;
}

body.dark-theme .taishin-section #taishinMatchStatus {
    background-color: rgba(230, 0, 18, 0.15);
    color: #ff6b6b;
}

.winner {
    border: 2px solid #ffd700 !important;
    position: relative;
    overflow: visible;
}

.winner::after {
    content: '👑 推薦';
    position: absolute;
    top: -12px;
    right: -5px;
    background: #ffd700;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 10;
    white-space: nowrap;
}


/* Sections */
.section-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.4s ease-out;
}

.section-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card-custom {
    background: var(--card-bg);
    border-radius: 24px;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    overflow: visible;
    position: relative;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header-custom {
    padding: 15px 20px;
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.card-body-custom {
    padding: 20px;
}

/* Home Page Buttons */
.action-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--primary-color);
    transition: transform 0.2s;
}

.action-btn:active {
    transform: scale(0.98);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: white;
}

.btn-search { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.btn-report { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); }
.btn-apply { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }

/* Calculator Styles (Adapted) */
.input-group {
    margin-bottom: 15px;
}

.form-control-lg {
    border-radius: 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    padding: 15px;
}

.form-control-lg:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
    border-color: #ddd;
}

.result-card {
    border-left: 5px solid #ccc;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-card.cathay { border-left-color: var(--cathay-color); }
.result-card.esun { border-left-color: var(--esun-color); }
.result-card.taishin { border-left-color: var(--taishin-color); }

.badge-custom {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-official { background-color: #e3f2fd; color: #1976d2; }
.badge-community { background-color: #fff3e0; color: #f57c00; }

/* Modal */
.modal-content {
    border-radius: 24px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px;
}

/* Floating Action Button for Report */
.fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 900;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.fab:active {
    transform: scale(0.9);
}

/* Search Suggestions */
.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    background: #eee;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
}

.suggestion-chip:hover {
    background: #ddd;
}

/* Hide elements based on page type */
.hide-in-search,
.hide-in-calculator {
    display: block;
}

/* Dark theme */
body.dark-theme {
    --primary-color: #ffffff;
    --bg-color: #0f0f0f;
    --card-bg: #1e1e1e;
    --glass-bg: rgba(30, 30, 30, 0.95);
    --glass-border: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
}

body.dark-theme .card-custom {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .card-custom:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-theme .form-control,
body.dark-theme .form-select {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

body.dark-theme .form-control:focus,
body.dark-theme .form-select:focus {
    background-color: #2a2a2a;
    border-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(207, 179, 120, 0.2);
}

body.dark-theme .form-control::placeholder,
body.dark-theme input::placeholder {
    color: #888888;
}

body.dark-theme .nav-bottom {
    background: rgba(30, 30, 30, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
}

body.dark-theme #nav-highlight {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .text-muted {
    color: #d0d0d0 !important;
}

body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
    color: #ffffff;
}

body.dark-theme i,
body.dark-theme .fa-solid,
body.dark-theme .fa-regular {
    color: #ffffff;
}

body.dark-theme .header h5 i {
    color: var(--accent-color);
}

body.dark-theme .card-custom[onclick] {
    background: linear-gradient(145deg, #1e1e1e, #252525) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .card-custom[onclick]:hover {
    background: linear-gradient(145deg, #252525, #2a2a2a) !important;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-theme .card-custom[onclick] h5 {
    color: #ffffff;
}

body.dark-theme .card-custom[onclick] .small.text-muted {
    color: #d0d0d0 !important;
}

body.dark-theme a.card-custom {
    background: linear-gradient(145deg, #1e1e1e, #252525) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme a.card-custom:hover {
    background: linear-gradient(145deg, #252525, #2a2a2a) !important;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 20px 40px -5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-title-text {
    color: #333;
}

body.dark-theme .card-title-text {
    color: #ffffff;
}

body.dark-theme a.card-custom .fw-bold {
    color: #ffffff;
}

body.dark-theme a.card-custom .text-muted {
    color: #d0d0d0 !important;
}

body.dark-theme h6.text-muted {
    color: #d0d0d0 !important;
}

/* Settings Page Styling */
.settings-section {
    padding: 24px 20px;
}

.settings-card {
    background: var(--card-bg);
    border-radius: 24px;
    border: none;
    box-shadow: var(--shadow-soft);
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.settings-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-title i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.settings-group {
    margin-bottom: 24px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
    display: block;
}

.settings-select {
    border-radius: 16px;
    padding: 14px;
    border: 1px solid #eee;
    background-color: #f8f9fa;
    font-size: 1rem;
    transition: all 0.2s;
    width: 100%;
}

.settings-select:focus {
    box-shadow: 0 0 0 4px rgba(207, 179, 120, 0.15);
    border-color: var(--accent-color);
    background-color: #fff;
    outline: none;
}

.settings-btn {
    border-radius: 16px;
    padding: 14px 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid;
}

.settings-btn:last-child {
    margin-bottom: 0;
}

.settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.settings-btn-primary {
    background-color: transparent;
    border-color: var(--cathay-color);
    color: var(--cathay-color);
}

.settings-btn-primary:hover {
    background-color: var(--cathay-color);
    color: white;
}

.settings-btn-secondary {
    background-color: transparent;
    border-color: #6c757d;
    color: #6c757d;
}

.settings-btn-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.settings-btn-info {
    background-color: transparent;
    border-color: #0dcaf0;
    color: #0dcaf0;
}

.settings-btn-info:hover {
    background-color: #0dcaf0;
    color: white;
}

.settings-btn-dark {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.settings-btn-dark:hover {
    background-color: var(--primary-color);
    color: white;
}

body.dark-theme .settings-label {
    color: var(--primary-color);
}

body.dark-theme .settings-select {
    background-color: #3a3a3a;
    border-color: #4a4a4a;
    color: var(--primary-color);
}

body.dark-theme .settings-select:focus {
    background-color: #3a3a3a;
    border-color: var(--accent-color);
}

body.dark-theme .header {
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

body.dark-theme .radio-label {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

body.dark-theme .radio-label:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .radio-label.selected {
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-theme .option-group h3 {
    color: #e0e0e0;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.dark-theme .rule-desc {
    color: #d0d0d0;
}

body.dark-theme .result-value {
    color: #ffffff;
}

body.dark-theme .settings-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-theme .settings-select {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.15);
}

/* 免責聲明樣式 */
.disclaimer-content {
    color: #666;
    line-height: 1.6;
}

.disclaimer-content p {
    margin-bottom: 12px;
}

.disclaimer-content ul {
    margin-bottom: 12px;
    padding-left: 1.5rem;
}

.disclaimer-content li {
    margin-bottom: 6px;
}

.disclaimer-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

body.dark-theme .disclaimer-content {
    color: #d0d0d0;
}

body.dark-theme .disclaimer-content strong {
    color: #ffffff;
}

/* 首頁圖示固定尺寸 */
.home-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0 !important;
}

.home-icon-wrapper i {
    font-size: 1.5rem;
}

/* 回報適用店家按鈕美化 */
#home-section .card-custom.p-2 {
    padding: 12px 16px !important;
}

/* 首頁立即辦卡卡片優化 */
.home-apply-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.home-apply-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

/* 回報適用店家卡片優化 */
.home-report-card {
    background: linear-gradient(145deg, #f8f9ff, #f0f2ff) !important;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.home-report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    background: linear-gradient(145deg, #f0f2ff, #e8ebff) !important;
}

body.dark-theme .home-apply-card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .home-apply-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .home-report-card {
    background: linear-gradient(145deg, #2a2a3a, #1f1f2f) !important;
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-theme .home-report-card:hover {
    background: linear-gradient(145deg, #2f2f3f, #252535) !important;
    border-color: rgba(102, 126, 234, 0.4);
}

body.dark-theme .settings-select:focus {
    background-color: #2a2a2a;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(207, 179, 120, 0.2);
}

body.dark-theme .settings-label {
    color: #ffffff;
}

body.dark-theme .settings-title {
    color: #ffffff;
}

body.dark-theme .settings-title i {
    color: var(--accent-color);
}

/* Circle Button Styles (from Lexus) */
.circle-btn-container {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.circle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 80px;
    transition: transform 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.circle-btn:hover {
    transform: translateY(-2px);
}

.circle-btn-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    /* Embossed Effect */
    box-shadow: 
        0 6px 15px rgba(0,0,0,0.08),
        0 2px 4px rgba(0,0,0,0.02);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
}

.circle-btn:hover .circle-btn-icon {
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.12),
        0 4px 8px rgba(0,0,0,0.05);
    color: var(--accent-color);
}

.circle-btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}

body.dark-theme .circle-btn {
    color: var(--primary-color);
}

body.dark-theme .circle-btn-icon {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: rgba(255,255,255,0.1);
}

body.dark-theme .circle-btn:hover .circle-btn-icon {
    color: var(--accent-color);
}

body.dark-theme .circle-btn-text {
    color: #ffffff;
}

body.dark-theme .circle-btn-icon {
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-theme .circle-btn:hover .circle-btn-icon {
    border-color: rgba(255, 255, 255, 0.18);
}

body.dark-theme .form-label {
    color: #ffffff;
}

body.dark-theme .option-group h3 {
    color: #e0e0e0;
}

body.dark-theme .small.text-muted {
    color: #d0d0d0 !important;
}