/* /Layout/LoginLayout.razor.rz.scp.css */
/* /Layout/MainLayout.razor.rz.scp.css */
/* /Layout/OneFeatureScreenLayout.razor.rz.scp.css */
/* /Pages/Menu/Declaration/Add.razor.rz.scp.css */
/* Declaration Form Page Styles */

/* Header styling */
.declaration-header[b-a5nvro29v5] {
    text-align: center;
    margin-bottom: 2rem;
}

.declaration-title[b-a5nvro29v5] {
    background: linear-gradient(90deg, var(--color-red-600) 0%, #673AB7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 2rem;
}

.declaration-subtitle[b-a5nvro29v5] {
    color: var(--color-slate-700);
    margin-top: 0.5rem;
}

/* Form sections */
.declaration-section[b-a5nvro29v5] {
    background: var(--color-slate-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-slate-200);
}

.declaration-section-header[b-a5nvro29v5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-slate-700);
    font-weight: 600;
}

.declaration-section-description[b-a5nvro29v5] {
    color: var(--color-slate-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* File upload area */
.file-upload-area[b-a5nvro29v5] {
    border: 2px dashed var(--color-slate-300);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--color-slate-50);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover[b-a5nvro29v5] {
    border-color: var(--color-entreo-blue);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.file-upload-area:active[b-a5nvro29v5] {
    transform: translateY(0);
}

.file-upload-button[b-a5nvro29v5] {
    border-color: var(--color-entreo-blue) !important;
    color: var(--color-entreo-blue) !important;
    border-radius: 24px !important;
    height: 48px !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* File select button styling */
.file-select-button[b-a5nvro29v5] {
    background: var(--color-entreo-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    font-size: var(--font-size-entreo-button);
    line-height: var(--line-height-entreo-button);
    font-weight: var(--font-weight-entreo-button);
    letter-spacing: var(--letter-spacing-entreo-button);
    border: 2px solid var(--color-entreo-blue);
}

.file-select-button:active[b-a5nvro29v5] {
    transform: translateY(0);
}

/* File list styling */
.file-item[b-a5nvro29v5] {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.file-item:hover[b-a5nvro29v5] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: var(--color-red-600);
}

.file-icon[b-a5nvro29v5] {
    color: var(--color-red-600);
}

.file-name[b-a5nvro29v5] {
    font-weight: 500;
    color: #212529;
}

.file-size[b-a5nvro29v5] {
    color: var(--color-slate-600);
    font-size: 0.8rem;
}

/* Submit button */
.submit-button[b-a5nvro29v5] {
    background: linear-gradient(90deg, var(--color-red-600) 0%, #673AB7 100%) !important;
    color: white !important;
    border-radius: 24px !important;
    height: 56px !important;
    font-weight: 600;
    font-size: 18px !important;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
    width: 100% !important;
    max-width: none !important;
}

.submit-button:hover[b-a5nvro29v5] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
}

.submit-button:disabled[b-a5nvro29v5] {
    background: var(--color-slate-200) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Required field indicator */
.required-indicator[b-a5nvro29v5] {
    color: #dc3545;
    font-weight: bold;
}

/* Success/Error states */
.declaration-success[b-a5nvro29v5] {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: oklch(59.6% 0.145 163.225); 
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.declaration-error[b-a5nvro29v5] {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: oklch(58.6% 0.253 17.585);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Loading states */
.loading-overlay[b-a5nvro29v5] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
} 

/* Responsive adjustments */
@media (max-width: 768px) {
    .declaration-section[b-a5nvro29v5] {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .declaration-title[b-a5nvro29v5] {
        font-size: 1.5rem;
    }
    
    .file-upload-area[b-a5nvro29v5] {
        padding: 1.5rem;
    }
}

/* Animation for file upload */
@keyframes slideIn-b-a5nvro29v5 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item[b-a5nvro29v5] {
    animation: slideIn-b-a5nvro29v5 0.3s ease-out;
}

/* Custom Stepper Styles */
.stepper-container[b-a5nvro29v5] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.stepper-item[b-a5nvro29v5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.stepper-circle[b-a5nvro29v5] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-slate-50);
    border: 2px solid var(--color-slate-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.stepper-circle.current[b-a5nvro29v5] {
    background: var(--color-entreo-blue);
    border-color: var(--color-entreo-blue);
    color: white;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12);
    transform: scale(1.1);
}

.stepper-circle.completed[b-a5nvro29v5] {
    background: var(--color-entreo-blue);
    border-color: var(--color-entreo-blue);
    color: white;
}

.stepper-number[b-a5nvro29v5] {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-slate-600);
}

.stepper-circle.current .stepper-number[b-a5nvro29v5],
.stepper-circle.completed .stepper-number[b-a5nvro29v5] {
    color: white;
}

.stepper-check[b-a5nvro29v5] {
    color: white;
}

.stepper-label[b-a5nvro29v5] {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-slate-600);
    font-weight: 500;
    line-height: 1.2;
}

.stepper-label.active[b-a5nvro29v5] {
    color: black;
    font-weight: 600;
}

.stepper-line[b-a5nvro29v5] {
    position: absolute;
    top: 20px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 2px;
    background-color: var(--color-slate-400);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.stepper-line.completed[b-a5nvro29v5] {
    background: linear-gradient(90deg, var(--color-entreo-blue));
}

/* Responsive adjustments for stepper */
@media (max-width: 768px) {
    .stepper-container[b-a5nvro29v5] {
        margin: 1.5rem 0;
        padding: 0 0.5rem;
    }

    .stepper-circle[b-a5nvro29v5] {
        width: 32px;
        height: 32px;
    }

    .stepper-number[b-a5nvro29v5] {
        font-size: 0.875rem;
    }

    .stepper-label[b-a5nvro29v5] {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }

    .stepper-line[b-a5nvro29v5] {
        top: 16px;
        left: calc(50% + 16px);
        right: calc(-50% + 16px);
    }
}

@media (max-width: 480px) {
    .stepper-label[b-a5nvro29v5] {
        display: none; /* Hide labels on very small screens */
    }
}

/* Custom MudBlazor component overrides */
[b-a5nvro29v5] .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--color-slate-300);
}

[b-a5nvro29v5] .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: var(--color-red-600);
}

[b-a5nvro29v5] .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--color-red-600);
    border-width: 2px;
}
/* /Pages/Menu/Declaration/Index.razor.rz.scp.css */
/* Declarations List Page Styles */

/* Header styling */
.declaration-header[b-1lmm2qok1s] {
  text-align: center;
  margin-bottom: 2rem;
}

.declaration-title[b-1lmm2qok1s] {
  background: linear-gradient(90deg, #e91e63 0%, #673ab7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 2rem;
}

.declaration-subtitle[b-1lmm2qok1s] {
  color: #666;
  margin-top: 0.5rem;
}

/* Add button styling */
.declaration-add-button[b-1lmm2qok1s] {
  background: #e91e63 !important;
  color: white !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3) !important;
  transition: all 0.3s ease !important;
}

.declaration-add-button:hover[b-1lmm2qok1s] {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4) !important;
}

/* List styling */
.declarations-list[b-1lmm2qok1s] {
  padding: 0 !important;
}

/* Declaration Card Styling - using rainbow border from global styles */
.declaration-list-item[b-1lmm2qok1s] {
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
}

.declaration-list-item:hover[b-1lmm2qok1s] {
  transform: translateY(-2px) !important;
}

/* Declaration Card Content */
.declaration-company-name[b-1lmm2qok1s] {
  font-weight: 600 !important;
  color: #212529 !important;
  margin-bottom: 0.25rem !important;
}

.declaration-description[b-1lmm2qok1s] {
  color: #6c757d !important;
  line-height: 1.4 !important;
}

.declaration-amount[b-1lmm2qok1s] {
  font-weight: 600 !important;
  color: #212529 !important;
}

.declaration-date-text[b-1lmm2qok1s] {
  color: #6c757d !important;
  font-size: 0.75rem !important;
}

.declaration-created-text[b-1lmm2qok1s] {
  color: #6c757d !important;
  font-size: 0.75rem !important;
  margin-top: 0.25rem !important;
}

.declaration-status-chip[b-1lmm2qok1s] {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.25rem !important;
}
.declaration-status-chip[b-1lmm2qok1s] .mud-chip-content {
  padding: 0.25rem 0.5rem !important;
}
/* Empty state styling */
.empty-state-icon[b-1lmm2qok1s] {
  color: #6c757d !important;
}

/* Status chip colors */
[b-1lmm2qok1s] .mud-chip.mud-chip-color-success {
  background-color: #d4edda !important;
  color: #155724 !important;
}

[b-1lmm2qok1s] .mud-chip.mud-chip-color-error {
  background-color: #f8d7da !important;
  color: #721c24 !important;
}

[b-1lmm2qok1s] .mud-chip.mud-chip-color-warning {
  background-color: #fff3cd !important;
  color: #856404 !important;
}

[b-1lmm2qok1s] .mud-chip.mud-chip-color-info {
  background-color: #d1ecf1 !important;
  color: #0c5460 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .declaration-title[b-1lmm2qok1s] {
    font-size: 1.5rem;
  }

  .declaration-list-item[b-1lmm2qok1s] {
    margin-bottom: 0.75rem !important;
  }

  .declaration-amount[b-1lmm2qok1s] {
    font-size: 1rem !important;
  }
}

/* Animation for list items */
@keyframes slideInUp-b-1lmm2qok1s {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.declaration-list-item[b-1lmm2qok1s] {
  animation: slideInUp-b-1lmm2qok1s 0.3s ease-out;
}

/* Quick Add Card Styling */
.quick-add-card[b-1lmm2qok1s] {
  transition: all 0.3s ease;
}

.quick-add-card:hover[b-1lmm2qok1s] {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 101, 192, 0.15);
}

.quick-add-card:hover .mud-paper[b-1lmm2qok1s] {
  background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%) !important;
  border-color: #64b5f6 !important;
}

/* Loading state */
.loading-overlay[b-1lmm2qok1s] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 10;
}
