.modal-content {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
  
  .modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    
    i {
      margin-right: 0.5rem;
    }
  }
  
  .btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    
    &:hover {
      color: #495057;
    }
  }
}

.modal-body {
  padding: 1.5rem;
  
  .alert {
    border-radius: 6px;
    margin-bottom: 1rem;
    
    i {
      margin-right: 0.5rem;
    }
  }
  
  .selected-items {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    
    h6 {
      margin-bottom: 0.75rem;
      color: #495057;
      font-weight: 600;
    }
    
    .items-list {
      .item {
        display: flex;
        align-items: center;
        padding: 0.25rem 0;
        color: #6c757d;
        
        i {
          margin-right: 0.5rem;
          width: 16px;
          text-align: center;
        }
        
        span {
          font-size: 0.9rem;
        }
      }
      
      .more-items {
        display: flex;
        align-items: center;
        padding: 0.25rem 0;
        color: #6c757d;
        font-style: italic;
        
        i {
          margin-right: 0.5rem;
          width: 16px;
          text-align: center;
        }
      }
    }
  }
  
  .form-group {
    .form-check {
      display: flex;
      align-items: center;

      .form-check-input {
        margin-right: 0.5rem;
      }

      .form-check-label {
        font-weight: 500;
        color: #495057;
        cursor: pointer;
      }
    }

    // ===== Styles pour les préfixes SPC =====
    .input-group {
      .command-prefix {
        background-color: #e9ecef;
        border-color: #ced4da;
        color: #495057;
        font-family: 'Courier New', monospace;
        font-weight: 600;
        font-size: 0.9rem;
        min-width: 60px;
        text-align: center;
      }

      .form-control {
        border-left: none;

        &:focus {
          border-color: #80bdff;
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
      }
    }

    // Prévisualisation de la commande
    .text-info {
      background-color: #d1ecf1;
      border: 1px solid #bee5eb;
      border-radius: 4px;
      padding: 0.5rem;
      display: inline-block;
      font-family: 'Courier New', monospace;

      strong {
        color: #0c5460;
      }
    }

    // Messages d'aide améliorés
    small.text-muted {
      font-size: 0.875rem;
      line-height: 1.4;

      .fas {
        color: #6c757d;
      }
    }
  }
}

.modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  
  .btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    
    i {
      margin-right: 0.5rem;
    }
    
    &.btn-secondary {
      background-color: #6c757d;
      border-color: #6c757d;
      
      &:hover {
        background-color: #5a6268;
        border-color: #545b62;
      }
    }
    
    &.btn-primary {
      background-color: #007bff;
      border-color: #007bff;
      
      &:hover:not(:disabled) {
        background-color: #0056b3;
        border-color: #004085;
      }
      
      &:disabled {
        opacity: 0.6;
        cursor: not-allowed;
      }
    }
  }
}

// Animations
.modal-content {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
} 