/**
 * 前端樣式表 - 淡色系風格 v2
 */

/* ============================================
   基礎設定與變數
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-hover: #e2e8f0;
    
    --accent-primary: #2563eb;
    --accent-secondary: #7c3aed;
    --accent-success: #059669;
    --accent-warning: #d97706;
    --accent-danger: #dc2626;
    --accent-cyan: #0891b2;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border-color: rgba(30, 41, 59, 0.12);
    --border-hover: rgba(30, 41, 59, 0.25);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
    
    --transition: all 0.25s ease;
    --radius: 10px;
    --radius-sm: 6px;
    --sidebar-width: 260px;
}

/* 深色模式 */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-hover: #475569;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: rgba(148, 163, 184, 0.2);
    --border-hover: rgba(148, 163, 184, 0.4);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--bg-tertiary); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #64748b; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* 全域滾動條 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-tertiary); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   認證頁面（登入/註冊）
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--bg-primary);
    padding: 20px;
    position: relative;
    overflow-y: auto;
}

.auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(37,99,235,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(124,58,237,0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    width: 100%;
    max-width: 560px;
    position: relative;
    z-index: 1;
    margin: 40px auto;
}

.auth-card {
    background: transparent;
    border: none;
    padding: 0;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    padding: 0 0 24px;
    margin: 0 0 28px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    border-bottom: 1px solid var(--border-color);
}

.auth-form {
    width: 100%;
    padding: 0;
}

.auth-links {
    text-align: center;
    margin-top: 24px;
}

.auth-links a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-links a:hover {
    color: var(--accent-secondary);
}

/* ============================================
   表單
   ============================================ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group label .required {
    color: var(--accent-danger);
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: var(--bg-card);
}

.form-group input[type="file"] {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: var(--accent-primary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-right: 10px;
    font-size: 13px;
    transition: var(--transition);
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--accent-secondary);
}

.form-help {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-help.text-success { color: var(--accent-success); }
.form-help.text-error { color: var(--accent-danger); }

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.image-preview { margin-top: 8px; }
.image-preview img {
    max-width: 200px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-col { margin-bottom: 0; }

/* ============================================
   步驟式進度條
   ============================================ */
.progress-container {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 2;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 6px;
}

.progress-step.active .step-number {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(59,130,246,0.4);
}

.step-label {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.progress-step.active .step-label {
    color: var(--accent-primary);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 8px;
    margin-bottom: 24px;
}

/* 表單步驟 */
.form-step { display: none; animation: fadeIn 0.3s ease; }
.form-step.active { display: block; }

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

.form-step-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.camera-container { margin-top: 8px; }
.camera-controls { display: flex; gap: 10px; margin-top: 10px; }
.camera-controls .btn { flex: 1; max-width: 150px; }

/* ============================================
   按鈕
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}

.btn-primary:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59,130,246,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn-block { width: 100%; }

/* ============================================
   Alert 提示訊息
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    border-left: 3px solid;
    font-size: 14px;
    line-height: 1.5;
}

.alert h3 { margin-bottom: 6px; font-size: 16px; }
.alert p { margin: 0; }
.alert ul { margin: 8px 0; padding-left: 20px; }

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-success);
    border-color: var(--accent-success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-danger);
    border-color: var(--accent-danger);
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-warning);
    border-color: var(--accent-warning);
}

/* ============================================
   前端佈局（側邊欄 + 頂部導航）
   ============================================ */
.frontend-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 側邊欄 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    padding: 15px 22px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 2px 8px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    font-size: 19px;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.sidebar-nav a.active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-primary);
    font-weight: 600;
}

.sidebar-nav a .icon {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

/* 主內容區 */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

/* 頂部導航 */
.top-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 28px;
    height: 60px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu { position: relative; }

.user-name {
    padding: 6px 12px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.user-name:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 180px;
    overflow: hidden;
    z-index: 1000;
}

.user-dropdown.show { display: block; }

.user-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.user-dropdown a:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
}

.main-content {
    flex: 1;
    padding: 28px;
}

.bottom-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    text-align: center;
    padding: 16px 0;
    margin-top: auto;
    font-size: 13px;
}

.bottom-footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

.bottom-footer a:hover { color: var(--accent-secondary); }

/* ============================================
   卡片 / 儀表板
   ============================================ */
.dashboard h1 {
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    transition: var(--transition);
}

