/* ================= PRODUCTIVITY & WORK TOOLS - MASTER CSS ================= */

/* Root Variables - Using admin panel colors */
:root {
    --primary: var(--main-color);
    --primary-hover: color-mix(in srgb, var(--main-color), black 15%);
    --card-bg: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: all 0.25s ease;
}

/* Dark Mode Variables */
body.dark {
    --card-bg: #1e293b;
    --bg-light: #0f172a;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
}

/* ================= WORK HOURS CALCULATOR ================= */
.work-hours-page .work-hours-container {
    max-width: 600px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.work-hours-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.work-hours-page .calculator-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.work-hours-page .input-section {
    margin-bottom: 25px;
}

.work-hours-page .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.work-hours-page .form-group {
    display: flex;
    flex-direction: column;
}

.work-hours-page .form-group.full-width {
    grid-column: span 2;
}

.work-hours-page .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.work-hours-page .form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.work-hours-page .input-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
}

.work-hours-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.work-hours-page .value-input:focus {
    outline: none;
}

.work-hours-page .value-input[type="time"] {
    font-family: 'JetBrains Mono', monospace;
}

.work-hours-page .unit-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 6px;
}

.work-hours-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.work-hours-page .action-footer {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.work-hours-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.work-hours-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.work-hours-page .btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.work-hours-page .btn-danger:hover {
    background: #dc2626;
}

.work-hours-page .results-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.work-hours-page .result-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.work-hours-page .result-box.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.work-hours-page .result-box.highlight .result-label,
.work-hours-page .result-box.highlight .result-val {
    color: white;
}

.work-hours-page .result-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.work-hours-page .result-label i {
    margin-right: 4px;
}

.work-hours-page .result-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.work-hours-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.work-hours-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.work-hours-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.work-hours-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.work-hours-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.work-hours-page .clear-btn:hover {
    background: var(--border-color);
}

.work-hours-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.work-hours-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.work-hours-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.work-hours-page .history-result {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.work-hours-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.work-hours-page .history-actions {
    display: flex;
    gap: 8px;
}

.work-hours-page .history-use,
.work-hours-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.work-hours-page .history-use:hover {
    background: var(--primary);
    color: white;
}

.work-hours-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.work-hours-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

.work-hours-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.work-hours-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.work-hours-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.work-hours-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.work-hours-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Headers */
.work-hours-page header h1,
.work-hours-page h1 {
    color: var(--primary) !important;
}

.work-hours-page .subtitle {
    color: var(--text-muted) !important;
}

/* Instructions */
.work-hours-page .tool-info,
.work-hours-page .tool-instructions,
.work-hours-page .tool-faqs {
    padding: 0 20px;
}

.work-hours-page .tool-instructions details,
.work-hours-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.work-hours-page .tool-instructions summary,
.work-hours-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.work-hours-page .tool-instructions summary i,
.work-hours-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .work-hours-page .tool-instructions summary,
body.dark .work-hours-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .work-hours-page .tool-instructions summary i,
body.dark .work-hours-page .tool-faqs summary i {
    color: #000000 !important;
}

.work-hours-page .tool-instructions ul,
.work-hours-page .tool-instructions p,
.work-hours-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .work-hours-page .work-hours-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .work-hours-page .workspace {
        padding: 10px;
    }
    
    .work-hours-page .calculator-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .work-hours-page .input-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .work-hours-page .form-group.full-width {
        grid-column: span 1;
    }
    
    .work-hours-page .form-group label {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .work-hours-page .input-ctrl {
        padding: 0 10px;
    }
    
    .work-hours-page .value-input {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .work-hours-page .error-msg {
        font-size: 11px;
        margin: 5px 0;
        min-height: auto;
    }
    
    .work-hours-page .action-footer {
        gap: 8px;
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .work-hours-page .btn-primary,
    .work-hours-page .btn-danger {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }
    
    .work-hours-page .results-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .work-hours-page .result-box {
        padding: 12px;
    }
    
    .work-hours-page .result-val {
        font-size: 1.1rem;
    }
    
    .work-hours-page .history-header {
        padding: 8px 12px;
    }
    
    .work-hours-page .history-header h3 {
        font-size: 13px;
    }
    
    .work-hours-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .work-hours-page .history-item {
        padding: 10px;
    }
    
    .work-hours-page .history-text,
    .work-hours-page .history-result {
        font-size: 11px;
    }
    
    .work-hours-page .history-time {
        font-size: 9px;
        margin-bottom: 5px;
    }
    
    .work-hours-page .history-use,
    .work-hours-page .history-delete {
        padding: 2px 8px;
        font-size: 10px;
    }
    
    .work-hours-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .work-hours-page .tips-section h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .work-hours-page .tips-grid {
        gap: 8px;
    }
    
    .work-hours-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .work-hours-page .tool-info,
    .work-hours-page .tool-instructions,
    .work-hours-page .tool-faqs {
        padding: 0 12px;
    }
    
    .work-hours-page .tool-instructions details,
    .work-hours-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .work-hours-page .tool-instructions summary,
    .work-hours-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .work-hours-page .tool-instructions ul,
    .work-hours-page .tool-instructions p,
    .work-hours-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .work-hours-page header h1,
    .work-hours-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .work-hours-page .subtitle {
        font-size: 12px;
    }
}

/* ================= FUTURE PRODUCTIVITY TOOLS WILL GO HERE ================= */
/* Example: To-Do List, Pomodoro Timer, Notes App, etc. */

/* ================= MEETING TIME FINDER ================= */
.meeting-time-page .meeting-time-container {
    max-width: 650px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.meeting-time-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.meeting-time-page .meeting-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.meeting-time-page .reference-section,
.meeting-time-page .add-zone-section {
    margin-bottom: 25px;
}

.meeting-time-page .reference-section h3,
.meeting-time-page .add-zone-section h3,
.meeting-time-page .results-header h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.meeting-time-page .reference-section h3 i,
.meeting-time-page .add-zone-section h3 i,
.meeting-time-page .results-header h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.meeting-time-page .input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
}

.meeting-time-page .form-group {
    display: flex;
    flex-direction: column;
}

.meeting-time-page .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.meeting-time-page .form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.meeting-time-page .input-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
}

.meeting-time-page .value-select {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text-main);
    cursor: pointer;
}

.meeting-time-page .value-select:focus,
.meeting-time-page .value-input:focus {
    outline: none;
}

.meeting-time-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.meeting-time-page .select-with-button {
    display: flex;
    gap: 10px;
}

.meeting-time-page .zone-select {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
}

.meeting-time-page .zone-select:focus {
    outline: none;
    border-color: var(--primary);
}

.meeting-time-page .small-btn {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.meeting-time-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.meeting-time-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.meeting-time-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.meeting-time-page .results-section {
    margin-top: 20px;
}

.meeting-time-page .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.meeting-time-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.meeting-time-page .clear-btn:hover {
    background: var(--border-color);
}

.meeting-time-page .zones-list {
    max-height: 400px;
    overflow-y: auto;
}

.meeting-time-page .zone-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.meeting-time-page .zone-card:hover {
    transform: translateX(3px);
}

.meeting-time-page .zone-info {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.meeting-time-page .zone-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.meeting-time-page .zone-info h4 i {
    margin-right: 6px;
}

.meeting-time-page .zone-name {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
    margin-right: 10px;
}

.meeting-time-page .zone-offset {
    font-size: 10px;
    color: var(--text-muted);
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 12px;
}

.meeting-time-page .zone-time-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.meeting-time-page .zone-time {
    flex: 1;
}

.meeting-time-page .time-main,
.meeting-time-page .time-current {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.meeting-time-page .time-main .label,
.meeting-time-page .time-current .label {
    font-size: 11px;
    color: var(--text-muted);
}

.meeting-time-page .time-main .value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
}

.meeting-time-page .time-current .value {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-main);
}

.meeting-time-page .zone-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.meeting-time-page .zone-delete:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.meeting-time-page .empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 13px;
}

.meeting-time-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.meeting-time-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.meeting-time-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.meeting-time-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.meeting-time-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.meeting-time-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.meeting-time-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.meeting-time-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.meeting-time-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.meeting-time-page .history-actions {
    display: flex;
    gap: 8px;
}

.meeting-time-page .history-use,
.meeting-time-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.meeting-time-page .history-use:hover {
    background: var(--primary);
    color: white;
}

.meeting-time-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.meeting-time-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

.meeting-time-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.meeting-time-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.meeting-time-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.meeting-time-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.meeting-time-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Headers */
.meeting-time-page header h1,
.meeting-time-page h1 {
    color: var(--primary) !important;
}

.meeting-time-page .subtitle {
    color: var(--text-muted) !important;
}

/* Instructions */
.meeting-time-page .tool-info,
.meeting-time-page .tool-instructions,
.meeting-time-page .tool-faqs {
    padding: 0 20px;
}

.meeting-time-page .tool-instructions details,
.meeting-time-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.meeting-time-page .tool-instructions summary,
.meeting-time-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.meeting-time-page .tool-instructions summary i,
.meeting-time-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .meeting-time-page .tool-instructions summary,
body.dark .meeting-time-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .meeting-time-page .tool-instructions summary i,
body.dark .meeting-time-page .tool-faqs summary i {
    color: #000000 !important;
}

.meeting-time-page .tool-instructions ul,
.meeting-time-page .tool-instructions p,
.meeting-time-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .meeting-time-page .meeting-time-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .meeting-time-page .workspace {
        padding: 10px;
    }
    
    .meeting-time-page .meeting-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .meeting-time-page .input-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .meeting-time-page .form-group label {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .meeting-time-page .input-ctrl {
        padding: 0 10px;
    }
    
    .meeting-time-page .value-select,
    .meeting-time-page .value-input {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .meeting-time-page .select-with-button {
        flex-direction: column;
    }
    
    .meeting-time-page .small-btn {
        width: 100%;
        justify-content: center;
    }
    
    .meeting-time-page .zone-select {
        padding: 10px;
        font-size: 12px;
    }
    
    .meeting-time-page .error-msg {
        font-size: 11px;
        margin: 5px 0;
        min-height: auto;
    }
    
    .meeting-time-page .results-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .meeting-time-page .zones-list {
        max-height: 350px;
    }
    
    .meeting-time-page .zone-card {
        padding: 12px;
    }
    
    .meeting-time-page .zone-info h4 {
        font-size: 0.9rem;
    }
    
    .meeting-time-page .time-main .value {
        font-size: 0.9rem;
    }
    
    .meeting-time-page .zone-delete {
        padding: 6px 10px;
    }
    
    .meeting-time-page .history-header {
        padding: 8px 12px;
    }
    
    .meeting-time-page .history-header h3 {
        font-size: 13px;
    }
    
    .meeting-time-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .meeting-time-page .history-item {
        padding: 10px;
    }
    
    .meeting-time-page .history-text,
    .meeting-time-page .history-result {
        font-size: 11px;
    }
    
    .meeting-time-page .history-time {
        font-size: 9px;
        margin-bottom: 5px;
    }
    
    .meeting-time-page .history-use,
    .meeting-time-page .history-delete {
        padding: 

    }
}

/* ================= PRODUCTIVITY & WORK TOOLS - MASTER CSS ================= */

/* Root Variables - Using admin panel colors */
:root {
    --primary: var(--main-color);
    --primary-hover: color-mix(in srgb, var(--main-color), black 15%);
    --card-bg: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --transition: all 0.25s ease;
}

/* Dark Mode Variables */
body.dark {
    --card-bg: #1e293b;
    --bg-light: #0f172a;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
}

/* ================= WORK HOURS CALCULATOR ================= */
.work-hours-page .work-hours-container {
    max-width: 600px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.work-hours-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.work-hours-page .calculator-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.work-hours-page .input-section {
    margin-bottom: 25px;
}

.work-hours-page .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.work-hours-page .form-group {
    display: flex;
    flex-direction: column;
}

.work-hours-page .form-group.full-width {
    grid-column: span 2;
}

.work-hours-page .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.work-hours-page .form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.work-hours-page .input-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
}

.work-hours-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.work-hours-page .value-input:focus {
    outline: none;
}

.work-hours-page .value-input[type="time"] {
    font-family: 'JetBrains Mono', monospace;
}

.work-hours-page .unit-tag {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 6px;
}

.work-hours-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.work-hours-page .action-footer {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.work-hours-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.work-hours-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.work-hours-page .btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.work-hours-page .btn-danger:hover {
    background: #dc2626;
}

.work-hours-page .results-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.work-hours-page .result-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.work-hours-page .result-box.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.work-hours-page .result-box.highlight .result-label,
.work-hours-page .result-box.highlight .result-val {
    color: white;
}

.work-hours-page .result-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.work-hours-page .result-label i {
    margin-right: 4px;
}

.work-hours-page .result-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.work-hours-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.work-hours-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.work-hours-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.work-hours-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.work-hours-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.work-hours-page .clear-btn:hover {
    background: var(--border-color);
}

.work-hours-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.work-hours-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.work-hours-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.work-hours-page .history-result {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.work-hours-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.work-hours-page .history-actions {
    display: flex;
    gap: 8px;
}

.work-hours-page .history-use,
.work-hours-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.work-hours-page .history-use:hover {
    background: var(--primary);
    color: white;
}

.work-hours-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.work-hours-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MEETING TIME FINDER ================= */
.meeting-time-page .meeting-time-container {
    max-width: 650px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.meeting-time-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.meeting-time-page .meeting-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.meeting-time-page .reference-section,
.meeting-time-page .add-zone-section {
    margin-bottom: 25px;
}

.meeting-time-page .reference-section h3,
.meeting-time-page .add-zone-section h3,
.meeting-time-page .results-header h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.meeting-time-page .reference-section h3 i,
.meeting-time-page .add-zone-section h3 i,
.meeting-time-page .results-header h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.meeting-time-page .input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
}

.meeting-time-page .form-group {
    display: flex;
    flex-direction: column;
}

.meeting-time-page .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.meeting-time-page .form-group label i {
    margin-right: 6px;
    color: var(--primary);
}

.meeting-time-page .input-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
}

.meeting-time-page .value-select {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text-main);
    cursor: pointer;
}

.meeting-time-page .value-select:focus,
.meeting-time-page .value-input:focus {
    outline: none;
}

.meeting-time-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.meeting-time-page .select-with-button {
    display: flex;
    gap: 10px;
}

.meeting-time-page .zone-select {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
}

.meeting-time-page .zone-select:focus {
    outline: none;
    border-color: var(--primary);
}

.meeting-time-page .small-btn {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.meeting-time-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.meeting-time-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.meeting-time-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.meeting-time-page .results-section {
    margin-top: 20px;
}

.meeting-time-page .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.meeting-time-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.meeting-time-page .clear-btn:hover {
    background: var(--border-color);
}

.meeting-time-page .zones-list {
    max-height: 400px;
    overflow-y: auto;
}

.meeting-time-page .zone-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.meeting-time-page .zone-card:hover {
    transform: translateX(3px);
}

.meeting-time-page .zone-info {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.meeting-time-page .zone-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.meeting-time-page .zone-info h4 i {
    margin-right: 6px;
}

.meeting-time-page .zone-name {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
    margin-right: 10px;
}

.meeting-time-page .zone-offset {
    font-size: 10px;
    color: var(--text-muted);
    background: var(--card-bg);
    padding: 2px 6px;
    border-radius: 12px;
}

.meeting-time-page .zone-time-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.meeting-time-page .zone-time {
    flex: 1;
}

.meeting-time-page .time-main,
.meeting-time-page .time-current {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.meeting-time-page .time-main .label,
.meeting-time-page .time-current .label {
    font-size: 11px;
    color: var(--text-muted);
}

.meeting-time-page .time-main .value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
}

.meeting-time-page .time-current .value {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-main);
}

.meeting-time-page .zone-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.meeting-time-page .zone-delete:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.meeting-time-page .empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 13px;
}

.meeting-time-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.meeting-time-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.meeting-time-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.meeting-time-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.meeting-time-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.meeting-time-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.meeting-time-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.meeting-time-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.meeting-time-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.meeting-time-page .history-actions {
    display: flex;
    gap: 8px;
}

.meeting-time-page .history-use,
.meeting-time-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.meeting-time-page .history-use:hover {
    background: var(--primary);
    color: white;
}

.meeting-time-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.meeting-time-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= HABIT TRACKER ================= */
.habit-tracker-page .habit-tracker-container {
    max-width: 800px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.habit-tracker-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.habit-tracker-page .tracker-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
}

.habit-tracker-page .add-habit-section {
    margin-bottom: 25px;
}

.habit-tracker-page .input-wrapper {
    display: flex;
    gap: 10px;
}

.habit-tracker-page .input-ctrl {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
}

.habit-tracker-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.habit-tracker-page .value-input:focus {
    outline: none;
}

.habit-tracker-page .value-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.habit-tracker-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.habit-tracker-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.habit-tracker-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.habit-tracker-page .habits-container {
    margin-top: 20px;
}

.habit-tracker-page .habits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.habit-tracker-page .habits-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.habit-tracker-page .habits-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.habit-tracker-page .habits-header .subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: normal;
}

.habit-tracker-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.habit-tracker-page .clear-btn:hover {
    background: var(--border-color);
}

.habit-tracker-page .habits-list {
    max-height: 500px;
    overflow-y: auto;
}

.habit-tracker-page .habit-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.habit-tracker-page .habit-card:hover {
    transform: translateX(3px);
}

.habit-tracker-page .habit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.habit-tracker-page .habit-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.habit-tracker-page .habit-info h4 i {
    margin-right: 6px;
}

.habit-tracker-page .habit-stats {
    display: flex;
    gap: 12px;
    align-items: center;
}

.habit-tracker-page .habit-percentage {
    font-size: 11px;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
}

.habit-tracker-page .habit-streak {
    font-size: 11px;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
}

.habit-tracker-page .habit-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.habit-tracker-page .habit-delete:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.habit-tracker-page .week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.habit-tracker-page .day-cell {
    text-align: center;
}

.habit-tracker-page .day-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.habit-tracker-page .checkbox-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.habit-tracker-page .day-checkbox {
    display: none;
}

.habit-tracker-page .checkmark {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.habit-tracker-page .checkmark:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.habit-tracker-page .day-checkbox:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.habit-tracker-page .day-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.habit-tracker-page .empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= COMMON STYLES (Headers, Instructions, Tips, FAQ) ================= */
.habit-tracker-page .tips-section,
.meeting-time-page .tips-section,
.work-hours-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.habit-tracker-page .tips-section h3,
.meeting-time-page .tips-section h3,
.work-hours-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.habit-tracker-page .tips-section h3 i,
.meeting-time-page .tips-section h3 i,
.work-hours-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.habit-tracker-page .tips-grid,
.meeting-time-page .tips-grid,
.work-hours-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.habit-tracker-page .tip-item,
.meeting-time-page .tip-item,
.work-hours-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Headers */
.habit-tracker-page header h1,
.meeting-time-page header h1,
.work-hours-page header h1,
.habit-tracker-page h1,
.meeting-time-page h1,
.work-hours-page h1 {
    color: var(--primary) !important;
}

.habit-tracker-page .subtitle,
.meeting-time-page .subtitle,
.work-hours-page .subtitle {
    color: var(--text-muted) !important;
}

/* Instructions */
.habit-tracker-page .tool-info,
.meeting-time-page .tool-info,
.work-hours-page .tool-info,
.habit-tracker-page .tool-instructions,
.meeting-time-page .tool-instructions,
.work-hours-page .tool-instructions,
.habit-tracker-page .tool-faqs,
.meeting-time-page .tool-faqs,
.work-hours-page .tool-faqs {
    padding: 0 20px;
}

.habit-tracker-page .tool-instructions details,
.meeting-time-page .tool-instructions details,
.work-hours-page .tool-instructions details,
.habit-tracker-page .tool-faqs details,
.meeting-time-page .tool-faqs details,
.work-hours-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.habit-tracker-page .tool-instructions summary,
.meeting-time-page .tool-instructions summary,
.work-hours-page .tool-instructions summary,
.habit-tracker-page .tool-faqs summary,
.meeting-time-page .tool-faqs summary,
.work-hours-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.habit-tracker-page .tool-instructions summary i,
.meeting-time-page .tool-instructions summary i,
.work-hours-page .tool-instructions summary i,
.habit-tracker-page .tool-faqs summary i,
.meeting-time-page .tool-faqs summary i,
.work-hours-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .habit-tracker-page .tool-instructions summary,
body.dark .meeting-time-page .tool-instructions summary,
body.dark .work-hours-page .tool-instructions summary,
body.dark .habit-tracker-page .tool-faqs summary,
body.dark .meeting-time-page .tool-faqs summary,
body.dark .work-hours-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .habit-tracker-page .tool-instructions summary i,
body.dark .meeting-time-page .tool-instructions summary i,
body.dark .work-hours-page .tool-instructions summary i,
body.dark .habit-tracker-page .tool-faqs summary i,
body.dark .meeting-time-page .tool-faqs summary i,
body.dark .work-hours-page .tool-faqs summary i {
    color: #000000 !important;
}

.habit-tracker-page .tool-instructions ul,
.meeting-time-page .tool-instructions ul,
.work-hours-page .tool-instructions ul,
.habit-tracker-page .tool-instructions p,
.meeting-time-page .tool-instructions p,
.work-hours-page .tool-instructions p,
.habit-tracker-page .tool-faqs p,
.meeting-time-page .tool-faqs p,
.work-hours-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .habit-tracker-page .habit-tracker-container,
    .meeting-time-page .meeting-time-container,
    .work-hours-page .work-hours-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .habit-tracker-page .workspace,
    .meeting-time-page .workspace,
    .work-hours-page .workspace {
        padding: 10px;
    }
    
    .habit-tracker-page .tracker-card,
    .meeting-time-page .meeting-card,
    .work-hours-page .calculator-card {
        padding: 15px;
    }
    
    .habit-tracker-page .input-wrapper,
    .meeting-time-page .select-with-button {
        flex-direction: column;
    }
    
    .habit-tracker-page .btn-primary,
    .meeting-time-page .btn-primary,
    .work-hours-page .btn-primary,
    .meeting-time-page .small-btn {
        width: 100%;
        justify-content: center;
    }
    
    .habit-tracker-page .input-ctrl,
    .meeting-time-page .input-ctrl,
    .work-hours-page .input-ctrl {
        padding: 0 10px;
    }
    
    .habit-tracker-page .value-input,
    .meeting-time-page .value-input,
    .work-hours-page .value-input {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .habit-tracker-page .error-msg,
    .meeting-time-page .error-msg,
    .work-hours-page .error-msg {
        font-size: 11px;
        margin: 5px 0;
        min-height: auto;
    }
    
    .habit-tracker-page .habits-header,
    .meeting-time-page .results-header,
    .work-hours-page .history-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .habit-tracker-page .week-grid {
        gap: 4px;
        overflow-x: auto;
    }
    
    .habit-tracker-page .checkmark {
        width: 28px;
        height: 28px;
    }
    
    .habit-tracker-page .day-label {
        font-size: 9px;
    }
    
    .work-hours-page .input-row,
    .meeting-time-page .input-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .work-hours-page .form-group.full-width {
        grid-column: span 1;
    }
    
    .work-hours-page .results-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .work-hours-page .action-footer {
        flex-direction: column;
    }
    
    .work-hours-page .btn-primary,
    .work-hours-page .btn-danger {
        width: 100%;
    }
    
    .habit-tracker-page .habit-card,
    .meeting-time-page .zone-card,
    .work-hours-page .history-item {
        padding: 10px;
    }
    
    .habit-tracker-page .habit-percentage,
    .habit-tracker-page .habit-streak {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .habit-tracker-page .tips-section,
    .meeting-time-page .tips-section,
    .work-hours-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .habit-tracker-page .tips-section h3,
    .meeting-time-page .tips-section h3,
    .work-hours-page .tips-section h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .habit-tracker-page .tips-grid,
    .meeting-time-page .tips-grid,
    .work-hours-page .tips-grid {
        gap: 8px;
    }
    
    .habit-tracker-page .tip-item,
    .meeting-time-page .tip-item,
    .work-hours-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .habit-tracker-page .tool-info,
    .meeting-time-page .tool-info,
    .work-hours-page .tool-info,
    .habit-tracker-page .tool-instructions,
    .meeting-time-page .tool-instructions,
    .work-hours-page .tool-instructions,
    .habit-tracker-page .tool-faqs,
    .meeting-time-page .tool-faqs,
    .work-hours-page .tool-faqs {
        padding: 0 12px;
    }
    
    .habit-tracker-page .tool-instructions details,
    .meeting-time-page .tool-instructions details,
    .work-hours-page .tool-instructions details,
    .habit-tracker-page .tool-faqs details,
    .meeting-time-page .tool-faqs details,
    .work-hours-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .habit-tracker-page .tool-instructions summary,
    .meeting-time-page .tool-instructions summary,
    .work-hours-page .tool-instructions summary,
    .habit-tracker-page .tool-faqs summary,
    .meeting-time-page .tool-faqs summary,
    .work-hours-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .habit-tracker-page .tool-instructions ul,
    .meeting-time-page .tool-instructions ul,
    .work-hours-page .tool-instructions ul,
    .habit-tracker-page .tool-instructions p,
    .meeting-time-page .tool-instructions p,
    .work-hours-page .tool-instructions p,
    .habit-tracker-page .tool-faqs p,
    .meeting-time-page .tool-faqs p,
    .work-hours-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .habit-tracker-page header h1,
    .meeting-time-page header h1,
    .work-hours-page header h1,
    .habit-tracker-page h1,
    .meeting-time-page h1,
    .work-hours-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .habit-tracker-page .subtitle,
    .meeting-time-page .subtitle,
    .work-hours-page .subtitle {
        font-size: 12px;
    }
}

/* ================= TODO LIST TOOL ================= */
.todo-list-page .todo-list-container {
    max-width: 650px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.todo-list-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.todo-list-page .todo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
}

.todo-list-page .add-todo-section {
    margin-bottom: 25px;
}

.todo-list-page .input-wrapper {
    margin-bottom: 12px;
}

.todo-list-page .meta-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.todo-list-page .input-ctrl {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
    flex: 1;
}

.todo-list-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.todo-list-page .value-input:focus {
    outline: none;
}

.todo-list-page .value-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.todo-list-page .value-select {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text-main);
    cursor: pointer;
}

.todo-list-page .value-select:focus {
    outline: none;
}

.todo-list-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.todo-list-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.todo-list-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.todo-list-page .todos-container {
    margin-top: 20px;
}

.todo-list-page .todos-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.todo-list-page .filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.todo-list-page .filter-btn:hover {
    background: var(--border-color);
}

.todo-list-page .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.todo-list-page .todos-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.todo-list-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
    transition: var(--transition);
}

.todo-list-page .clear-btn:hover {
    background: var(--border-color);
}

.todo-list-page .clear-btn.hidden {
    display: none;
}

.todo-list-page .todos-list {
    max-height: 450px;
    overflow-y: auto;
}

.todo-list-page .todo-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.todo-list-page .todo-item:hover {
    transform: translateX(3px);
}

.todo-list-page .todo-item.completed .todo-text {
    text-decoration: line-through;
    opacity: 0.6;
}

.todo-list-page .todo-check {
    flex-shrink: 0;
}

.todo-list-page .checkbox-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.todo-list-page .todo-checkbox {
    display: none;
}

.todo-list-page .checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.todo-list-page .checkmark:hover {
    border-color: var(--primary);
}

.todo-list-page .todo-checkbox:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.todo-list-page .todo-checkbox:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.todo-list-page .todo-content {
    flex: 1;
}

.todo-list-page .todo-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 5px;
    word-break: break-word;
}

.todo-list-page .todo-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.todo-list-page .todo-category {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.todo-list-page .todo-category.cat-work {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.todo-list-page .todo-category.cat-personal {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.todo-list-page .todo-category.cat-errand {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.todo-list-page .todo-category.cat-urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.todo-list-page .todo-date {
    font-size: 10px;
    color: var(--text-muted);
}

.todo-list-page .todo-actions {
    flex-shrink: 0;
}

.todo-list-page .todo-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.todo-list-page .todo-delete:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.todo-list-page .empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Headers */
.todo-list-page header h1,
.todo-list-page h1 {
    color: var(--primary) !important;
}

.todo-list-page .subtitle {
    color: var(--text-muted) !important;
}

/* Instructions */
.todo-list-page .tool-info,
.todo-list-page .tool-instructions,
.todo-list-page .tool-faqs {
    padding: 0 20px;
}

.todo-list-page .tool-instructions details,
.todo-list-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.todo-list-page .tool-instructions summary,
.todo-list-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.todo-list-page .tool-instructions summary i,
.todo-list-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .todo-list-page .tool-instructions summary,
body.dark .todo-list-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .todo-list-page .tool-instructions summary i,
body.dark .todo-list-page .tool-faqs summary i {
    color: #000000 !important;
}

.todo-list-page .tool-instructions ul,
.todo-list-page .tool-instructions p,
.todo-list-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .todo-list-page .todo-list-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .todo-list-page .workspace {
        padding: 10px;
    }
    
    .todo-list-page .todo-card {
        padding: 15px;
    }
    
    .todo-list-page .meta-wrapper {
        flex-direction: column;
    }
    
    .todo-list-page .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .todo-list-page .input-ctrl {
        padding: 0 10px;
    }
    
    .todo-list-page .value-input,
    .todo-list-page .value-select {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .todo-list-page .error-msg {
        font-size: 11px;
        margin: 5px 0;
        min-height: auto;
    }
    
    .todo-list-page .todos-filters {
        justify-content: center;
    }
    
    .todo-list-page .filter-btn {
        padding: 4px 12px;
        font-size: 11px;
    }
    
    .todo-list-page .todos-stats {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .todo-list-page .todo-item {
        padding: 12px;
        flex-wrap: wrap;
    }
    
    .todo-list-page .todo-text {
        font-size: 13px;
    }
    
    .todo-list-page .todo-meta {
        margin-top: 5px;
    }
    
    .todo-list-page .todo-delete {
        padding: 4px 8px;
    }
    
    .todo-list-page .empty-state {
        padding: 30px;
        font-size: 12px;
    }
    
    .todo-list-page .tool-info,
    .todo-list-page .tool-instructions,
    .todo-list-page .tool-faqs {
        padding: 0 12px;
    }
    
    .todo-list-page .tool-instructions details,
    .todo-list-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .todo-list-page .tool-instructions summary,
    .todo-list-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .todo-list-page .tool-instructions ul,
    .todo-list-page .tool-instructions p,
    .todo-list-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .todo-list-page header h1,
    .todo-list-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .todo-list-page .subtitle {
        font-size: 12px;
    }
}

/* ================= NOTE TAKING TOOL ================= */
.note-taking-page .note-taking-container {
    max-width: 1000px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.note-taking-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.note-taking-page .note-taking-app {
    display: flex;
    gap: 20px;
    min-height: 500px;
}

/* ================= SIDEBAR ================= */
.note-taking-page .notes-sidebar {
    width: 280px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.note-taking-page .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.note-taking-page .sidebar-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.note-taking-page .sidebar-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.note-taking-page .icon-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.note-taking-page .icon-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.note-taking-page .full-width {
    width: calc(100% - 30px);
    margin: 15px;
}

.note-taking-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.note-taking-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.note-taking-page .notes-list {
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.note-taking-page .note-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.note-taking-page .note-item:hover {
    transform: translateX(3px);
    border-color: var(--primary);
}

.note-taking-page .note-item.active {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--primary);
}

.note-taking-page .note-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-taking-page .note-item-preview {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-taking-page .note-item-date {
    font-size: 9px;
    color: var(--text-muted);
}

.note-taking-page .empty-state {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 12px;
}

/* ================= EDITOR ================= */
.note-taking-page .note-editor {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.note-taking-page .editor-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.note-taking-page .editor-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.note-taking-page .editor-empty h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.note-taking-page .editor-empty p {
    font-size: 12px;
}

.note-taking-page .editor-active {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ===== TITLE INPUT - Admin Panel Color ===== */
.note-taking-page .note-title-input {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.note-taking-page .note-title-input:focus {
    outline: none;
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.note-taking-page .note-title-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ===== CONTENT INPUT ===== */
.note-taking-page .note-content-input {
    flex: 1;
    width: 100%;
    padding: 20px;
    font-size: 14px;
    border: none;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: inherit;
    resize: none;
    min-height: 300px;
}

.note-taking-page .note-content-input:focus {
    outline: none;
}

.note-taking-page .note-content-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ===== EDITOR FOOTER ===== */
.note-taking-page .editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.note-taking-page #save-status {
    font-size: 11px;
    color: var(--text-muted);
}

.note-taking-page #save-status i {
    color: #22c55e;
}

.note-taking-page .btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.note-taking-page .btn-danger:hover {
    background: #dc2626;
}

.note-taking-page .hidden {
    display: none;
}

/* ================= DARK MODE FIXES ================= */
body.dark .note-taking-page .note-title-input {
    background: #1e293b;
    color: var(--primary);
}

body.dark .note-taking-page .note-content-input {
    background: #1e293b;
    color: #f1f5f9;
}

body.dark .note-taking-page .note-item.active {
    background: rgba(59, 130, 246, 0.2);
}

body.dark .note-taking-page .note-title-input::placeholder,
body.dark .note-taking-page .note-content-input::placeholder {
    color: #94a3b8;
}

/* ================= HEADERS & INSTRUCTIONS ================= */
.note-taking-page header h1,
.note-taking-page h1 {
    color: var(--primary) !important;
}

.note-taking-page .subtitle {
    color: var(--text-muted) !important;
}

.note-taking-page .tool-info,
.note-taking-page .tool-instructions,
.note-taking-page .tool-faqs {
    padding: 0 20px;
}

.note-taking-page .tool-instructions details,
.note-taking-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.note-taking-page .tool-instructions summary,
.note-taking-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.note-taking-page .tool-instructions summary i,
.note-taking-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .note-taking-page .tool-instructions summary,
body.dark .note-taking-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .note-taking-page .tool-instructions summary i,
body.dark .note-taking-page .tool-faqs summary i {
    color: #000000 !important;
}

.note-taking-page .tool-instructions ul,
.note-taking-page .tool-instructions p,
.note-taking-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= TIPS SECTION ================= */
.note-taking-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.note-taking-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.note-taking-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.note-taking-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.note-taking-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .note-taking-page .note-taking-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .note-taking-page .workspace {
        padding: 10px;
    }
    
    .note-taking-page .note-taking-app {
        flex-direction: column;
    }
    
    .note-taking-page .notes-sidebar {
        width: 100%;
    }
    
    .note-taking-page .notes-list {
        max-height: 250px;
    }
    
    .note-taking-page .note-content-input {
        min-height: 200px;
    }
    
    .note-taking-page .editor-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .note-taking-page .btn-danger {
        justify-content: center;
    }
    
    .note-taking-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .note-taking-page .tips-section h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .note-taking-page .tips-grid {
        gap: 8px;
    }
    
    .note-taking-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .note-taking-page .tool-info,
    .note-taking-page .tool-instructions,
    .note-taking-page .tool-faqs {
        padding: 0 12px;
    }
    
    .note-taking-page .tool-instructions details,
    .note-taking-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .note-taking-page .tool-instructions summary,
    .note-taking-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .note-taking-page .tool-instructions ul,
    .note-taking-page .tool-instructions p,
    .note-taking-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .note-taking-page header h1,
    .note-taking-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .note-taking-page .subtitle {
        font-size: 12px;
    }
}

/* ================= CLIPBOARD CLEANER ================= */
.clipboard-cleaner-page .clipboard-cleaner-container {
    max-width: 800px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.clipboard-cleaner-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.clipboard-cleaner-page .cleaner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.clipboard-cleaner-page .info-banner {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clipboard-cleaner-page .info-banner i {
    color: var(--primary);
    font-size: 1.1rem;
}

.clipboard-cleaner-page .info-banner p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.clipboard-cleaner-page .textarea-ctrl {
    margin-bottom: 20px;
}

.clipboard-cleaner-page .cleaner-textarea {
    width: 100%;
    min-height: 250px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    resize: vertical;
    transition: var(--transition);
}

.clipboard-cleaner-page .cleaner-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.clipboard-cleaner-page .controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.clipboard-cleaner-page .action-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.clipboard-cleaner-page .action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.clipboard-cleaner-page .main-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.clipboard-cleaner-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.clipboard-cleaner-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.clipboard-cleaner-page .btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.clipboard-cleaner-page .btn-secondary:hover {
    background: var(--border-color);
}

.clipboard-cleaner-page .stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.clipboard-cleaner-page .stats-bar i {
    margin-right: 5px;
    color: var(--primary);
}

.clipboard-cleaner-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.clipboard-cleaner-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.clipboard-cleaner-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.clipboard-cleaner-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.clipboard-cleaner-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.clipboard-cleaner-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.clipboard-cleaner-page .clear-btn:hover {
    background: var(--border-color);
}

.clipboard-cleaner-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.clipboard-cleaner-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.clipboard-cleaner-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.clipboard-cleaner-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-family: monospace;
    word-break: break-word;
}

.clipboard-cleaner-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.clipboard-cleaner-page .history-actions {
    display: flex;
    gap: 8px;
}

.clipboard-cleaner-page .history-use,
.clipboard-cleaner-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.clipboard-cleaner-page .history-use:hover {
    background: var(--primary);
    color: white;
}

.clipboard-cleaner-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.clipboard-cleaner-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

.clipboard-cleaner-page .hidden {
    display: none;
}

/* Headers & Instructions */
.clipboard-cleaner-page header h1,
.clipboard-cleaner-page h1 {
    color: var(--primary) !important;
}

.clipboard-cleaner-page .subtitle {
    color: var(--text-muted) !important;
}

.clipboard-cleaner-page .tool-info,
.clipboard-cleaner-page .tool-instructions,
.clipboard-cleaner-page .tool-faqs {
    padding: 0 20px;
}

.clipboard-cleaner-page .tool-instructions details,
.clipboard-cleaner-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.clipboard-cleaner-page .tool-instructions summary,
.clipboard-cleaner-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.clipboard-cleaner-page .tool-instructions summary i,
.clipboard-cleaner-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .clipboard-cleaner-page .tool-instructions summary,
body.dark .clipboard-cleaner-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .clipboard-cleaner-page .tool-instructions summary i,
body.dark .clipboard-cleaner-page .tool-faqs summary i {
    color: #000000 !important;
}

.clipboard-cleaner-page .tool-instructions ul,
.clipboard-cleaner-page .tool-instructions p,
.clipboard-cleaner-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Tips Section */
.clipboard-cleaner-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.clipboard-cleaner-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.clipboard-cleaner-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.clipboard-cleaner-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.clipboard-cleaner-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .clipboard-cleaner-page .clipboard-cleaner-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .clipboard-cleaner-page .workspace {
        padding: 10px;
    }
    
    .clipboard-cleaner-page .cleaner-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .clipboard-cleaner-page .controls-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .clipboard-cleaner-page .action-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .clipboard-cleaner-page .main-actions {
        flex-direction: column;
    }
    
    .clipboard-cleaner-page .btn-primary,
    .clipboard-cleaner-page .btn-secondary {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }
    
    .clipboard-cleaner-page .stats-bar {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .clipboard-cleaner-page .cleaner-textarea {
        min-height: 180px;
    }
    
    .clipboard-cleaner-page .history-header {
        padding: 8px 12px;
    }
    
    .clipboard-cleaner-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .clipboard-cleaner-page .history-item {
        padding: 10px;
    }
    
    .clipboard-cleaner-page .history-text,
    .clipboard-cleaner-page .history-result {
        font-size: 11px;
    }
    
    .clipboard-cleaner-page .history-time {
        font-size: 9px;
    }
    
    .clipboard-cleaner-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .clipboard-cleaner-page .tips-section h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .clipboard-cleaner-page .tips-grid {
        gap: 8px;
    }
    
    .clipboard-cleaner-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .clipboard-cleaner-page .tool-info,
    .clipboard-cleaner-page .tool-instructions,
    .clipboard-cleaner-page .tool-faqs {
        padding: 0 12px;
    }
    
    .clipboard-cleaner-page .tool-instructions details,
    .clipboard-cleaner-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .clipboard-cleaner-page .tool-instructions summary,
    .clipboard-cleaner-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .clipboard-cleaner-page .tool-instructions ul,
    .clipboard-cleaner-page .tool-instructions p,
    .clipboard-cleaner-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .clipboard-cleaner-page header h1,
    .clipboard-cleaner-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .clipboard-cleaner-page .subtitle {
        font-size: 12px;
    }
}

/* ================= TEXT COMPARE TOOL ================= */
.text-compare-page .text-compare-container {
    max-width: 1200px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.text-compare-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.text-compare-page .compare-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.text-compare-page .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.text-compare-page .side-panel h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.text-compare-page .side-panel h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.text-compare-page .input-ctrl {
    display: flex;
    align-items: flex-start;
}

.text-compare-page .compare-textarea {
    width: 100%;
    min-height: 250px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    resize: vertical;
    transition: var(--transition);
}

.text-compare-page .compare-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.text-compare-page .actions-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.text-compare-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-compare-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.text-compare-page .btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-compare-page .btn-secondary:hover {
    background: var(--border-color);
}

.text-compare-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

/* Output Section */
.text-compare-page .output-section {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.text-compare-page .output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.text-compare-page .output-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.text-compare-page .output-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.text-compare-page .legend {
    display: flex;
    gap: 15px;
}

.text-compare-page .legend-item {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

.text-compare-page .legend-item.bg-added {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.text-compare-page .legend-item.bg-removed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.text-compare-page .legend-item i {
    margin-right: 4px;
}

.text-compare-page .diff-container {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: auto;
    max-height: 400px;
}

.text-compare-page .diff-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.text-compare-page .diff-line {
    display: flex;
    padding: 6px 12px;
    border-bottom: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 12px;
}

.text-compare-page .diff-line:last-child {
    border-bottom: none;
}

.text-compare-page .line-num {
    width: 50px;
    color: var(--text-muted);
    user-select: none;
}

.text-compare-page .line-sign {
    width: 25px;
    font-weight: 700;
    user-select: none;
}

.text-compare-page .line-content {
    flex: 1;
    white-space: pre-wrap;
    word-break: break-word;
}

.text-compare-page .diff-line.added {
    background: rgba(34, 197, 94, 0.15);
}

.text-compare-page .diff-line.added .line-sign {
    color: #22c55e;
}

.text-compare-page .diff-line.removed {
    background: rgba(239, 68, 68, 0.15);
}

.text-compare-page .diff-line.removed .line-sign {
    color: #ef4444;
}

.text-compare-page .diff-line.changed {
    background: rgba(245, 158, 11, 0.1);
}

.text-compare-page .diff-line.same {
    background: transparent;
}

.text-compare-page .removed-text {
    text-decoration: line-through;
    color: #ef4444;
}

.text-compare-page .added-text {
    color: #22c55e;
}

.text-compare-page .diff-empty {
    text-align: center;
    padding: 40px;
    color: #22c55e;
    font-size: 14px;
}

.text-compare-page .hidden {
    display: none;
}

/* History Section */
.text-compare-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.text-compare-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.text-compare-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.text-compare-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.text-compare-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.text-compare-page .clear-btn:hover {
    background: var(--border-color);
}

.text-compare-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.text-compare-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.text-compare-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.text-compare-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-family: monospace;
    word-break: break-word;
}

.text-compare-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.text-compare-page .history-actions {
    display: flex;
    gap: 8px;
}

.text-compare-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.text-compare-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.text-compare-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Headers & Instructions */
.text-compare-page header h1,
.text-compare-page h1 {
    color: var(--primary) !important;
}

.text-compare-page .subtitle {
    color: var(--text-muted) !important;
}

.text-compare-page .tool-info,
.text-compare-page .tool-instructions,
.text-compare-page .tool-faqs {
    padding: 0 20px;
}

.text-compare-page .tool-instructions details,
.text-compare-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.text-compare-page .tool-instructions summary,
.text-compare-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.text-compare-page .tool-instructions summary i,
.text-compare-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .text-compare-page .tool-instructions summary,
body.dark .text-compare-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .text-compare-page .tool-instructions summary i,
body.dark .text-compare-page .tool-faqs summary i {
    color: #000000 !important;
}

.text-compare-page .tool-instructions ul,
.text-compare-page .tool-instructions p,
.text-compare-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Tips Section */
.text-compare-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.text-compare-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.text-compare-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.text-compare-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.text-compare-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .text-compare-page .text-compare-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .text-compare-page .workspace {
        padding: 10px;
    }
    
    .text-compare-page .compare-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .text-compare-page .compare-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .text-compare-page .compare-textarea {
        min-height: 180px;
    }
    
    .text-compare-page .actions-bar {
        flex-direction: column;
    }
    
    .text-compare-page .btn-primary,
    .text-compare-page .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .text-compare-page .output-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .text-compare-page .diff-line {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .text-compare-page .line-num {
        width: 35px;
    }
    
    .text-compare-page .line-sign {
        width: 20px;
    }
    
    .text-compare-page .history-header {
        padding: 8px 12px;
    }
    
    .text-compare-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .text-compare-page .history-item {
        padding: 10px;
    }
    
    .text-compare-page .history-text,
    .text-compare-page .history-result {
        font-size: 11px;
    }
    
    .text-compare-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .text-compare-page .tips-grid {
        gap: 8px;
    }
    
    .text-compare-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .text-compare-page .tool-info,
    .text-compare-page .tool-instructions,
    .text-compare-page .tool-faqs {
        padding: 0 12px;
    }
    
    .text-compare-page .tool-instructions details,
    .text-compare-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .text-compare-page .tool-instructions summary,
    .text-compare-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .text-compare-page .tool-instructions ul,
    .text-compare-page .tool-instructions p,
    .text-compare-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .text-compare-page header h1,
    .text-compare-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .text-compare-page .subtitle {
        font-size: 12px;
    }
}

/* ================= DUPLICATE FINDER ================= */
.duplicate-finder-page .duplicate-finder-container {
    max-width: 800px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.duplicate-finder-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.duplicate-finder-page .finder-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.duplicate-finder-page .controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.duplicate-finder-page .radio-group {
    display: flex;
    gap: 20px;
}

.duplicate-finder-page .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-main);
}

.duplicate-finder-page .radio-label i {
    color: var(--primary);
}

.duplicate-finder-page .radio-label input {
    cursor: pointer;
    accent-color: var(--primary);
}

.duplicate-finder-page .toggle-group {
    display: flex;
    align-items: center;
}

.duplicate-finder-page .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-main);
}

.duplicate-finder-page .checkbox-label i {
    color: var(--primary);
}

.duplicate-finder-page .checkbox-label input {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.duplicate-finder-page .textarea-ctrl {
    margin-bottom: 20px;
}

.duplicate-finder-page .finder-textarea {
    width: 100%;
    min-height: 250px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    resize: vertical;
    transition: var(--transition);
}

.duplicate-finder-page .finder-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.duplicate-finder-page .action-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.duplicate-finder-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.duplicate-finder-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.duplicate-finder-page .btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.duplicate-finder-page .btn-secondary:hover {
    background: var(--border-color);
}

.duplicate-finder-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

/* Results Section */
.duplicate-finder-page .results-section {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.duplicate-finder-page .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.duplicate-finder-page .results-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.duplicate-finder-page .results-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.duplicate-finder-page .badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.duplicate-finder-page .duplicate-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.duplicate-finder-page .duplicate-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.duplicate-finder-page .duplicate-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-main);
    word-break: break-word;
}

.duplicate-finder-page .duplicate-text i {
    color: var(--primary);
    flex-shrink: 0;
}

.duplicate-finder-page .duplicate-stats {
    display: flex;
    gap: 15px;
    font-size: 11px;
}

.duplicate-finder-page .duplicate-count {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
}

.duplicate-finder-page .duplicate-positions {
    color: var(--text-muted);
}

.duplicate-finder-page .no-duplicates {
    text-align: center;
    color: #22c55e;
}

.duplicate-finder-page .copy-results {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.duplicate-finder-page .hidden {
    display: none;
}

/* History Section */
.duplicate-finder-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.duplicate-finder-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.duplicate-finder-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.duplicate-finder-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.duplicate-finder-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.duplicate-finder-page .clear-btn:hover {
    background: var(--border-color);
}

.duplicate-finder-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.duplicate-finder-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.duplicate-finder-page .history-text {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.duplicate-finder-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.duplicate-finder-page .history-preview {
    font-size: 10px;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 5px;
    word-break: break-word;
}

.duplicate-finder-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.duplicate-finder-page .history-actions {
    display: flex;
    gap: 8px;
}

.duplicate-finder-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.duplicate-finder-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.duplicate-finder-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Headers & Instructions */
.duplicate-finder-page header h1,
.duplicate-finder-page h1 {
    color: var(--primary) !important;
}

.duplicate-finder-page .subtitle {
    color: var(--text-muted) !important;
}

.duplicate-finder-page .tool-info,
.duplicate-finder-page .tool-instructions,
.duplicate-finder-page .tool-faqs {
    padding: 0 20px;
}

.duplicate-finder-page .tool-instructions details,
.duplicate-finder-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.duplicate-finder-page .tool-instructions summary,
.duplicate-finder-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.duplicate-finder-page .tool-instructions summary i,
.duplicate-finder-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .duplicate-finder-page .tool-instructions summary,
body.dark .duplicate-finder-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .duplicate-finder-page .tool-instructions summary i,
body.dark .duplicate-finder-page .tool-faqs summary i {
    color: #000000 !important;
}

.duplicate-finder-page .tool-instructions ul,
.duplicate-finder-page .tool-instructions p,
.duplicate-finder-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Tips Section */
.duplicate-finder-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.duplicate-finder-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.duplicate-finder-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.duplicate-finder-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.duplicate-finder-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .duplicate-finder-page .duplicate-finder-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .duplicate-finder-page .workspace {
        padding: 10px;
    }
    
    .duplicate-finder-page .finder-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .duplicate-finder-page .controls-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .duplicate-finder-page .action-bar {
        flex-direction: column;
    }
    
    .duplicate-finder-page .btn-primary,
    .duplicate-finder-page .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .duplicate-finder-page .finder-textarea {
        min-height: 180px;
    }
    
    .duplicate-finder-page .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .duplicate-finder-page .duplicate-text {
        font-size: 11px;
    }
    
    .duplicate-finder-page .duplicate-stats {
        flex-direction: column;
        gap: 5px;
    }
    
    .duplicate-finder-page .history-header {
        padding: 8px 12px;
    }
    
    .duplicate-finder-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .duplicate-finder-page .history-item {
        padding: 10px;
    }
    
    .duplicate-finder-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .duplicate-finder-page .tips-grid {
        gap: 8px;
    }
    
    .duplicate-finder-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .duplicate-finder-page .tool-info,
    .duplicate-finder-page .tool-instructions,
    .duplicate-finder-page .tool-faqs {
        padding: 0 12px;
    }
    
    .duplicate-finder-page .tool-instructions details,
    .duplicate-finder-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .duplicate-finder-page .tool-instructions summary,
    .duplicate-finder-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .duplicate-finder-page .tool-instructions ul,
    .duplicate-finder-page .tool-instructions p,
    .duplicate-finder-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .duplicate-finder-page header h1,
    .duplicate-finder-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .duplicate-finder-page .subtitle {
        font-size: 12px;
    }
}
/* ================= RANDOM PICKER ================= */
.random-picker-page .random-picker-container {
    max-width: 650px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.random-picker-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.random-picker-page .picker-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.random-picker-page .focus-area {
    margin-bottom: 25px;
}

.random-picker-page .result-display {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    min-height: 120px;
    word-break: break-word;
}

.random-picker-page .result-display i {
    font-size: 2rem;
    opacity: 0.9;
}

.random-picker-page .result-display .picked {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.random-picker-page .result-display.picking {
    opacity: 0.7;
    transform: scale(0.98);
}

.random-picker-page .input-area {
    margin-bottom: 20px;
}

.random-picker-page .helper-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.random-picker-page .helper-text i {
    margin-right: 5px;
    color: var(--primary);
}

.random-picker-page .input-ctrl {
    display: flex;
    align-items: flex-start;
}

.random-picker-page .picker-textarea {
    width: 100%;
    min-height: 180px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    resize: vertical;
    transition: var(--transition);
}

.random-picker-page .picker-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.random-picker-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.random-picker-page .action-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.random-picker-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.random-picker-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.random-picker-page .btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.random-picker-page .btn-secondary:hover {
    background: var(--border-color);
}

/* Stats Card */
.random-picker-page .stats-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.random-picker-page .stats-header h3 {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.random-picker-page .stats-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.random-picker-page .stats-grid {
    display: flex;
    gap: 30px;
}

.random-picker-page .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.random-picker-page .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.random-picker-page .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

/* History Section */
.random-picker-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.random-picker-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.random-picker-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.random-picker-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.random-picker-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.random-picker-page .clear-btn:hover {
    background: var(--border-color);
}

.random-picker-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.random-picker-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.random-picker-page .history-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

.random-picker-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
}

.random-picker-page .history-actions {
    display: flex;
    gap: 8px;
}

.random-picker-page .history-use,
.random-picker-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.random-picker-page .history-use:hover {
    background: var(--primary);
    color: white;
}

.random-picker-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.random-picker-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Headers & Instructions */
.random-picker-page header h1,
.random-picker-page h1 {
    color: var(--primary) !important;
}

.random-picker-page .subtitle {
    color: var(--text-muted) !important;
}

.random-picker-page .tool-info,
.random-picker-page .tool-instructions,
.random-picker-page .tool-faqs {
    padding: 0 20px;
}

.random-picker-page .tool-instructions details,
.random-picker-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.random-picker-page .tool-instructions summary,
.random-picker-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.random-picker-page .tool-instructions summary i,
.random-picker-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .random-picker-page .tool-instructions summary,
body.dark .random-picker-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .random-picker-page .tool-instructions summary i,
body.dark .random-picker-page .tool-faqs summary i {
    color: #000000 !important;
}

.random-picker-page .tool-instructions ul,
.random-picker-page .tool-instructions p,
.random-picker-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Tips Section */
.random-picker-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.random-picker-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.random-picker-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.random-picker-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.random-picker-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .random-picker-page .random-picker-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .random-picker-page .workspace {
        padding: 10px;
    }
    
    .random-picker-page .picker-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .random-picker-page .result-display {
        font-size: 1.1rem;
        padding: 20px;
        min-height: 90px;
    }
    
    .random-picker-page .result-display i {
        font-size: 1.5rem;
    }
    
    .random-picker-page .action-bar {
        flex-direction: column;
    }
    
    .random-picker-page .btn-primary,
    .random-picker-page .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .random-picker-page .picker-textarea {
        min-height: 150px;
    }
    
    .random-picker-page .stats-grid {
        gap: 15px;
    }
    
    .random-picker-page .stat-value {
        font-size: 1.2rem;
    }
    
    .random-picker-page .history-header {
        padding: 8px 12px;
    }
    
    .random-picker-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .random-picker-page .history-item {
        padding: 10px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .random-picker-page .history-actions {
        align-self: flex-end;
    }
    
    .random-picker-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .random-picker-page .tips-section h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .random-picker-page .tips-grid {
        gap: 8px;
    }
    
    .random-picker-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .random-picker-page .tool-info,
    .random-picker-page .tool-instructions,
    .random-picker-page .tool-faqs {
        padding: 0 12px;
    }
    
    .random-picker-page .tool-instructions details,
    .random-picker-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .random-picker-page .tool-instructions summary,
    .random-picker-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .random-picker-page .tool-instructions ul,
    .random-picker-page .tool-instructions p,
    .random-picker-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .random-picker-page header h1,
    .random-picker-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .random-picker-page .subtitle {
        font-size: 12px;
    }
}
/* ================= DECISION MAKER ================= */
.decision-maker-page .decision-maker-container {
    max-width: 900px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.decision-maker-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.decision-maker-page .decision-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.decision-maker-page .decision-input {
    margin-bottom: 25px;
}

.decision-maker-page .decision-input label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.decision-maker-page .decision-input label i {
    margin-right: 6px;
    color: var(--primary);
}

.decision-maker-page .input-ctrl {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 12px;
}

.decision-maker-page .value-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.decision-maker-page .value-input:focus {
    outline: none;
}

.decision-maker-page .lists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.decision-maker-page .list-panel {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.decision-maker-page .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.decision-maker-page .panel-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
}

.decision-maker-page .panel-header h2 i {
    margin-right: 8px;
}

.decision-maker-page .pro-panel .panel-header h2 {
    color: #22c55e;
}

.decision-maker-page .con-panel .panel-header h2 {
    color: #ef4444;
}

.decision-maker-page .score-badge {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
}

.decision-maker-page .pro-badge {
    color: #22c55e;
    border: 1px solid #22c55e;
}

.decision-maker-page .con-badge {
    color: #ef4444;
    border: 1px solid #ef4444;
}

.decision-maker-page .add-item-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.decision-maker-page .item-input {
    flex: 2;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 13px;
}

.decision-maker-page .item-input:focus {
    outline: none;
    border-color: var(--primary);
}

.decision-maker-page .weight-select {
    width: 100px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    font-size: 12px;
}

.decision-maker-page .add-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.decision-maker-page .add-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.decision-maker-page .items-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.decision-maker-page .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.decision-maker-page .item:last-child {
    border-bottom: none;
}

.decision-maker-page .item-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.decision-maker-page .item-text {
    font-size: 13px;
    color: var(--text-main);
    word-break: break-word;
}

.decision-maker-page .item-weight {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
}

.decision-maker-page .pro-weight {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.decision-maker-page .con-weight {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.decision-maker-page .delete-item {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.decision-maker-page .delete-item:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.decision-maker-page .empty-list {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 12px;
}

.decision-maker-page .conclusion-panel {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.decision-maker-page .conclusion-panel h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.decision-maker-page .conclusion-panel h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.decision-maker-page .bar-container {
    display: flex;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.decision-maker-page .pro-bar {
    background: #22c55e;
    transition: width 0.3s ease;
}

.decision-maker-page .con-bar {
    background: #ef4444;
    transition: width 0.3s ease;
}

.decision-maker-page .verdict-text {
    font-size: 1rem;
    font-weight: 500;
    padding: 10px;
}

.decision-maker-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

.decision-maker-page .action-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.decision-maker-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.decision-maker-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.decision-maker-page .btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.decision-maker-page .btn-secondary:hover {
    background: var(--border-color);
}

/* History Section */
.decision-maker-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.decision-maker-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.decision-maker-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.decision-maker-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.decision-maker-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.decision-maker-page .clear-btn:hover {
    background: var(--border-color);
}

.decision-maker-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.decision-maker-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.decision-maker-page .history-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.decision-maker-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.decision-maker-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.decision-maker-page .history-actions {
    display: flex;
    gap: 8px;
}

.decision-maker-page .history-load,
.decision-maker-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.decision-maker-page .history-load:hover {
    background: var(--primary);
    color: white;
}

.decision-maker-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.decision-maker-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Headers & Instructions */
.decision-maker-page header h1,
.decision-maker-page h1 {
    color: var(--primary) !important;
}

.decision-maker-page .subtitle {
    color: var(--text-muted) !important;
}

.decision-maker-page .tool-info,
.decision-maker-page .tool-instructions,
.decision-maker-page .tool-faqs {
    padding: 0 20px;
}

.decision-maker-page .tool-instructions details,
.decision-maker-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.decision-maker-page .tool-instructions summary,
.decision-maker-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.decision-maker-page .tool-instructions summary i,
.decision-maker-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .decision-maker-page .tool-instructions summary,
body.dark .decision-maker-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .decision-maker-page .tool-instructions summary i,
body.dark .decision-maker-page .tool-faqs summary i {
    color: #000000 !important;
}

.decision-maker-page .tool-instructions ul,
.decision-maker-page .tool-instructions p,
.decision-maker-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Tips Section */
.decision-maker-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.decision-maker-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.decision-maker-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.decision-maker-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.decision-maker-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .decision-maker-page .decision-maker-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .decision-maker-page .workspace {
        padding: 10px;
    }
    
    .decision-maker-page .decision-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .decision-maker-page .lists-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .decision-maker-page .add-item-row {
        flex-direction: column;
    }
    
    .decision-maker-page .item-input,
    .decision-maker-page .weight-select {
        width: 100%;
    }
    
    .decision-maker-page .add-btn {
        width: 100%;
    }
    
    .decision-maker-page .action-footer {
        flex-direction: column;
    }
    
    .decision-maker-page .btn-primary,
    .decision-maker-page .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .decision-maker-page .verdict-text {
        font-size: 0.9rem;
    }
    
    .decision-maker-page .history-header {
        padding: 8px 12px;
    }
    
    .decision-maker-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .decision-maker-page .history-item {
        padding: 10px;
    }
    
    .decision-maker-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .decision-maker-page .tips-grid {
        gap: 8px;
    }
    
    .decision-maker-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .decision-maker-page .tool-info,
    .decision-maker-page .tool-instructions,
    .decision-maker-page .tool-faqs {
        padding: 0 12px;
    }
    
    .decision-maker-page .tool-instructions details,
    .decision-maker-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .decision-maker-page .tool-instructions summary,
    .decision-maker-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .decision-maker-page .tool-instructions ul,
    .decision-maker-page .tool-instructions p,
    .decision-maker-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .decision-maker-page header h1,
    .decision-maker-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .decision-maker-page .subtitle {
        font-size: 12px;
    }
}
/* ================= NAME PICKER WHEEL ================= */
.name-picker-page .name-picker-container {
    max-width: 1000px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.name-picker-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.name-picker-page .wheel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.name-picker-page .layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

/* Input Panel */
.name-picker-page .input-panel .helper-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.name-picker-page .input-panel .helper-text i {
    margin-right: 5px;
    color: var(--primary);
}

.name-picker-page .input-ctrl {
    margin-bottom: 15px;
}

.name-picker-page .names-textarea {
    width: 100%;
    min-height: 250px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    resize: vertical;
    transition: var(--transition);
}

.name-picker-page .names-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.name-picker-page .full-width {
    width: 100%;
}

.name-picker-page .btn-secondary {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.name-picker-page .btn-secondary:hover {
    background: var(--border-color);
}

/* Wheel Panel */
.name-picker-page .wheel-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.name-picker-page .wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.name-picker-page .wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: var(--primary);
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.name-picker-page #wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

.name-picker-page .wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--card-bg);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 5;
}

.name-picker-page .spin-btn {
    padding: 14px 40px;
    font-size: 1.2rem;
    font-weight: 700;
}

.name-picker-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.name-picker-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.name-picker-page .result-display {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    padding: 15px 25px;
    border-radius: 40px;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.name-picker-page .result-display i {
    margin-right: 8px;
}

.name-picker-page #winner-name {
    font-weight: 800;
    font-size: 1.2rem;
}

.name-picker-page .hidden {
    display: none;
}

/* History Section */
.name-picker-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.name-picker-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.name-picker-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.name-picker-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.name-picker-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.name-picker-page .clear-btn:hover {
    background: var(--border-color);
}

.name-picker-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.name-picker-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.name-picker-page .history-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.name-picker-page .history-result {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.name-picker-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.name-picker-page .history-actions {
    display: flex;
    gap: 8px;
}

.name-picker-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.name-picker-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.name-picker-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Confetti */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.confetti {
    position: absolute;
    top: -20px;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Tips Section */
.name-picker-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.name-picker-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.name-picker-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.name-picker-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.name-picker-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Headers & Instructions */
.name-picker-page header h1,
.name-picker-page h1 {
    color: var(--primary) !important;
}

.name-picker-page .subtitle {
    color: var(--text-muted) !important;
}

.name-picker-page .tool-info,
.name-picker-page .tool-instructions,
.name-picker-page .tool-faqs {
    padding: 0 20px;
}

.name-picker-page .tool-instructions details,
.name-picker-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.name-picker-page .tool-instructions summary,
.name-picker-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.name-picker-page .tool-instructions summary i,
.name-picker-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .name-picker-page .tool-instructions summary,
body.dark .name-picker-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .name-picker-page .tool-instructions summary i,
body.dark .name-picker-page .tool-faqs summary i {
    color: #000000 !important;
}

.name-picker-page .tool-instructions ul,
.name-picker-page .tool-instructions p,
.name-picker-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .name-picker-page .name-picker-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .name-picker-page .workspace {
        padding: 10px;
    }
    
    .name-picker-page .wheel-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .name-picker-page .layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .name-picker-page .wheel-wrapper {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .name-picker-page .spin-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .name-picker-page .result-display {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .name-picker-page .names-textarea {
        min-height: 180px;
    }
    
    .name-picker-page .history-header {
        padding: 8px 12px;
    }
    
    .name-picker-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .name-picker-page .history-item {
        padding: 10px;
    }
    
    .name-picker-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .name-picker-page .tips-grid {
        gap: 8px;
    }
    
    .name-picker-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .name-picker-page .tool-info,
    .name-picker-page .tool-instructions,
    .name-picker-page .tool-faqs {
        padding: 0 12px;
    }
    
    .name-picker-page .tool-instructions details,
    .name-picker-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .name-picker-page .tool-instructions summary,
    .name-picker-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .name-picker-page .tool-instructions ul,
    .name-picker-page .tool-instructions p,
    .name-picker-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .name-picker-page header h1,
    .name-picker-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .name-picker-page .subtitle {
        font-size: 12px;
    }
}

/* ================= YES / NO GENERATOR ================= */
.yes-no-page .yes-no-container {
    max-width: 550px;
    margin: 30px auto 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.yes-no-page .workspace {
    padding: 20px;
    background: var(--bg-light);
}

.yes-no-page .yesno-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.yes-no-page .question-input {
    margin-bottom: 30px;
}

.yes-no-page .input-ctrl {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0 20px;
    transition: var(--transition);
}

.yes-no-page .input-ctrl i {
    color: var(--primary);
    font-size: 1.1rem;
}

.yes-no-page .input-ctrl:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.yes-no-page .question-input-field {
    flex: 1;
    padding: 15px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.yes-no-page .question-input-field:focus {
    outline: none;
}

.yes-no-page .question-input-field::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.yes-no-page .result-area {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.yes-no-page .result-ball {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bg-light), var(--card-bg));
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.yes-no-page .result-ball.shake-animation {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.yes-no-page .result-ball.yes-animation {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    box-shadow: 0 20px 35px rgba(34, 197, 94, 0.3);
}

.yes-no-page .result-ball.no-animation {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    box-shadow: 0 20px 35px rgba(239, 68, 68, 0.3);
}

.yes-no-page .result-text {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.yes-no-page .result-text.neutral {
    color: var(--text-muted);
    opacity: 0.5;
}

.yes-no-page .result-text.yes-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.yes-no-page .result-text.no-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.yes-no-page .action-area {
    display: flex;
    justify-content: center;
}

.yes-no-page .decide-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
}

.yes-no-page .btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.yes-no-page .btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.yes-no-page .error-msg {
    color: #ef4444;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
    min-height: 30px;
}

/* History Section */
.yes-no-page .history-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.yes-no-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.yes-no-page .history-header h3 {
    font-size: 0.9rem;
    color: var(--text-main);
}

.yes-no-page .history-header h3 i {
    margin-right: 6px;
    color: var(--primary);
}

.yes-no-page .clear-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
}

.yes-no-page .clear-btn:hover {
    background: var(--border-color);
}

.yes-no-page .history-list {
    padding: 16px;
    max-height: 280px;
    overflow-y: auto;
}

.yes-no-page .history-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.yes-no-page .history-text {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.yes-no-page .answer-yes {
    color: #22c55e;
}

.yes-no-page .answer-no {
    color: #ef4444;
}

.yes-no-page .history-question {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-family: monospace;
    word-break: break-word;
}

.yes-no-page .history-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.yes-no-page .history-actions {
    display: flex;
    gap: 8px;
}

.yes-no-page .history-askagain,
.yes-no-page .history-delete {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 11px;
    transition: var(--transition);
}

.yes-no-page .history-askagain:hover {
    background: var(--primary);
    color: white;
}

.yes-no-page .history-delete:hover {
    background: #ef4444;
    color: white;
}

.yes-no-page .history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Tips Section */
.yes-no-page .tips-section {
    margin: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.yes-no-page .tips-section h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.yes-no-page .tips-section h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.yes-no-page .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.yes-no-page .tip-item {
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Headers & Instructions */
.yes-no-page header h1,
.yes-no-page h1 {
    color: var(--primary) !important;
}

.yes-no-page .subtitle {
    color: var(--text-muted) !important;
}

.yes-no-page .tool-info,
.yes-no-page .tool-instructions,
.yes-no-page .tool-faqs {
    padding: 0 20px;
}

.yes-no-page .tool-instructions details,
.yes-no-page .tool-faqs details {
    background: var(--bg-light);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.yes-no-page .tool-instructions summary,
.yes-no-page .tool-faqs summary {
    font-weight: 600;
    color: #000000 !important;
    cursor: pointer;
    list-style: none;
}

.yes-no-page .tool-instructions summary i,
.yes-no-page .tool-faqs summary i {
    margin-right: 8px;
    color: #000000 !important;
}

body.dark .yes-no-page .tool-instructions summary,
body.dark .yes-no-page .tool-faqs summary {
    color: #000000 !important;
}

body.dark .yes-no-page .tool-instructions summary i,
body.dark .yes-no-page .tool-faqs summary i {
    color: #000000 !important;
}

.yes-no-page .tool-instructions ul,
.yes-no-page .tool-instructions p,
.yes-no-page .tool-faqs p {
    margin-top: 10px;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 800px) {
    .yes-no-page .yes-no-container {
        margin: 10px auto 0;
        border-radius: var(--radius-md);
    }
    
    .yes-no-page .workspace {
        padding: 10px;
    }
    
    .yes-no-page .yesno-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .yes-no-page .result-ball {
        width: 160px;
        height: 160px;
    }
    
    .yes-no-page .result-text {
        font-size: 2rem;
    }
    
    .yes-no-page .decide-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .yes-no-page .input-ctrl {
        padding: 0 15px;
    }
    
    .yes-no-page .question-input-field {
        padding: 12px 0;
        font-size: 13px;
    }
    
    .yes-no-page .history-header {
        padding: 8px 12px;
    }
    
    .yes-no-page .history-list {
        padding: 10px;
        max-height: 220px;
    }
    
    .yes-no-page .history-item {
        padding: 10px;
    }
    
    .yes-no-page .tips-section {
        margin: 12px;
        padding: 12px;
    }
    
    .yes-no-page .tips-grid {
        gap: 8px;
    }
    
    .yes-no-page .tip-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .yes-no-page .tool-info,
    .yes-no-page .tool-instructions,
    .yes-no-page .tool-faqs {
        padding: 0 12px;
    }
    
    .yes-no-page .tool-instructions details,
    .yes-no-page .tool-faqs details {
        padding: 8px 12px;
        margin-bottom: 8px;
    }
    
    .yes-no-page .tool-instructions summary,
    .yes-no-page .tool-faqs summary {
        font-size: 13px;
    }
    
    .yes-no-page .tool-instructions ul,
    .yes-no-page .tool-instructions p,
    .yes-no-page .tool-faqs p {
        margin-top: 6px;
        padding-left: 15px;
        font-size: 11px;
    }
    
    .yes-no-page header h1,
    .yes-no-page h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .yes-no-page .subtitle {
        font-size: 12px;
    }
}