/**
 * Contract Embroidery Pricing Calculator - CSS Fixes & Enhancements
 * Purpose: Strengthen NWCA green theme and improve visual design
 * Created: 2025
 */

/* ========================================
   Enhanced NWCA Green Theme Variables
   ======================================== */

:root {
    --primary-green: #4cb354 !important;
    --primary-dark: #409a47 !important;
    --primary-light: #5bc85f !important;
    --primary-lighter: #e8f5e9 !important;
    --success-bg: #d1fae5 !important;
    --success-text: #065f46 !important;
    --green-gradient: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    --light-gradient: linear-gradient(135deg, #f8fffe 0%, #e8f5e9 100%) !important;
    --card-hover-shadow: 0 4px 12px rgba(76, 179, 84, 0.15) !important;
    --focus-shadow: 0 0 0 0.25rem rgba(76, 179, 84, 0.25) !important;
    --border-color: #e5e7eb !important;
    --hover-bg: #f3f4f6 !important;
    --text-primary: #1f2937 !important;
    --text-secondary: #6b7280 !important;
}

/* ========================================
   Page Background & Overall Enhancement
   ======================================== */

body {
    background: linear-gradient(135deg, #f8fffe 0%, #f0f7f5 100%) !important;
}

.main-container {
    background: transparent !important;
    padding: 2rem !important;
}

/* ========================================
   Header Improvements
   ======================================== */

.header {
    background: white !important;
    border-bottom: 2px solid #4cb354 !important;
    box-shadow: 0 2px 8px rgba(76, 179, 84, 0.1) !important;
}

.breadcrumb a {
    color: #4cb354 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.breadcrumb a:hover {
    color: #409a47 !important;
}

.user-welcome {
    color: #409a47 !important;
    font-weight: 600 !important;
}

/* ========================================
   Page Header & Title
   ======================================== */

.page-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(76, 179, 84, 0.1) !important;
}

.page-title {
    color: #2d5f3f !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.title-icon {
    color: #4cb354 !important;
    font-size: 1.75rem !important;
}

.page-subtitle {
    color: #6b7280 !important;
    font-size: 1.125rem !important;
    margin: 0 !important;
}

/* ========================================
   Guide Buttons Enhancement
   ======================================== */

.guide-button {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(76, 179, 84, 0.2) !important;
}

.guide-button:hover {
    background: linear-gradient(135deg, #409a47 0%, #2d5f3f 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(76, 179, 84, 0.3) !important;
}

.guide-button i {
    margin-right: 0.5rem !important;
}

/* ========================================
   Main Card Sections
   ======================================== */

.input-section,
.results-section {
    background: white !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(76, 179, 84, 0.1) !important;
    transition: all 0.3s ease !important;
}

.input-section:hover,
.results-section:hover {
    box-shadow: 0 4px 12px rgba(76, 179, 84, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   Section Titles
   ======================================== */

.section-title {
    color: #2d5f3f !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #4cb354 !important;
    margin-bottom: 1.5rem !important;
}

.section-title i {
    color: #4cb354 !important;
    font-size: 1.125rem !important;
}

/* ========================================
   Form Elements Enhancement
   ======================================== */

.form-input,
.form-select,
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    background: white !important;
    width: 100% !important;
}

/* Remove native dropdown arrows */
select.form-select,
select.form-control {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234cb354' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 1rem !important;
    padding-right: 2.5rem !important;
}

.form-input:hover,
.form-select:hover,
input:hover,
select:hover,
textarea:hover {
    border-color: #4cb354 !important;
    box-shadow: 0 1px 3px rgba(76, 179, 84, 0.1) !important;
}

.form-input:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: #4cb354 !important;
    box-shadow: 0 0 0 0.25rem rgba(76, 179, 84, 0.25) !important;
}

/* Number input specific */
input[type="number"] {
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 1.125rem !important;
}

/* Form labels */
.form-label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.025em !important;
    display: block !important;
}

/* Help text */
small {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    display: block !important;
    margin-top: 0.25rem !important;
}

/* ========================================
   Button Styles
   ======================================== */

.btn,
.btn-primary {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(76, 179, 84, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.btn:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #409a47 0%, #2d5f3f 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(76, 179, 84, 0.3) !important;
}

.btn-fullwidth {
    width: 100% !important;
    margin-top: 1.5rem !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* ========================================
   Results Section Enhancement
   ======================================== */

.empty-state {
    text-align: center !important;
    padding: 3rem !important;
    color: #9ca3af !important;
}

.empty-state i {
    font-size: 3rem !important;
    color: #e5e7eb !important;
    margin-bottom: 1rem !important;
}

.empty-state h3 {
    color: #6b7280 !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.empty-state p {
    color: #9ca3af !important;
}

/* Results display when active */
#resultsDisplay:not(.hidden) {
    animation: fadeInUp 0.5s ease !important;
    display: block !important;
}

.hidden {
    display: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quote result styling */
.quote-result {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e9 100%) !important;
    border: 2px solid #4cb354 !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
}

.quote-header {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 8px 8px 0 0 !important;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem !important;
}

.price-display {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #4cb354 !important;
    text-shadow: 0 2px 4px rgba(76, 179, 84, 0.1) !important;
    margin: 1rem 0 !important;
}

.price-per-item {
    font-size: 1.125rem !important;
    color: #6b7280 !important;
    margin-top: 0.5rem !important;
}

/* ========================================
   Modal Enhancements
   ======================================== */

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75) !important;  /* Increased opacity for better visibility */
    z-index: 1000;
    overflow-y: auto;
}

