/* Premium Tools CSS System */
:root {
    --tool-primary: #0f172a;
    --tool-secondary: #3b82f6;
    --tool-accent: #f59e0b;
    --tool-danger: #ef4444;
    --tool-success: #10b981;
    --tool-bg: #f8fafc;
    --tool-card-bg: #ffffff;
}

.tool-page {
    background-color: var(--tool-bg);
    min-height: 100vh;
    padding-top: 100px;
}

.tool-header {
    margin-bottom: 3rem;
}

.tool-card {
    background: var(--tool-card-bg);
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tool-input-section {
    padding: 2.5rem;
    border-right: 1px solid #f1f5f9;
}

.tool-result-section {
    padding: 2.5rem;
    background-color: #fcfdfe;
}

.form-label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.75rem;
}

.form-control-premium {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-control-premium:focus {
    border-color: var(--tool-secondary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.btn-calculate {
    background: var(--tool-primary);
    color: white;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 700;
    width: 100%;
    margin-top: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-calculate:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

.result-label {
    color: #64748b;
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--tool-primary);
}

.result-total {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid #fde68a;
}

.total-label {
    display: block;
    color: #92400e;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.total-value {
    display: block;
    color: var(--tool-danger);
    font-size: 2.2rem;
    font-weight: 900;
}

.cta-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    text-align: center;
}

.btn-cta-premium {
    background-color: var(--tool-accent);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-block;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-cta-premium:hover {
    background-color: #d97706;
    color: white;
    transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .tool-input-section {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }
}
