
svg {
    width:60px;
    color:#F96B00;
    margin-left: 7px;
    
  }

  a{
    text-decoration: none;
    color: #2f2f2f;
  }
  button {
    cursor: pointer;
  }
  .container-template{
    width:900px;
    max-width: 90vw;
    margin: auto;
    text-align: center;
    padding-top: 10px;
    transition: 0.5s;
  
  }
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  
  }
  .quick-tab{
    display: flex;
    background-color:#19c880;
    justify-content: space-between;
    
    
    
   
  
    
  }
  .user-account{
   position: relative;

  }
 
  .icon-cart{
    position: relative;
    cursor: pointer;
  
  }
  .icon-cart span {
    background-color: red;
    position: relative;
   
    right:-10px;
    width:25px;
    height:25px;
    color:#fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  
  }
  .title{
    font-size: xx-large;
  
  }
  .cartTab h1{
    text-align: center;
  }
  .cartTab hr{
    background-color: #eee;
    margin-top: 0%;
    border: solid 2px;
  }
  .cartTab{
    background-color: rgba(0, 0, 0, 0.8);
    color:#eee;
    width: 400px;
    max-width: 100%;
    position: fixed;
    top:0;
    right: 0;
    bottom:0;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    z-index: 800;
  
  }
  .cartTab h4{
    font-weight: 300;
    background-color: rgba(249, 107, 0, 0.4);
    font-family:'poppins';
  }
  .emptyCartMessage{
   grid-row: 2;
   text-align: center;

    
  }
  .totalAmount{
   
    position: relative;
    display: flex;
    justify-content: center; /* Horizontally centers the content */
    align-items: center; /* Vertically centers the content */
    height: 50px; /* Set the height of the container */
    font-weight: bolder;
  }

 
  .cartTab .listCart {
    overflow: auto;
  
  }
  .cartTab .listCart::-webkit-scrollbar{
    width: 0;
  
  }
  .cartTab{
    right: -400px;
    transition: 0.5s;
  
  }
  body.activeTabCart .cartTab{
    right:0;
  }
  body.activeTabCart .container{
    transform: translate(-250px);
  
  }
  
  /* list item product*/
  .listProduct .item img {
    width: 100%;
    filter: drop-shadow(
        0 50px 20px #0009
    );
  }
  .listProduct{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .listProduct .item{
    background-color: #eeeee6;
    padding: 20px;
    border-radius: 20px;
  }
  .listProduct .item h2{
    font-weight: 500;
    font-size: large;
  }
  .listProduct .item .price{
    letter-spacing: 7px;
    font-size: small;
  }
  .listProduct .item button{
    background-color: #F96B00;
    color:#eee;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
    font-family:'Segoe UI', Tahoma, Geneva,poppins, Verdana, sans-serif;
  }
  .listProduct .item button:hover{
    background-color: #19c880;
  }
  
  /* list cart item */
  .listCart .item img {
    width:80%;
  
  }
  .listCart .item{
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap:10px;
    align-items: center;
    text-align: center;
  }
  .listCart .item .quantity {
    display: flex;
  }
  .listCart .item .quantity span {
    width:25px;
    height: 25px;
    background-color: #eee;
    color: #000;
    border-radius: 50%;
    cursor:pointer;
  }
  .listCart .item .quantity span:nth-child(2){
    background-color: transparent;
    color: #fff;
  }
  .listCart .item:nth-child(even){
    background-color: #eee1;
  }
.view-cart{
  background-size: cover;
  background-repeat: no-repeat;
}
  /*detail */
  .movie-details {
    padding-bottom: 20px;
    background-color: whitesmoke; /* Set the background color of the section */
    box-shadow:  0 4px 8px rgba(0, 0, 0, 0.2); /* Add a box shadow */
  }
  .detail{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:50px;
    text-align: left;
  }
  .detail .image img{
    width:100%;
  }
  .detail .image{
    position: relative;
  }
  .detail .image::before{
    position: absolute;
    width: 300px;
    height: 300px;
    content: '';
    background-color: #94817733;
    z-index: -1;
    /*border-radius: 190px 100px 170px 180px;*/
    left:calc(50%-150px);
    top: 50px;
    
  }
  .detail .name {
    font-size: xxx-large;
    padding: 40px 0 0 0;
    margin:0 0 10px 0;
  }
  .detail .price {
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 7px;
    margin-bottom: 20px;
  }
  .detail .buttons button{
    background-color: #F96B00;
    color: #fff;
    border:none;
    border-radius: 20px;
    font-family: poppins;
    font-size: large;
    margin-bottom: 3px;
    
  }
  .detail .buttons button:hover{
   background-color: hsl(35, 100%, 65%);
   color:#000;
   font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
  .detail .buttons button:active{
    background-color: hsl(35, 100%, 75%);
    outline: 5px solid #19c880;
  }
 
  .detail svg {
    width:25px;
    color:#fff;
  
  }
 
  .detail .buttons svg {
    transform: translateY(5px);
  }
  .detail .description{
    font-weight: 300;
  }
  .title {
    padding-top: 20px;
  }
  /*responsive*/
  @media screen and (max-width: 992px){
    .listProduct{
        grid-template-columns: repeat(3,1fr);
    }
  }
  @media screen and (max-width: 767px){
    .listProduct{
        grid-template-columns: repeat(2, 1fr);
    }
    .detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .detail .image img {
        width:unset;
        height: 40vh;
    }
    .detail .name{
        font-size: x-large;
        margin: 0;
  
    }
    .detail .buttons button{
        font-size: small;
    }
  }

  
/*home page movies section*/
.movies-section{
    background-color: #f5f5f5;
    padding-bottom: 20px;
}
.movie-heading{
    margin-left: 20px;
    display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 45px;
}
.movie-heading h2 {
    padding: 10px 20px;
    background-color: #19c880;
    color: #ffffff;
    font-weight: bold;
    font-size: 24px;
}
.slide-in {
  padding: 10px 20px;
  background-color: #19c880;
  color: #ffffff;
  font-weight: bold;
  font-size: 24px;
  width: fit-content;
}
/* Home page service section fade /bounce effects */
   /* Scrolling Container */
   .scrolling-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, #fafafa, #f5f5f5); /* Light gray gradient */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: relative;
    text-align: center;
  }
  
  /* Scrolling Text */
  .scrolling-text {
   
    color: #333; /* Dark gray for readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Start invisible */
    transform: translateY(50px); /* Start below view */
    animation: none; /* No animation by default */
    transition: opacity 5s ease-out; /* Smooth opacity transition */
  }
  
  /* Keyframes for Fade-In and Bounce */
  @keyframes fade-in-bounce {
    0% {
      opacity: 0;
      transform: translateY(50px); /* Start below the view */
    }
    50% {
      opacity: 1;
      transform: translateY(-10px); /* Bounce upward */
    }
    70% {
      transform: translateY(5px); /* Slight bounce downward */
    }
    100% {
      transform: translateY(0); /* Settle at final position */
    }
  }
  
  /* Active state for visible text */
  .scrolling-text.visible {
    animation: fade-in-bounce 6s ease-out; /* Trigger fade-in bounce animation */
    opacity: 1; /* Ensure visibility remains consistent */
  }

  
/* slide in headings*/
 /** movie heading*/
 /* Container Styling */
.movie-heading {
  overflow: hidden;
  position: relative;
}

/* Initial State */
.slide-in {
  position: relative;
  opacity: 0; /* Start as invisible */
  transform: translateX(-100%); /* Start offscreen to the far right */
  transition: transform 1s ease-out, opacity 1s ease-out; /* Smooth effect */
}

/* Slide-In Keyframes */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(-100%); /* Start offscreen */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* Final position */
  }
}

