/* Custom styles for Nodepop */

/* General styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  font-size: 1.125rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header and Navigation */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff !important;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Products page specific styles */

.products-header h2 {
  color: #50302c;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Filter card styles */
.filter-card {
  background: linear-gradient(135deg, #6a11cb 0%, #042f7a 55%);
  border: none;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(37, 117, 252, 0.1);
}

.filter-card .card-body {
  padding: 2rem;
}

.filter-card .form-label {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.filter-card .form-control,
.filter-card .form-select {
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

.filter-card .form-control:focus,
.filter-card .form-select:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  background-color: white;
}

.filter-card .btn-primary {
  background-color: white;
  border: none;
  color: #2575fc;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.filter-card .btn-primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

/* Product cards grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* Product card styles */
.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .product-header {
  margin-bottom: 0.5rem;
}

.product-card .card-title {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-card label {
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
}

.product-card .product-info {
  flex: 1;
}

.product-card hr {
  margin: 1rem 0;
  opacity: 0.1;
}

.product-card .price {
  font-size: 1.5rem;
  color: #2ecc71;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-card .badge {
  font-size: 0.85rem;
  padding: 0.5em 1em;
  border-radius: 50px;
  background-color: #e9ecef;
  color: #2c3e50;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.product-card .btn-danger {
  background-color: #ff4757;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-card .btn-danger:hover {
  background-color: #ff6b81;
  transform: translateY(-2px);
}

/* Empty state styles */
.alert-info {
  background-color: #f8f9fa;
  border: 2px dashed #2575fc;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.alert-info .btn-primary {
  margin-top: 1rem;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.alert-info .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 117, 252, 0.2);
}

.btn-danger {
  background-color: #e74c3c;
  border: none;
}

.btn-danger:hover {
  background-color: #c0392b;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: #3498db;
  border: none;
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-1px);
}

/* Page titles */
h1,
h2 {
  color: #50302c;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Login form specific styles */
.login-container {
  max-width: 500px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.remove-product {
  margin-top: 30px;
}
.card-body {
  display: flex;
  flex-direction: column;
  margin: 1rem;
}

.alert-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.form-label {
  font-size: 20px;
}
