/* Custom styles for Peak Power Calculator */
/* Using minimal custom CSS to complement Bootstrap theme */

body {
    background: #ffffff;
    font-family: var(--bs-font-sans-serif);
    color: #212529;
}

/* Smooth transitions for form interactions */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
    transition: all 0.15s ease-in-out;
}

/* Clean card styling */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
    background: #ffffff;
    border: none;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Results card clean styling */
.card.results-card {
    border: none;
}

/* Info card clean styling */
.card.info-card {
    border: none;
}

/* Calculator container with border */
.calculator-container {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #ffffff;
}

/* Removed icon styling - no icons used */

/* Form validation styling */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: var(--bs-success);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2398ca3e' d='m2.3 6.73.94-.94 4.25-4.25.94.94L2.3 8.67z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Button hover effects */
.btn {
    transition: all 0.15s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Alert styling */
.alert {
    border-radius: 0.5rem;
}

/* Responsive text adjustments */
@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Loading state for calculate button */
.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Enhanced form text */
.form-text {
    color: var(--bs-secondary);
    font-size: 0.875em;
}

/* Logo styling */
.logo-brand {
    transition: all 0.3s ease;
    opacity: 0.9;
}

.logo-brand:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Results display enhancement */
.text-success {
    font-weight: 600;
}

.text-info {
    font-weight: 500;
}

.text-warning {
    font-weight: 500;
}

/* Clean card header styling */
.card-header {
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Clean standards list styling */
.list-unstyled li {
    padding: 0.125rem 0;
}

.list-unstyled li:last-child {
    border-bottom: none;
}

/* Loading overlay styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}