/* Guide modal specific backdrop */
.guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75) !important;  /* Increased opacity */
    z-index: 1000;
    overflow-y: auto;
}

.modal {
    background-color: white !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.modal-title {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin: 0 !important;
}

.modal-close {
    background: white !important;
    color: #4cb354 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-close:hover {
    background: #f3f4f6 !important;
    transform: scale(1.1) !important;
}

/* ========================================
   Buyer's Guide Modal Enhancement
   ======================================== */

.guide-modal {
    backdrop-filter: blur(4px) !important;
}

.guide-content {
    background: white !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15) !important;
}

.guide-header {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    padding: 2rem !important;
    border-bottom: none !important;
}

.guide-header h2 {
    color: white !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
}

.guide-close {
    background: white !important;
    color: #4cb354 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
}

.guide-close:hover {
    background: #f3f4f6 !important;
    transform: scale(1.1) !important;
}

/* Modal content areas - ensure solid white backgrounds */
.modal form,
.modal .modal-body,
.modal-content,
#quoteModal form,
#emailGuideModal form {
    background-color: white !important;
    padding: 1.5rem !important;
}

/* Form elements in modals - ensure visibility */
.modal .form-input,
.modal .form-select,
.modal .form-control,
.modal input,
.modal select,
.modal textarea {
    background-color: white !important;
    border: 2px solid #e5e7eb !important;
    opacity: 1 !important;
}

.guide-tabs {
    background: #f3f4f6 !important;
    padding: 0.5rem !important;
    gap: 0.5rem !important;
}

.guide-tab {
    color: #6b7280 !important;
    transition: all 0.3s ease !important;
}

.guide-tab:hover {
    color: #4cb354 !important;
    background: rgba(76, 179, 84, 0.1) !important;
}

.guide-tab.active {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    box-shadow: 0 2px 6px rgba(76, 179, 84, 0.2) !important;
}

/* FAQ Styling */
.faq-category {
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e9 100%) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(76, 179, 84, 0.1) !important;
}

.faq-category h3 {
    color: #2d5f3f !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #4cb354 !important;
}

.faq-item {
    margin-bottom: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(76, 179, 84, 0.1) !important;
}

.faq-question {
    font-weight: 600 !important;
    color: #409a47 !important;
    margin-bottom: 0.75rem !important;
    font-size: 1rem !important;
}

.faq-answer {
    color: #6b7280 !important;
    line-height: 1.7 !important;
}

/* Order Steps */
.order-step {
    display: flex !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 1.5rem !important;
    background: white !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s ease !important;
}

.order-step:hover {
    box-shadow: 0 4px 12px rgba(76, 179, 84, 0.1) !important;
    border-color: #4cb354 !important;
}

.step-number {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(76, 179, 84, 0.3) !important;
}

.step-content h4 {
    color: #2d5f3f !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.step-content li::before {
    content: '✓' !important;
    color: #4cb354 !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
}

/* Guide Note */
.guide-note {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #92400e !important;
    padding: 1.25rem !important;
    border-radius: 8px !important;
    margin: 2rem 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    border: 2px solid #f59e0b !important;
}

.guide-note i {
    color: #f59e0b !important;
    font-size: 1.25rem !important;
}

.guide-note strong {
    color: #78350f !important;
}

/* Contact Cards in Guide */
.contact-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

.contact-card {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(76, 179, 84, 0.2) !important;
    transition: all 0.3s ease !important;
}

.contact-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 16px rgba(76, 179, 84, 0.3) !important;
}

.contact-card h4 {
    color: white !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
}

.contact-card p {
    margin: 0.25rem 0 !important;
    opacity: 0.95 !important;
}

.contact-card a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.2s ease !important;
}

.contact-card a:hover {
    border-bottom-color: white !important;
}

/* Purchase Order Example */
.po-example {
    background: white !important;
    border: 2px solid #4cb354 !important;
    border-radius: 10px !important;
    padding: 2rem !important;
    margin-top: 1.5rem !important;
}

.po-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.po-field {
    padding: 0.75rem !important;
    background: #f8fffe !important;
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
}

.po-label {
    display: block !important;
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    margin-bottom: 0.25rem !important;
    font-weight: 600 !important;
}

.po-value {
    display: block !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
}

/* ========================================
   Checkbox Styling
   ======================================== */

