/* 
 * Power Calculator Styles
 * Part of the RappoDEV tools collection
 */

/* Only include tool-specific styles here - common calculator styles are in global.css */

/* Form layout specific to power calculator */
.form-row {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xs);
}

.form-row .form-group {
    flex: 1;
    margin-bottom: var(--space-sm);
}

/* Device Entry Styles */
.device-entry {
    background-color: var(--color-background);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Output Section - specific to power calculator */
/* Using global styles from components.css for result sections */

.result-item:last-child {
    border-bottom: none;
}

.result-item span:first-child {
    font-weight: 500;
    color: var(--color-text);
}

.result-item span:nth-child(2) {
    font-weight: 600;
    color: var(--color-primary);
}

/* Note: Result recommendation styles now use global styling */

.result-recommendation h3 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
}

/* Note: Reference item styling now uses global styles */

/* Animation for the recommendation box */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.recommendation-main {
    font-size: 1.2em;
    margin: var(--space-md) 0;
}

/* Note: Dark theme adjustments now handled by global themes.css */

/* Responsive adjustments specific to power calculator */
@media (max-width: var(--breakpoint-md)) {
    .form-row {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .device-entry {
        padding: var(--space-sm);
    }
}

@media (max-width: var(--breakpoint-sm)) {
    .recommendation-main {
        font-size: 1.1em;
    }
}

/* 
 * Note: Modal and settings styles are now handled by global component.css
 * This calculator uses the shared header component which provides
 * consistent styling across all RappoDEV tools
 */