.wrapper_ali {
  width: 100%;
  display: flex;
  justify-content: center;
}

.container_ali {
  width: 100%;
  max-width: 100%;
  background: #000;
  overflow: hidden;
}

@media (max-width: 768px) {
  .container {
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
}

.top-section_ali {
  position: relative;
  height: 340px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.nav-icons_ali {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.nav-icons_ali i {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.title-bar_ali {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.vip-card_ali {
  position: absolute;
  bottom: -60px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  color: #000;
  align-items: center;
}

.progress-circle_ali {
  width: 50px;
  height: 50px;
  background: #27ae60;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 15px;
}

.vip-info_ali {
  flex-grow: 1;
}

.vip-info_ali h4 {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

.vip-info_ali small {
  color: #000;
  font-size: 13px;
}

.vip-info_ali .price_ali {
  margin-top: 5px;
  font-weight: bold;
  font-size: 16px;
}

.edit-btn_ali {
  width: 36px;
  height: 36px;
  background: #f97316;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-section_ali {
  margin-top: 80px;
  padding: 20px;
}

.form-row_ali {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.form-row_ali input,
.form-row_ali select {
  flex: 1;
  min-width: 250px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.inp-select_ali,
.select-inp_ali {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  margin-bottom: 10px;
}

.terms-section_ali {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.term-item_ali {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
}

.term-label_ali {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 14px;
}

.date-lef_ali {
  flex: 1;
  min-width: 200px;
}

.send-btn_ali {
  width: 100%;
  padding: 12px;
  background-color: #f97316;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
  font-size: 16px;
}

.send-btn_ali:hover {
  background-color: #e35e0e;
}

.checkbox-term_ali {
  margin: 0;
}

/* Events and Card */

.container-ticketfrom {
  display: flex;
  margin: 0;
  padding: 0;
  background-color: black;
  gap: 30px;
}

.sidebar-ticketfrom {
  width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.search-bar-ticketfrom input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  margin-bottom: 30px;
  outline: none;
}

.filter-section-ticketfrom {
  margin-bottom: 30px;
}

.filter-header-ticketfrom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 12px;
}

.filter-header-ticketfrom span {
  color: white;
}

.filter-header-ticketfrom i {
  color: white;
}

.filter-body-ticketfrom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-ticketfrom {
  font-size: 14px;
}

.btn-ticketfrom {
  background: transparent;
  border: 1px solid #e4722b;
  padding: 7px 15px;
  border-radius: 30px;
  color: #e4722b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ticketfrom:hover {
  background: #e4722b;
  color: #fff;
}

.btn-ticketfrom.full-ticketfrom {
  width: 100%;
  text-align: center;
}

.btn-ticketfrom.toggle-ticketfrom.active {
  background: #e4722b;
  color: white;
}

.button-group-ticketfrom {
  display: flex;
  margin-top: -2px;
  gap: 10px;
  margin-bottom: 30px;
}

.main-content-ticketfrom {
  flex: 1;
}

.card-grid-ticketfrom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card-ticketfrom {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 6px 6px 16px 6px;
  transition: 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);

  /* --- NEW CSS FOR UNIFORM HEIGHT --- */
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Make card fill the grid cell height */
}

.card-ticketfrom:hover {
  transform: translateY(-5px);
}

.card-ticketfrom img {
  width: 100%;
  height: 180px;
  /* Keep a fixed height for the image */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

/* --- NEW: Wrapper for the text content --- */
.card-ticketfrom-body {
  padding: 0 10px;
  flex-grow: 1;
  /* This is the magic! It makes this section grow */
  display: flex;
  flex-direction: column;
}

.card-ticketfrom-body h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 6px;
}

.card-ticketfrom-body .date-info {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-ticketfrom-body .date-info span {
  color: white;
}

.card-ticketfrom-body p.event-title {
  font-size: 14px;
  color: white;
  margin-bottom: 12px;
  flex-grow: 1;
  /* Allows the title to take up space */
}

.card-ticketfrom-body h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 8px;
}

.card-ticketfrom-body p.entry-type {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 12px;
}

.card-ticketfrom a.btn {
  display: block;
  text-align: center;
  background: #e4722b;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
  margin: 0 10px;
  /* Add some margin to the button */
  flex-shrink: 0;
  /* Prevent the button from shrinking */
}

.card-ticketfrom a.btn:hover {
  background: white;
  color: #e4722b;
}

/* Ensure the main grid respects the card heights */
.card-grid-ticketfrom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
  /* Makes all cards in a row the same height */
}

.collapsed-ticketfrom {
  display: none !important;
}

.search-wrapper-ticketfrom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
}

.search-wrapper-ticketfrom i {
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
  /* space between icon and input */
}

.search-wrapper-ticketfrom input {
  width: 100%;
  max-width: 400px;
  /* optional max width */
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.ticketfrom span {
  color: white;
}


.main-content-ticketfrom {
  margin-top: 22px;
}

/* --- Mobile Responsive Styles --- */

@media (max-width: 768px) {

  .container-ticketfrom {
    flex-direction: column;
    gap: 15px;
  }

  .sidebar-ticketfrom {
    width: 100%;
    max-width: none;
  }

  .card-grid-ticketfrom {
    grid-template-columns: 1fr;
  }
}


/* events details  */
.page_container_premiertickets {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  gap: 20px;
}

/* Left Column */
.left_column_premiertickets {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 8px;
}

.banner_premiertickets img {
  width: 100%;
  border-radius: 10px;  !important
  display: block;
}

.card_section_premiertickets {
  color: #000;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card_section_premiertickets p {
  color: #000;
  line-height: 1.4;
}

.card_section_premiertickets h3 {
  color: #000;
}

.info_premiertickets h3 {
  color: #000;
}

.card_premiertickets h4 {
  color: #000;
}

.card_premiertickets p {
  color: #000;
}
.card_section_premiertickets a {
  color: #000;
  text-decoration: none;
}

/* Terms Toggle */
.terms_header_premiertickets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.terms_arrow_premiertickets {
  transition: transform 0.3s ease;
}

.terms_arrow_premiertickets.rotate {
  transform: rotate(90deg);
}

.terms_content_premiertickets {
  overflow: scroll;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.terms_content_premiertickets.open {
  max-height: 1000px;
}

.terms_list_premiertickets {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
}

.terms_list_premiertickets li {
  margin: 10px 0;
}

.terms_list_premiertickets i {
  color: #F0612F;
  margin-right: 8px;
}

/* Right Column */
.right_column_premiertickets {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card_premiertickets {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Price + Button Row */
.dis-fle_premiertickets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.price_premiertickets {
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.price_premiertickets span {
  font-size: 0.8rem;
}

.btn_premiertickets {
  display: inline-block;
  padding: 8px 14px;
  background: #F0612F;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
  white-space: nowrap;
   color: #fff !important;
}

.btn_premiertickets:hover {
  background: #F0612F;
   color: #000 !important;
}

.info_premiertickets {
  font-size: 0.95rem;
  margin: 8px 0;
  color: #000;
}

.info_premiertickets i {
  color: #000;
  background-color: #f3f3f5;
  padding: 15px;
  border-radius: 10px;
  margin-right: 8px;
}

.offer_box_premiertickets {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #000;
}

.offer_box_premiertickets span {
  color: #000;
}

.interested_btn_premiertickets {
  display: block;
  padding: 10px;
  border: 1px solid #F0612F;
  color: #F0612F;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  background: #fff;
  cursor: pointer;
  color: #000 !important;
}

.interested_btn_premiertickets p {
  color: #000 !important;
}

.interested_btn_premiertickets:hover {
  background: #F0612F;
  color: #000;
}

@media (max-width: 900px) {
  .page_container_premiertickets {
    flex-direction: column;
  }

  .right_column_premiertickets,
  .left_column_premiertickets {
    flex: 1 1 100%;
  }
}

/* --- STYLES FOR USER DASHBOARD PAGE --- */
.container_userdashboard {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    background-color: #f4f7f6;
    min-height: 100vh;
}
.sidebar_userdashboard {
    width: 250px;
    background: black;
    padding: 15px;
    display: flex;
    flex-direction: column;
    color: white;
}
.box_userdashboard {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
    justify-content: center;
    font-size: large;
    font-weight: 900;
}
.btn_dashboard_user_dashboard {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #e4722b;
    color: white;
    border: none;
    padding: 15px 20px;
    margin: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}
.btn_dashboard_user_dashboard:hover,
.btn_dashboard_user_dashboard.active {
    background-color: #c85f1f;
    transform: scale(1.05);
}
.search_bar_user_dashboard {
    background-color: black;
    border: 2px solid #e4722b;
    color: white;
    padding: 12px 15px;
    border-radius: 20px;
    margin: 10px;
    font-size: 14px;
    width: calc(100% - 20px);
    box-sizing: border-box;
}
.table_container_userdashboard {
    padding: 20px;
    width: 100%;
    color: #000;
}
.table_heading_userdashboard {
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
    border-bottom: 2px solid #e4722b;
    display: inline-block;
    padding-bottom: 5px;
    width: 100%;
}
.custom_table_userdashboard {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.custom_table_userdashboard th,
.custom_table_userdashboard td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.custom_table_userdashboard th {
    background-color: #e4722b;
    color: white;
    font-weight: bold;
}
.custom_table_userdashboard tr:last-child td {
    border-bottom: none;
}
.custom_table_userdashboard tr:hover {
    background-color: #f5f5f5;
}
.no-tickets-message {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .container_userdashboard { flex-direction: column; }
    .sidebar_userdashboard { width: 100%; height: auto; }
    .table_container_userdashboard { padding-left: 20px; padding-right: 20px; overflow-x: auto; }