/*
Theme Name: vClock Theme
Theme URI: 
Author: vClock
Description: Custom theme for vClock calculators
Version: 1.0
*/

/* ===== vClock Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border: #e2e8f0;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #dbeafe;
    --danger: #ef4444;
    --input-bg: #f1f5f9;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --white-bg: #ffffff;
    --success: #10b981;
    --purple: #8b5cf6;
    --box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #4ade80;
    --text-secondary: #86efac;
    --border: #4ade80;
    --accent: #4ade80;
    --accent-hover: #22c55e;
    --accent-light: #166534;
    --danger: #f87171;
    --input-bg: #1e293b;
    --shadow: 0 4px 12px rgba(74,222,128,0.2);
    --white-bg: #1e293b;
    --success: #4ade80;
    --purple: #c084fc;
    --box-shadow: 0 10px 25px -5px rgba(74,222,128,0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Main container */
.vclock-main {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* For smaller calculators like age, date etc */
.vclock-main.compact {
    max-width: 800px;
}

/* For large calculators like commission */
.vclock-main.large {
    max-width: 1000px;
}

/* WordPress admin bar adjustment */
@media screen and (max-width: 782px) {
    .vclock-main {
        margin-top: 46px;
    }
}

/* SUPER SIMPLE HEADER - NO BORDER, NO SHADOW, NO ROUNDED */
.vclock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 12px 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.vclock-logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.vclock-logo span {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.lang-toggle {
    display: flex;
    gap: 4px;
    background: var(--input-bg);
    padding: 4px;
    border-radius: 40px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 32px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Navigation - Centered on all devices */
.vclock-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: wrap;
}

.vclock-nav::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    min-width: 70px;
}

.nav-item i {
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-item.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.nav-item.active i {
    color: var(--bg-primary);
}

.nav-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Time Card */
.time-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 32px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.current-time {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.current-date {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Date Display (for Date Tools) */
.date-display {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 32px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.digital-date-large {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 8px;
}

.digital-day {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.digital-week {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Header Title */
.calculator-header {
    text-align: center;
    margin-bottom: 20px;
}

.calculator-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.calculator-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Main Card */
.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 28px;
    box-shadow: var(--shadow);
    width: 100%;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.card-title i {
    color: var(--accent);
}

/* Input Grid */
.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .input-grid.two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.input-group {
    margin-bottom: 5px;
    width: 100%;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-label i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
}

.input-field {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.input-field:hover {
    border-color: var(--accent);
}

.input-field::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

select.input-field {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

/* Date Input Row (for Date Tools) */
.date-input-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.date-input {
    flex: 1;
    min-width: 200px;
}

.date-field {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--input-bg);
    color: var(--text-primary);
}

/* Button Group */
.button-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* Info Tooltip */
.info-tooltip {
    background: var(--accent-light);
    color: var(--accent);
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.info-tooltip i {
    font-size: 18px;
}

/* Calculate Button */
.btn-calculate {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    margin-top: 10px;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74,222,128,0.3);
}

/* Secondary Button */
.btn-secondary {
    flex: 1;
    padding: 16px;
    background: var(--input-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: var(--accent);
}

/* Reset Button */
.btn-reset {
    flex: 1;
    padding: 16px;
    background: var(--input-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reset:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

/* Result Box */
.result-box {
    margin-top: 30px;
    padding: 24px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: none;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

.result-box.show {
    display: block;
}

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

.result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.result-title i {
    color: var(--accent);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--input-bg);
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--accent);
    font-size: 20px;
    border: 1px solid var(--border);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value.primary {
    color: var(--accent);
}

.stat-value.success {
    color: var(--success);
}

.stat-value.purple {
    color: var(--purple);
}

/* Age Grid */
.age-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
    width: 100%;
}

.age-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.age-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.age-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
    width: 100%;
}

.detail-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: var(--input-bg);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    border: 1px solid var(--border);
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Birthday Card */
.birthday-card {
    background: linear-gradient(135deg, var(--accent-light), var(--bg-card));
    border: 2px solid var(--accent);
    border-radius: 24px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.birthday-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
}

.birthday-info {
    flex: 1;
}

.birthday-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.birthday-date {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.birthday-countdown {
    font-size: 14px;
    color: var(--accent);
}

/* Fun Facts */
.fun-facts {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    margin: 20px 0;
    width: 100%;
}

.fun-fact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.fun-fact-icon {
    width: 32px;
    height: 32px;
    background: var(--input-bg);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
    border: 1px solid var(--border);
}

.fun-fact-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.fun-fact-text strong {
    color: var(--accent);
}

/* Presets Section */
.presets-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-top: 20px;
    width: 100%;
}

.presets-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.presets-title i {
    color: var(--accent);
}

.presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .presets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.preset-item {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 60px;
    padding: 12px 8px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s;
}

.preset-item:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: scale(1.02);
}

/* Recent Section */
.recent-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 24px;
    box-shadow: var(--shadow);
    width: 100%;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.recent-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.recent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recent-icon {
    font-size: 20px;
}

.recent-details {
    display: flex;
    flex-direction: column;
}

.recent-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.recent-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.recent-value {
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
    width: 100%;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 56px;
    height: 56px;
    background: var(--input-bg);
    border-radius: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
    font-size: 24px;
    border: 1px solid var(--border);
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 28px;
    margin: 20px 0;
    width: 100%;
}

.faq-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.faq-title i {
    color: var(--accent);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.faq-question i {
    color: var(--accent);
    font-size: 16px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-left: 26px;
}

/* World Clock Specific */
.location-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.location-icon {
    width: 56px;
    height: 56px;
    background: var(--input-bg);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    border: 1px solid var(--border);
}

.location-info {
    flex: 1;
}

.location-city {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.location-time {
    font-size: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.location-tz {
    font-size: 13px;
    background: var(--input-bg);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid var(--border);
}

.world-clock-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
    margin: 10px 0;
    width: 100%;
}

.world-clock-grid::-webkit-scrollbar {
    width: 6px;
}

.world-clock-grid::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-radius: 10px;
}

.world-clock-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.world-clock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
    cursor: default;
    width: 100%;
}

.world-clock-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.city-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.city-flag {
    font-size: 32px;
    width: 48px;
    text-align: center;
}

.city-details {
    flex: 1;
}

.city-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 16px;
}

.city-country {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-time-block {
    text-align: right;
    min-width: 140px;
}

.city-current-time {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    font-family: monospace;
    letter-spacing: 1px;
}

.city-current-date {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.city-actions {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.city-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 30px;
    transition: all 0.2s;
    font-size: 14px;
}

.city-action-btn:hover {
    color: var(--accent);
    background: var(--bg-card);
}

.city-action-btn.remove:hover {
    color: var(--danger);
}

.region-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 8px;
    margin-top: 10px;
    border-bottom: 2px solid var(--border);
}

.region-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.region-header span {
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
}

/* Tools Tabs (for Date Tools) */
.tools-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
    justify-content: center;
}

.tool-tab {
    flex: 1;
    min-width: 100px;
    padding: 12px 8px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: none;
    background: none;
}

.tool-tab i {
    margin-right: 6px;
    font-size: 14px;
}

.tool-tab:hover {
    color: var(--accent);
    background: var(--input-bg);
}

.tool-tab.active {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Commission Specific */
.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    height: 250px;
    width: 100%;
}

.breakdown-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 20px 0;
    width: 100%;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-row.total {
    background: var(--accent-light);
    font-weight: 600;
}

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.breakdown-label i {
    color: var(--accent);
    width: 18px;
}

.breakdown-amount {
    font-weight: 600;
    color: var(--text-primary);
}

.tiers-section {
    margin-top: 20px;
    width: 100%;
}

.tier-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-title i {
    color: var(--accent);
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 640px) {
    .tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tier-btn {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 60px;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.tier-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.btn-pdf {
    width: 100%;
    padding: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.btn-pdf:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

.btn-pdf i {
    font-size: 16px;
}

/* Search Box (for World Clock) */
.search-box {
    position: relative;
    margin: 8px 0;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 18px 18px 18px 50px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 60px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
}

/* WordPress Page Content */
.page-content {
    width: 100%;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 24px;
    margin: 20px 0;
    border: 2px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--box-shadow);
}

.page-content * {
    color: var(--text-primary);
}

.page-content h1, .page-content h2, .page-content h3, 
.page-content h4, .page-content h5, .page-content h6 {
    color: var(--accent);
    margin: 20px 0 10px;
}

.page-content p {
    color: var(--text-secondary);
    margin: 10px 0;
    line-height: 1.8;
}

.page-content a {
    color: var(--accent);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--accent-hover);
}

.page-content ul, .page-content ol {
    margin: 10px 0 10px 20px;
    color: var(--text-secondary);
}

.page-content li {
    margin: 5px 0;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.page-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 10px 20px;
    margin: 20px 0;
    background: var(--input-bg);
    color: var(--text-secondary);
    border-radius: 0 16px 16px 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content th {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 12px;
    text-align: left;
}

.page-content td {
    padding: 12px;
    border: 1px solid var(--border);
}

/* Description Section - No Box */
.description-section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 20px;
    width: 100%;
}

.description-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.description-title i {
    color: var(--accent);
    font-size: 28px;
}

.description-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.description-text p {
    margin-bottom: 16px;
}

.description-text strong {
    color: var(--accent);
}

.keywords-white {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 16px;
}

.keyword-white {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
}

.keyword-white:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Theme Toggle - Bottom Right */
.theme-toggle-bottom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.theme-btn {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 60px;
    width: 54px;
    height: 54px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.theme-btn:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--accent);
}

.theme-btn i {
    color: var(--accent);
    font-size: 26px;
}

/* Hide theme text */
#themeText {
    display: none;
}

/* No data */
.no-data {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    background: var(--input-bg);
    border-radius: 20px;
    border: 2px dashed var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .vclock-main {
        margin-top: 20px;
    }
    
    .current-time {
        font-size: 48px;
    }
    
    .digital-date-large {
        font-size: 40px;
    }
    
    .digital-day {
        font-size: 20px;
    }
    
    .calculator-header h1 {
        font-size: 28px;
    }
    
    .vclock-nav {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .vclock-header {
        padding: 8px 0;
    }
    
    .vclock-logo h1 {
        font-size: 22px;
    }
    
    .vclock-logo span {
        font-size: 12px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-item {
        min-width: auto;
        padding: 10px 14px;
    }
    
    .nav-item i {
        font-size: 18px;
    }
    
    .current-time {
        font-size: 42px;
    }
    
    .digital-date-large {
        font-size: 36px;
    }
    
    .digital-day {
        font-size: 18px;
    }
    
    .calculator-header h1 {
        font-size: 24px;
    }
    
    .calculator-header p {
        font-size: 14px;
    }
    
    .age-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .presets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .theme-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .theme-btn i {
        font-size: 24px;
    }
    
    .page-content {
        padding: 16px;
    }
    
    .location-card {
        flex-direction: column;
        text-align: center;
    }
    
    .world-clock-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .city-info {
        width: 100%;
    }
    
    .city-time-block {
        width: 100%;
        text-align: left;
        margin-left: 63px;
    }
    
    .city-actions {
        width: 100%;
        justify-content: flex-end;
        margin-left: 63px;
    }
    
    .add-city-row {
        flex-direction: column;
    }
    
    .btn-add {
        width: 100%;
        justify-content: center;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn-secondary, .btn-reset {
        width: 100%;
    }
    
    .date-input-row {
        flex-direction: column;
    }
    
    .tools-tabs {
        flex-direction: column;
        border-radius: 30px;
    }
    
    .birthday-card {
        flex-direction: column;
        text-align: center;
    }
    
    .breakdown-row {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .vclock-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .vclock-logo h1 {
        font-size: 20px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .vclock-nav {
        justify-content: center;
    }
    
    .calculator-header h1 {
        font-size: 22px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .input-field {
        padding: 14px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .chart-container {
        height: 220px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}