/* Slide-Out Keyframes */
@keyframes slide-out {
  0% {
    opacity: 1;
    transform: translateX(0); /* Final position */
  }
  100% {
    opacity: 0;
    transform: translateX(-100%); /* Move back offscreen */
  }
}

/* Active States */
.slide-in.animate-in {
  animation: slide-in 1s ease-out forwards; /* Slide in */
}

.slide-in.animate-out {
  animation: slide-out 1s ease-out forwards; /* Slide out */
}
/* Movie cards styling to match admin panel - PORTRAIT VERSION */
.movies-section {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    padding: 40px 0;
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    padding: 20px;
}

.listProduct .item {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.listProduct .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.listProduct .item img {
    width: 100%;
    height: 300px; /* Taller height for portrait aspect ratio */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.listProduct .item h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    flex-grow: 1; /* Allows title to take available space */
}

.listProduct .item .price {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.listProduct .item .addCart {
    background: linear-gradient(145deg, #f96b00, #e57c00);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(249, 107, 0, 0.5);
    width: 100%;
}

.listProduct .item .addCart:hover {
    background: linear-gradient(145deg, #ff7f00, #ff8c1a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 107, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .listProduct {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .listProduct .item img {
        height: 270px;
    }
}

@media (max-width: 768px) {
    .listProduct {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    .listProduct .item img {
        height: 230px;
    }
    
    .listProduct .item h2 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listProduct .item img {
        height: 200px;
    }
}

/* Movie details page styling to match admin panel */
.movie-details {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.85);
    min-height: 100vh;
}

.movie-details .title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 30px 0;
    padding: 10px 20px;
    background: rgba(249, 107, 0, 0.2);
    display: inline-block;
    border-radius: 8px;
}

.movie-details .detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.movie-details .detail .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.movie-details .detail .image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.movie-details .detail .content {
    display: flex;
    flex-direction: column;
}

.movie-details .detail .name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.movie-details .detail .price {
    color: #f96b00;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 25px;
}

.movie-details .detail .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.movie-details .detail .buttons button {
    background: linear-gradient(145deg, #f96b00, #e57c00);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(249, 107, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.movie-details .detail .buttons button:hover {
    background: linear-gradient(145deg, #ff7f00, #ff8c1a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 107, 0, 0.4);
}

.movie-details .detail .buttons a {
    text-decoration: none;
}

.movie-details .detail .description {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1.6;
}

/* Adjust title positioning */
.movie-details .title {
    margin-left: 30px; /* Adjust this value to move titles more or less to the right */
    display: inline-block;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .movie-details .title {
        margin-left: 20px; /* Slightly less margin on mobile */
    }
}

@media (max-width: 576px) {
    .movie-details .title {
        margin-left: 15px; /* Even less margin on very small screens */
        text-align: center;
        display: block;
        margin-right: 15px;
    }
}

/* Similar movies section */
.movie-details .listProduct {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.movie-details .listProduct .item {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.movie-details .listProduct .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.movie-details .listProduct .item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.movie-details .listProduct .item h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    flex-grow: 1;
}

.movie-details .listProduct .item .price {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.movie-details .listProduct .item .addCart {
    background: linear-gradient(145deg, #f96b00, #e57c00);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(249, 107, 0, 0.5);
    width: 100%;
}

.movie-details .listProduct .item .addCart:hover {
    background: linear-gradient(145deg, #ff7f00, #ff8c1a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 107, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .movie-details .detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .movie-details .detail .image img {
        height: 400px;
    }
    
    .movie-details .listProduct {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .movie-details .listProduct .item img {
        height: 270px;
    }
}

@media (max-width: 768px) {
    .movie-details .detail .buttons {
        grid-template-columns: 1fr;
    }
    
    .movie-details .detail .image img {
        height: 350px;
    }
    
    .movie-details .listProduct {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .movie-details .listProduct .item img {
        height: 230px;
    }
    
    .movie-details .listProduct .item h2 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .movie-details .detail .image img {
        height: 300px;
    }
    
    .movie-details .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .movie-details .listProduct .item img {
        height: 200px;
    }
    
    .movie-details .detail .name {
        font-size: 26px;
    }
}

/* No similar movies message with icon */
.no-similar-movies {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    grid-column: 1 / -1;
}

.no-similar-movies-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #f96b00;
    animation: pulse 2s infinite;
    position: relative;
}

.no-similar-movies-icon::before {
    content: "🎬";
    font-size: 64px;
    filter: drop-shadow(0 0 10px rgba(249, 107, 0, 0.5));
}

.no-similar-movies p {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(249, 107, 0, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(249, 107, 0, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(249, 107, 0, 0.5));
    }
}

/* Film strip effect for the icon */
.no-similar-movies-icon::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -15px;
    right: -15px;
    bottom: -10px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    pointer-events: none;
}

.genre {
    font-size: 1.2rem;
    color: #28a745;
    margin-bottom: 10px;
    font-weight: 500;
}


/* Styling for no movies available message in index.php */
.no-movies-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    margin: 30px auto;
    max-width: 600px;
}

.movie-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite, glow 2s infinite alternate;
    filter: drop-shadow(0 0 5px #F96B00);
}

.no-movies-text {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

/* Bounce animation for the movie icon */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Glow animation for the movie icon */
@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px #F96B00);
    }
    to {
        filter: drop-shadow(0 0 15px #F96B00) drop-shadow(0 0 20px #F96B00);
    }
}

.quality-selector {
    margin: 10px 0;
}

.quality-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.quality-selector select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-from-cart {
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.remove-from-cart:hover {
    background-color: #f8d7da;
}

.remove-from-cart img {
    width: 20px;
    height: 20px;
}



/* Responsive styles for register form */
/*
@media only screen and (max-width: 768px) {
    .form-box {
        width: 90% !important;
        margin: 0 auto !important;
        padding: 20px 15px !important;
    }
    
    .form-content {
        padding: 20px 15px !important;
    }
    
    .floating_label_group {
        margin-bottom: 1.5rem !important;
    }
    
    .floating_label_group input {
        padding: 16px 25px !important;
        font-size: 14px !important;
    }
    
    .floating_label_group label {
        font-size: 0.65rem !important;
        left: 35px !important;
    }
    
    .input_icon {
        left: 8px !important;
        top: 28% !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    .password-toggle {
        right: 8px !important;
        top: 28% !important;
    }
    
    .submit-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
        min-width: 150px !important;
    }
    
    .links {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
}

@media only screen and (max-width: 480px) {
    .form-box {
        width: 95% !important;
        padding: 15px 10px !important;
    }
    
    .form-content {
        padding: 15px 10px !important;
    }
    
    .floating_label_group input {
        padding: 14px 20px !important;
    }
    
    .floating_label_group label {
        left: 30px !important;
    }
    
    .input_icon {
        left: 6px !important;
        width: 16px !important;
        height: 16px !important;
    }
    
    .submit-btn {
        padding: 10px 20px !important;
        min-width: 130px !important;
    }
    
    h4.text-secondary {
        font-size: 1.2rem !important;
    }
}
    */