:root {
  --primary-color: #ff4786;
  --background-color: #141414;
  --text-color: #ffffff;
  --secondary-color: #564d4d;
}

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--background-color) !important;
  color: var(--text-color);
}

/* .cart-container {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text-color) !important;
} */

/* Cart Container */
.cart-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.cart-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  font-weight: 700;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Order Summary */
.order-summary {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.order-summary h2 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.order-summary h3 {
  margin: 1.5rem 0 1rem;
  color: #444;
  font-size: 1.2rem;
}

/* Cart Items */
.movie-item {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.movie-img {
  flex: 0 0 120px;
}

.movie-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.movie-details-container{
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}

.movie-details {
  flex: 1;
  min-width: 200px;
}

.movie-details h1 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.movie-details-text {
  margin: 0.5rem 0;
  color: #666;
  font-size: 0.95rem;
}

/* .remove-items {
  flex: 1;
} */

/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-controls-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-controls button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-controls button:hover {
  background-color: var(--primary-color);
}

.quantity-controls span {
  font-size: 18px;
  font-weight: bold;
  color: #141414;
}


.rmv-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.rmv-btn:hover {
  background: black;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 3rem 0;
}

.empty-cart i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.empty-cart p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Total */
.total {
  text-align: right;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.total span {
  color: var(--primary-color);
  font-weight: bold;
}

/* Buttons */
.continueshopping,
.proceedtocheckout {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  margin-top: 2rem;
  text-decoration: none;
}

.proceedtocheckout {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.continueshopping {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
/* Responsive */
@media (max-width: 768px) {
  .movie-item {
    flex-direction: column;
  }

  .movie-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .remove-item {
    align-self: flex-end;
  }
}

@media (max-width: 500px) {
  /* Cart Items */
  .movie-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    /* gap: 1.5rem; */
    /* padding: 1.5rem 0; */
    /* border-bottom: 1px solid #eee; */
  }

  .movie-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* margin: 0; */
    /* justify-content: center; */
    /* align-items: center; */
  }

  .remove-item {
    text-align: center;
  }

  /* .movie-img {
    flex: 0 0 120px;
}*/
}

/* .order-summary, */
.user-details,
.payment-details {
  background-color: var(--secondary-color);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--text-color);
}

.cart-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.section-title {
  font-size: 32px;
  letter-spacing: 1px;
  color: #fff;
}


.remove-form {
  margin-left: 1rem; /* Add spacing between details and the button */
}

.remove-form input[type="submit"] {
  padding: 5px 20px !important;
  border: none;
  background-color: var(--primary-color) !important;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remove-form input[type="submit"]:hover {
  background-color: #555; /* Darker gray on hover */
}

