.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.main-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 32px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a1a1a;
    line-height: 1.2;
}

.section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.section-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 0 32px;
}

.process-button {
    background-color: #1b0088 !important;
    color: white !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-size: 16px !important;
}

.process-button:hover {
    background-color: #1f0075 !important;
}

.process-button:disabled {
    background-color: #e0e0e0 !important;
    color: #999999 !important;
}

.button-container button {
    min-width: 180px !important;
    height: 48px !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-size: 16px !important;
}

.status-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.status-header {
    font-size: 14px;
    margin-bottom: 8px;
}

.status-item {
    font-size: 14px;
    margin-bottom: 4px;
}

.service-message-container{
    width: 100%;
    display: flex;
    justify-content: center;
}

.file-upload-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.file-upload-container:has(.uploaded-file-item:last-child) {
    margin-bottom: 24px;
}

.supported-formats {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.uploaded-file-item {
    margin-bottom: 16px;
}

.uploaded-file-info {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    gap: 12px;
}

.file-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.file-icon {
    font-size: 24px;
    display: block;
}

.file-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.file-type-label {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.remove-uploaded-file-icon {
    transition: all 0.2s ease;
}

.remove-uploaded-file-icon:hover {
    color: #f44336 !important;
}

.file-type-badge {
    margin-left: 8px;
    font-size: 12px;
    color: #666666;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .main-card {
        padding: 24px;
        margin-bottom: 16px;
    }
    
    .card-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-description {
        font-size: 14px;
    }
    
    .button-container {
        margin-top: 24px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .main-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .button-container {
        padding: 0;
    }
}
.obligatorio-tag svg {
  display: none !important;
}
.scenario-configuration-container {
  width: 100%;
  margin-top: 32px;
}

.obligatorio-tag svg {
  display: none !important;
}
.route-item-container {
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.route-header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
}

.route-display {
  flex: 1 1 auto;
  color: #303030;
  font-size: 16px;
  font-weight: 400;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 22px;
  letter-spacing: 0.25px;
  max-height: calc(22px * 2);
  word-break: break-word;
  font-family: 'LATAM Sans', sans-serif;
}

.route-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.more-options-button {
  min-width: 32px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  color: #5c5c5c !important;
  border-radius: 8px !important;
}

.more-options-button:hover {
  background-color: #f2f2f2 !important;
}

.expand-button {
  min-width: 32px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  background-color: #fff !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.expand-button:hover {
  background-color: #e8e8e8 !important;
}

.expand-button .MuiSvgIcon-root {
  color: #5c5c5c;
  font-size: 20px;
}

.flights-table-container {
  margin-top: 16px;
  padding-top: 16px;
  width: 100%;
}

.flights-table-title {
  margin-bottom: 12px;
  color: #303030;
  font-weight: 400;
  font-size: 20px;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
  line-height: 26px;
}

.flights-table {
  border-radius: 8px;
  overflow: hidden;
  border: none;
}

.flights-table table {
  background-color: #ffffff;
}

.flights-table-container .MuiTablePagination-root {
  color: #303030 !important;
  font-family: 'LATAM Sans', sans-serif !important;
  font-size: 16px !important;
}

.flights-table-container .MuiTablePagination-selectLabel,
.flights-table-container .MuiTablePagination-displayedRows {
  color: #303030 !important;
  font-size: 16px !important;
  font-family: 'LATAM Sans', sans-serif !important;
  line-height: 22px !important;
  letter-spacing: 0.25px !important;
}

.flights-table-container .MuiTablePagination-select {
  color: #303030 !important;
  font-size: 16px !important;
  font-family: 'LATAM Sans', sans-serif !important;
}

.flights-table-container .MuiTablePagination-actions button {
  color: #0d12ab !important;
}

.flights-table-container .MuiTablePagination-actions button:hover {
  background-color: rgba(13, 18, 171, 0.04) !important;
}

.flights-table-container .MuiTablePagination-actions button.Mui-disabled {
  color: #5c5c5c !important;
}

.flights-table-container input[type="radio"],
.flights-table-container .MuiRadio-root {
  color: #0d12ab !important;
}

.flights-table-container .MuiRadio-root.Mui-checked {
  color: #0d12ab !important;
}

.flights-table-container .MuiRadio-root:hover {
  background-color: rgba(13, 18, 171, 0.04) !important;
}
.route-details-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.main-title {
  color: #333;
  font-weight: bold;
  margin-bottom: 24px;
  font-size: 2rem;
}

.suggested-routes-card {
  background-color: #ffffff;
  border-radius: 4px;
  margin-bottom: 24px;
  box-shadow: none;
}

.suggested-routes-card-header {
  background-color: #ffffff;
  padding: 16px 24px 8px 24px;
}

.suggested-routes-card-header .MuiCardHeader-title {
  color: #303030;
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
  line-height: 32px;
}

.routings-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.routings-title {
  font-weight: 400;
  color: #303030;
  font-size: 24px;
  margin: 0;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
  line-height: 32px;
}

.routings-description {
  color: #303030;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 22px;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
}

.suggested-routes-card-content {
  background-color: #ffffff;
  padding: 16px;
}

.routes-container {
  margin-bottom: 0;
  padding-top: 8px;
}

.unassigned-stretches-card {
  background-color: #ffffff;
  border-radius: 4px;
  margin-bottom: 24px;
  box-shadow: none;
  border: 1px solid #d9d9d9;
}

.unassigned-card-content {
  background-color: #ffffff !important;
  padding: 16px !important;
}

.unassigned-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.unassigned-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-icon {
  color: #ff9800 !important;
  font-size: 24px !important;
  background: none !important;
}

.info-icon-blue {
  color: #0D12AB !important;
  font-size: 24px !important;
  background: none !important;
}

.unassigned-title {
  font-weight: 400;
  color: #303030;
  font-size: 24px !important;
  margin: 0 !important;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
  line-height: 32px;
}

.toggle-details-button {
  text-transform: none !important;
  font-weight: 500 !important;
  color: #1b0088 !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
}

.toggle-details-button:hover {
  background-color: rgba(27, 0, 136, 0.04) !important;
}

.unassigned-description {
  color: #303030;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 22px;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
}

.unassigned-link {
  color: #1b0088;
  font-size: 14px;
  margin-bottom: 0;
  text-decoration: underline;
  cursor: pointer;
  line-height: 1.5;
}

.unassigned-link:hover {
  color: #15006b;
}

.unassigned-table-title {
  font-weight: 600 !important;
  color: #1a1a1a !important;
  font-size: 16px !important;
  margin-bottom: 4px !important;
}

.unassigned-table-subtitle {
  color: #666666 !important;
  font-size: 13px !important;
  margin-bottom: 12px !important;
  display: block;
}

.card-title {
  color: #303030;
  font-weight: 400;
  margin: 0;
  font-size: 24px;
  font-family: 'LATAM Sans', sans-serif;
  letter-spacing: 0.25px;
  line-height: 32px;
}

.step2-alert-wrap [data-alert-title] + [data-alert-body],
.step2-alert-wrap .MuiAlert-message > * + * {
  margin-top: 16px;
}

.success-alert {
  margin-bottom: 0;
  background-color: #f0f8f0 !important;
  border: 1px solid #4caf50 !important;
  border-radius: 4px !important;
  box-shadow: none;
}

.success-alert .MuiAlert-icon {
  color: #4caf50 !important;
}

.success-alert .MuiAlert-message {
  color: #2e7d32 !important;
  font-size: 16px;
  font-weight: 400;
  font-family: 'LATAM Sans', sans-serif;
  line-height: 22px;
  letter-spacing: 0.25px;
}

.loading-alert {
  background-color: #f2f2f2 !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 4px !important;
  box-shadow: none;
}

.loading-alert .MuiAlert-icon {
  color: #5c5c5c !important;
}

.loading-alert .MuiAlert-message {
  color: #303030 !important;
  font-size: 16px;
  font-weight: 400;
  font-family: 'LATAM Sans', sans-serif;
  line-height: 22px;
  letter-spacing: 0.25px;
}


.stretches-table .MuiTable-root {
  background-color: #ffffff;
}

.stretches-table .MuiTableHead-root .MuiTableCell-root,
.stretches-table .MuiTableBody-root .MuiTableCell-root {
  text-align: left !important;
}

.table-row:hover {
  background-color: #f2f2f2;
}

.table-cell {
  color: #303030;
  font-size: 16px;
  font-family: 'LATAM Sans', sans-serif;
  line-height: 22px;
  letter-spacing: 0.25px;
}

.checkbox-cell {
  cursor: pointer;
}

.unassigned-note {
  color: #666666 !important;
  font-size: 13px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.unassigned-table-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.unassigned-actions-text {
  color: #666666 !important;
  font-size: 13px !important;
  font-style: italic !important;
}

.unassigned-actions-buttons {
  display: flex;
  gap: 12px;
}

.unassigned-selection-info {
  margin-top: 16px;
  margin-bottom: 16px;
}

.unassigned-selection-info .MuiTypography-root {
  color: #303030;
  font-size: 16px;
  font-family: 'LATAM Sans', sans-serif;
  line-height: 22px;
  letter-spacing: 0.25px;
}

.unassigned-actions-buttons-top {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.clear-selection-button {
  text-transform: none !important;
  font-weight: 400 !important;
  border-color: #0d12ab !important;
  color: #0d12ab !important;
  padding: 8px 16px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  border-width: 1px !important;
  font-family: 'LATAM Sans', sans-serif;
}

.clear-selection-button:hover:not(:disabled) {
  background-color: rgba(13, 18, 171, 0.04) !important;
}

.new-routing-button {
  text-transform: none !important;
  font-weight: 400 !important;
  background-color: #0d12ab !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  font-family: 'LATAM Sans', sans-serif;
}

.new-routing-button:hover:not(:disabled) {
  background-color: #0a0e8a !important;
}

.new-routing-button:disabled {
  background-color: #d9d9d9 !important;
  color: #5c5c5c !important;
}

.cancel-button {
  text-transform: none !important;
  font-weight: 500 !important;
  border-color: #d0d0d0 !important;
  color: #666666 !important;
  padding: 8px 24px !important;
  font-size: 14px !important;
  border-radius: 4px !important;
}

.cancel-button:hover {
  background-color: #f5f5f5 !important;
  border-color: #b0b0b0 !important;
}

.create-routing-button {
  text-transform: none !important;
  font-weight: 400 !important;
  background-color: #0d12ab !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  font-family: 'LATAM Sans', sans-serif;
}

.create-routing-button:hover:not(:disabled) {
  background-color: #0a0e8a !important;
}

.create-routing-button:disabled {
  background-color: #d9d9d9 !important;
  color: #5c5c5c !important;
}

.create-route-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.create-route-button {
  background-color: #7b1fa2 !important;
  color: white !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
}

.create-route-button:hover {
  background-color: #6a1b9a !important;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-right: 0 !important;
}

.button-container button {
  min-width: 180px !important;
  height: 48px !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  font-size: 16px !important;
  font-family: 'LATAM Sans', sans-serif;
}

.continue-button {
  background-color: #0d12ab !important;
  color: #ffffff !important;
  font-family: 'LATAM Sans', sans-serif;
}

.continue-button:hover {
  background-color: #0a0e8a !important;
}

.MuiTablePagination-root {
  color: #303030 !important;
  font-family: 'LATAM Sans', sans-serif !important;
  font-size: 16px !important;
}

.MuiTablePagination-selectLabel,
.MuiTablePagination-displayedRows {
  color: #303030 !important;
  font-size: 16px !important;
  font-family: 'LATAM Sans', sans-serif !important;
  line-height: 22px !important;
  letter-spacing: 0.25px !important;
}

.MuiTablePagination-select {
  color: #303030 !important;
  font-size: 16px !important;
  font-family: 'LATAM Sans', sans-serif !important;
}

.MuiTablePagination-actions button {
  color: #0d12ab !important;
}

.MuiTablePagination-actions button:hover {
  background-color: rgba(13, 18, 171, 0.04) !important;
}

.MuiTablePagination-actions button.Mui-disabled {
  color: #5c5c5c !important;
}

/**
 * Global font-family so all content uses LATAM Sans when the font is loaded.
 * Actual @font-face is injected by loadFonts.ts (configurable URL via env).
 */
body {
  font-family: 'LATAM Sans', 'Trebuchet MS', sans-serif;
}