.checkbox-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 1rem 0 !important;
}

input[type="checkbox"] {
    width: 1.25rem !important;
    height: 1.25rem !important;
    cursor: pointer !important;
    accent-color: #4cb354 !important;
}

.checkbox-group label {
    cursor: pointer !important;
    font-weight: 500 !important;
    color: #374151 !important;
}

.checkbox-group:hover label {
    color: #4cb354 !important;
}

/* ========================================
   Success and Error Messages
   ======================================== */

.success-message {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #065f46 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    margin: 1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    border: 2px solid #10b981 !important;
}

.success-message.hidden {
    display: none !important;
}

.success-message i {
    color: #10b981 !important;
    font-size: 1.25rem !important;
}

.error-message {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
    color: #991b1b !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    margin: 1rem 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    border: 2px solid #ef4444 !important;
}

.error-message.hidden {
    display: none !important;
}

.error-message i {
    color: #ef4444 !important;
    font-size: 1.25rem !important;
}

/* ========================================
   Quote Summary Box
   ======================================== */

.quote-summary {
    background: linear-gradient(135deg, #e8f5e9 0%, #d1fae5 100%) !important;
    border: 2px solid #4cb354 !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
}

.quote-summary h4 {
    color: #2d5f3f !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

/* ========================================
   Loading States
   ======================================== */

.loading,
.spinner {
    border-color: #e8f5e9 !important;
    border-top-color: #4cb354 !important;
}

/* ========================================
   Focus Visible States
   ======================================== */

*:focus-visible {
    outline: 2px solid #4cb354 !important;
    outline-offset: 2px !important;
}

*:focus:not(:focus-visible) {
    outline: none !important;
}

/* ========================================
   Smooth Transitions
   ======================================== */

* {
    transition: color 0.2s ease,
                background-color 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
}

/* ========================================
   Page Load Animations
   ======================================== */

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page-header {
    animation: slideInFromTop 0.5s ease-out !important;
}

.input-section {
    animation: slideInFromLeft 0.5s ease-out !important;
}

.results-section {
    animation: slideInFromRight 0.5s ease-out !important;
    animation-delay: 0.1s !important;
    animation-fill-mode: both !important;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr !important;
    }
    
    .page-header {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    
    .page-title {
        font-size: 1.5rem !important;
    }
    
    .price-display {
        font-size: 2.5rem !important;
    }
    
    .guide-content {
        width: 95% !important;
        max-height: 95vh !important;
    }
    
    .contact-cards {
        grid-template-columns: 1fr !important;
    }
    
    .po-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    body {
        background: white !important;
    }
    
    .no-print,
    .btn,
    button,
    .modal,
    .guide-button {
        display: none !important;
    }
    
    .card,
    .input-section,
    .results-section {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
    }
}

/* ========================================
   Quote Table Styling
   ======================================== */

.quote-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5rem 0 !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.quote-table th {
    background: linear-gradient(135deg, #4cb354 0%, #409a47 100%) !important;
    color: white !important;
    padding: 1rem !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.quote-table th.text-center {
    text-align: center !important;
}

.quote-table th.text-right {
    text-align: right !important;
}

.quote-table td {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.quote-table td.text-center {
    text-align: center !important;
}

.quote-table td.text-right {
    text-align: right !important;
}

.quote-table tr:hover {
    background: #f8fffe !important;
}

/* Quote summary rows */
.summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.summary-label {
    font-weight: 600 !important;
    color: #374151 !important;
}

.summary-value {
    color: #1f2937 !important;
    font-weight: 500 !important;
}

/* Total section styling */
.total-section {
    margin-top: 2rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #e8f5e9 0%, #d1fae5 100%) !important;
    border-radius: 10px !important;
    border: 2px solid #4cb354 !important;
}

.total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.total-label {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2d5f3f !important;
}

.total-amount {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #4cb354 !important;
}

/* Button container */
.button-container {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    justify-content: center !important;
}

/* Modal active state */
.modal-backdrop.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.guide-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ========================================
   Final Polish - Green Glow Effects
   ======================================== */

/* Add subtle green glow to focused inputs */
input:focus,
select:focus,
textarea:focus {
    background: linear-gradient(135deg, white 0%, #f8fffe 100%) !important;
}

/* Pulse animation for calculate button */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 2px 6px rgba(76, 179, 84, 0.2);
    }
    50% {
        box-shadow: 0 4px 12px rgba(76, 179, 84, 0.4);
    }
}

.btn-primary:not(:hover) {
    animation: pulse 2s infinite !important;
}

/* Green highlight for active form section */
.form-group:focus-within {
    position: relative !important;
}

.form-group:focus-within::after {
    content: '' !important;
    position: absolute !important;
    inset: -4px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #4cb354, #5bc85f) !important;
    opacity: 0.1 !important;
    pointer-events: none !important;
    animation: pulse-glow 2s infinite !important;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.15; }
}