/* Cấu trúc chung */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #333;
  color: white;
  padding: 20px 0;
}

header .container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 2em;
}

nav ul {
  list-style-type: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Reset và base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  color: #333;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #007bff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: #e7f3ff;
}

/* Sections */
.section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.section-header h2 {
  color: #333;
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.btn-success:hover {
  background-color: #218838;
}

/* Cart Items */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  background-color: #f9f9f9;
}

.movie-info h4 {
  margin-bottom: 5px;
  color: #333;
}

.movie-info p {
  color: #666;
  font-size: 14px;
}

.ticket-type {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.ticket-type.vip {
  background-color: #fff3cd;
  color: #856404;
}

.ticket-type.thuong {
  background-color: #d4edda;
  color: #155724;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 4px;
}

.quantity-btn:hover {
  background-color: #f8f9fa;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-display {
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.item-price {
  font-weight: bold;
  color: #dc3545;
  font-size: 16px;
}

/* Cart Summary */
.cart-summary {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 4px;
  border-left: 4px solid #007bff;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-row.total {
  font-size: 18px;
  font-weight: bold;
  color: #dc3545;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  margin-top: 10px;
}

/* Forms */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #007bff;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px;
  color: #666;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 15px;
  color: #ccc;
}

/* History */
.history-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
  background-color: #f9f9f9;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.order-id {
  font-weight: bold;
  color: #007bff;
}

.order-total {
  font-weight: bold;
  color: #dc3545;
}

.order-date {
  font-size: 12px;
  color: #666;
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 4px;
  transform: translateX(300px);
  transition: transform 0.3s;
  z-index: 1000;
}

.notification.show {
  transform: translateX(0);
}

.notification.error {
  background-color: #dc3545;
}

.notification.warning {
  background-color: #ffc107;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cart-item {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
  }
}
/* Footer */
#footer {
  background: linear-gradient(
    135deg,
    #000000,
    #fdfdfd
  ); /* Nền gradient đẹp mắt */
  color: #fff;
  padding: 60px 0;
  font-family: "Arial", sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Footer-top */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-contact-info h3,
.footer-customer-service h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #fff; /* Màu trắng cho tiêu đề */
}

.footer-contact-info p,
.footer-customer-service li {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Liên kết mạng xã hội */
.social-links {
  margin-top: 20px;
}

.social-links a {
  font-size: 1.6em;
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #fff;
  transform: scale(1.2); /* Hiệu ứng hover tăng kích thước */
}

/* Liên hệ */
.footer-contact-info i {
  color: #fff;
  margin-right: 10px;
}

/* Dịch vụ khách hàng */
.footer-customer-service {
  flex: 1;
  min-width: 250px;
}

.footer-customer-service .service-links {
  list-style: none;
  padding-left: 0;
  font-size: 1em;
}

.footer-customer-service .service-links li {
  margin-bottom: 10px;
}

.footer-customer-service .service-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-customer-service .service-links li a:hover {
  color: #f8f9fa; /* Màu trắng khi hover */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-contact-info,
  .footer-customer-service {
    text-align: center;
    min-width: 100%;
  }
}
