/* css/proposal-stepper.css */

:root {
    --stepper-primary: var(--brand-secondary);
    /* Cor Azul Ultracon */
    --stepper-bg: #f8fafc;
}

/* Modal Adjustments for Premium Look */
#proposal-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

#proposal-modal .modal-header {
    background: white;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
}

#proposal-modal .modal-header h2 {
    font-weight: 700;
    font-size: 1.5rem;
}

#proposal-modal .modal-close {
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#proposal-modal .modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Summary Header inside Modal */
.proposal-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.proposal-summary-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.proposal-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #ecfdf5;
    color: #059669;
}

.proposal-summary-right {
    text-align: right;
}

.proposal-price-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
}

.proposal-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--stepper-primary);
    display: block;
}

/* NEW STEPPER DESIGN */
.proposal-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0;
    padding: 0 3rem;
    position: relative;
}

.proposal-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 4rem;
    right: 4rem;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 80px;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.step-item.active .step-circle {
    background: var(--stepper-primary);
    border-color: var(--stepper-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(0, 163, 224, 0.2);
}

.step-item.completed .step-circle {
    background: var(--stepper-primary);
    border-color: var(--stepper-primary);
    color: white;
}

/* Connect lines for completed steps can be handled via progress bar if needed */

.step-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: capitalize;
}

.step-item.active .step-label {
    color: #1e293b;
}

/* Content Box */
.step-content-box {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Premium Inputs */
.form-input,
.form-select,
.form-textarea {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    transition: all 0.2s !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--stepper-primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.1) !important;
}

/* Action Buttons */
#next-step-btn {
    background: var(--stepper-primary);
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
}

#next-step-btn:hover {
    background: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 163, 224, 0.4);
}

#prev-step-btn {
    border-radius: 12px;
    font-weight: 600;
}

/* Module States */
.module-disabled-overlay {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.module-status-badge {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 5px;
}

.status-empty {
    background: #f1f5f9;
    color: #64748b;
}

.status-generated {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.ai-pulse {
    animation: status-pulse 2s infinite;
}

/* AI Generation Buttons Refinement */
.btn-ai-module {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-ai-module.has-content {
    border-color: var(--brand-secondary) !important;
    background: rgba(0, 163, 224, 0.05) !important;
}. s p i n n e r - t i n y  
   > >   c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           d i s p l a y :   i n l i n e - b l o c k ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           w i d t h :   1 0 p x ;   > >   c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           h e i g h t :   1 0 p x ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           b o r d e r :   2 p x   s o l i d   r g b a ( 0 , 0 , 0 , 0 . 1 ) ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           b o r d e r - l e f t - c o l o r :   # 4 7 5 5 6 9 ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           b o r d e r - r a d i u s :   5 0 % ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           a n i m a t i o n :   s p i n   0 . 8 s   l i n e a r   i n f i n i t e ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           m a r g i n - r i g h t :   4 p x ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           v e r t i c a l - a l i g n :   m i d d l e ;   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o    
 s p i n  
   > >   c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o           t o   {   t r a n s f o r m :   r o t a t e ( 3 6 0 d e g ) ;   }   > >    
 c : \ P r o j e t o s \ f a c t o r y - p o r t a l \ c s s \ p r o p o s a l - s t e p p e r . c s s  
 e c h o    
 