.dashboard-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.dashboard-card h2 {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.info-item:last-child { border-bottom: none; }

.info-item .label {
    color: var(--text-muted);
    font-size: 14px;
}

.info-item .value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   通用文字工具
   ============================================ */
.text-muted     { color: var(--text-muted) !important; }
.text-primary   { color: var(--text-primary) !important; }
.text-success   { color: var(--accent-success) !important; }
.text-danger    { color: var(--accent-danger) !important; }
.text-warning   { color: var(--accent-warning) !important; }
.text-info      { color: var(--accent-primary) !important; }

/* ============================================
   Badge 狀態標籤
   ============================================ */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.badge-success   { background: rgba(16,185,129,0.15); color: var(--accent-success); }
.badge-warning   { background: rgba(245,158,11,0.15); color: var(--accent-warning); }
.badge-danger    { background: rgba(239,68,68,0.15); color: var(--accent-danger); }
.badge-info      { background: rgba(59,130,246,0.15); color: var(--accent-primary); }
.badge-primary   { background: rgba(59,130,246,0.15); color: var(--accent-primary); }
.badge-secondary { background: rgba(100,116,139,0.15); color: var(--text-muted); }

/* ============================================
   按鈕變體
   ============================================ */
.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

.btn-info {
    background: rgba(6,182,212,0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(6,182,212,0.25);
}
.btn-info:hover:not(:disabled) {
    background: rgba(6,182,212,0.25);
    border-color: rgba(6,182,212,0.4);
}

.btn-danger {
    background: rgba(239,68,68,0.15);
    color: var(--accent-danger);
    border: 1px solid rgba(239,68,68,0.25);
}
.btn-danger:hover:not(:disabled) {
    background: rgba(239,68,68,0.25);
    border-color: rgba(239,68,68,0.4);
}

.btn-success {
    background: var(--accent-success);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}
.btn-success:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-1px);
}

/* ============================================
   表格
   ============================================ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr {
    transition: background 0.15s ease;
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table .table-action {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ============================================
   分頁
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.pagination .page-link:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
    border-color: var(--border-hover);
}

.pagination .page-link.active {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    pointer-events: none;
}

.pagination .page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   LINE 客服按鈕
   ============================================ */
.line-service-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.line-service-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #06c755;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(6,199,85,0.4);
    text-decoration: none;
    transition: var(--transition);
}

.line-service-btn a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(6,199,85,0.5);
}

/* ============================================
   響應式設計
   ============================================ */
@media (max-width: 768px) {
    .sidebar { left: calc(-1 * var(--sidebar-width)); }
    .sidebar.open { left: 0; }
    .main-wrapper { margin-left: 0; }

    .sidebar-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        position: fixed;
        top: 14px;
        left: 14px;
        z-index: 1001;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        padding: 10px;
        cursor: pointer;
    }

    .sidebar-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--accent-primary);
        transition: var(--transition);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 999;
    }

    .sidebar.open + .sidebar-overlay { display: block; }

    .top-nav { padding: 0 16px; }
    .page-title { padding-left: 44px; }
    .main-content { padding: 18px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .auth-container { max-width: 100%; }
    .auth-form { padding: 0; }
    .line-service-btn { bottom: 16px; right: 16px; }
    .line-service-btn a { width: 46px; height: 46px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root { --sidebar-width: 210px; }
}

@media (min-width: 769px) {
    .sidebar-toggle { display: none; }
}

/* ============================================
   主題切換開關（深色/淺色）
   ============================================ */
.theme-switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 4em;
    height: 2.2em;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2a2a2a;
    transition: 0.4s;
    border-radius: 30px;
    overflow: hidden;
}

.theme-switch .slider:before {
    position: absolute;
    content: "";
    height: 1.2em;
    width: 1.2em;
    border-radius: 20px;
    left: 0.5em;
    bottom: 0.5em;
    transition: 0.4s;
    transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
    box-shadow: inset 8px -4px 0px 0px #fff;
}

.theme-switch input:checked + .slider {
    background-color: #00a6ff;
}

.theme-switch input:checked + .slider:before {
    transform: translateX(1.8em);
    box-shadow: inset 15px -4px 0px 15px #ffcf48;
}

.theme-switch .star {
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    width: 5px;
    transition: all 0.4s;
    height: 5px;
}

.theme-switch .star_1 { left: 2.5em; top: 0.5em; }
.theme-switch .star_2 { left: 2.2em; top: 1.2em; }
.theme-switch .star_3 { left: 3em; top: 0.9em; }

.theme-switch input:checked ~ .slider .star {
    opacity: 0;
}

.theme-switch .cloud {
    width: 3.5em;
    position: absolute;
    bottom: -1.4em;
    left: -1.1em;
    opacity: 0;
    transition: all 0.4s;
}

.theme-switch input:checked ~ .slider .cloud {
    opacity: 1;
}
