/* Hour Calculator Specific Styles */
:root {
    --primary: var(--accent);
    --primary-glow: var(--accent-glow);
}

.setup-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

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

.section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-card { margin-bottom: 2rem; }
.input-card label { display: block; margin-bottom: 1rem; font-weight: 500; }

.range-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

input[type="range"] {
    flex: 1;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
}

.val-badge {
    background: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

/* Capacity Meter */
.capacity-meter {
    background: rgba(255,255,255,0.03);
    padding: 1.2rem;
    border-radius: 16px;
    margin: 1.5rem 0;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.meter-bar {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--success));
    transition: width 0.4s ease, background 0.4s ease;
}

/* Expenses List */
.expenses-list { display: flex; flex-direction: column; gap: 1rem; }

.exp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.exp-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

.exp-info { 
    display: flex; 
    align-items: center; 
    gap: 1rem;
    flex: 1;
}
.exp-info i { width: 24px; color: var(--accent); font-size: 1.1rem; }
.exp-info span { font-size: 0.95rem; font-weight: 500; }

.exp-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    text-align: right;
    width: 100px;
    padding: 0.4rem 0.8rem;
    outline: none;
    transition: all 0.3s;
}

.exp-input:focus { 
    border-color: var(--primary); 
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Hide Spinners (Arrows) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#growthPercent {
    width: 70px !important;
    text-align: center;
    padding: 0.4rem;
}

.btn-delete {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 5px;
    opacity: 0.5;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete:hover {
    opacity: 1;
    transform: scale(1.1);
}

.btn-add {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add:hover { border-color: var(--primary); color: white; background: rgba(59, 130, 246, 0.05); }

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    font-size: 0.9rem;
    font-weight: 600;
}

.price-display { font-size: 4rem; font-weight: 700; margin-bottom: 1rem; }
.currency { font-size: 1.5rem; color: var(--text-secondary); margin-left: 0.5rem; }

/* Result Panel */
.result-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-result {
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--primary-glow);
    animation: fadeInUp 0.8s ease-out;
}

.res-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.breakdown-card {
    padding: 2rem;
}

.breakdown-card h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.stat-row span:first-child {
    color: var(--text-secondary);
}

.stat-row span:last-child {
    font-weight: 600;
    color: white;
}

.stat-row.highlight {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.stat-row.highlight span:last-child {
    color: var(--success);
}

.advice-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
}

.advice-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.advice-content h5 {
    margin-bottom: 0.3rem;
    color: var(--accent);
    font-weight: 700;
}

.advice-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Principles and Manifesto */
.principles-section { margin-top: 5rem; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; background: linear-gradient(to right, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.principle-card { padding: 2rem; position: relative; overflow: hidden; }
.principle-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.p-num { position: absolute; top: -10px; right: -10px; font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.03); z-index: 0; }
.principle-card h4 { color: var(--accent); margin-bottom: 1rem; z-index: 1; position: relative; }

.manifesto-section { margin-top: 5rem; margin-bottom: 5rem; padding: 3rem; border: 1px solid rgba(16, 185, 129, 0.2); }
.manifesto-content { display: flex; gap: 3rem; align-items: center; }
.manifesto-icon { font-size: 5rem; color: var(--success); filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.3)); }
.manifesto-text h3 { font-size: 2rem; margin-bottom: 1.5rem; color: white; }
.manifesto-text p { font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary); }

@media (max-width: 800px) {
    .manifesto-content { flex-direction: column; text-align: center; }
    .price-display { font-size: 2.5rem; }
}
