 body {
   font-family: sans-serif;
   background: #f8f8f8;
   margin: 0;
   padding: 0;
 }

 .container_tours {
   width: 98%;
   margin: auto;
   padding: 40px 20px;
   margin-top: 20px;
 }

 .CARDS-grid {
   display: flex;
   flex-wrap: wrap;
   gap: 40px;
   justify-content: center;
 }

 .tour-card {
   position: relative;
   padding: 10px;
   width: 300px;
   height: 400px;
   overflow: hidden;
   background: white;
   border-radius: 20px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
   cursor: pointer;
   display: flex;
   flex-direction: column;
 }

 .tour-card:hover {
   transform: scale(1.02);
 }

 .tour-card img {
   width: 100%;
   height: 180px;
   object-fit: cover;
   border-radius: 20px;
 }

 .card-body {
   flex: 1;
   display: flex;
   flex-direction: column;
   padding: 5px;
   position: relative;
 }

 .card-body h3 {
   margin: 0 0 10px;
   font-size: 20px;
   color: #1e3a8a;
 }

 .card-body p {
   flex: 1;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   line-clamp: 3;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
 }

 .price {
   font-weight: bold;
   color: #10b981;
   margin-bottom: 10px;
 }

 .cta-button {
   position: absolute;
   align-self: center;
   height: 40px;
   width: 60%;
   background: #2563eb;
   color: white;
   border: none;
   border-radius: 20px;
   cursor: pointer;
 }

 .has-image .cta-button {
   margin-top: 150px;
 }

 .no-image .cta-button {
   margin-top: 330px;
 }


 .cta-button:hover {
   background: #1d4ed8;
 }

 .delete-icon,
 .edit-icon {
   position: absolute;
   font-size: 20px;
   background: white;
   border-radius: 50%;
   padding: 8px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
   cursor: pointer;
   z-index: 2;
 }

 .delete-icon {
   top: 10px;
   right: 10px;
   color: #dc2626;
 }

 .edit-icon {
   top: 10px;
   left: 10px;
   color: #f59e0b;
 }

 .admin-form,
 #edit-form-modal {
   background: white;
   padding: 20px;
   margin-bottom: 40px;
   border-radius: 10px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   margin-top: 30px;
 }

 .admin-form input,
 .admin-form textarea,
 .admin-form button {
   display: block;
   width: 100%;
   margin-bottom: 10px;
   padding: 10px;
   border-radius: 5px;
   border: 1px solid #ccc;
 }

 .admin-form button {
   background: #16a34a;
   color: white;
   border: none;
   cursor: pointer;
 }

 .admin-form button:hover {
   background: #15803d;
 }

 #edit-form-modal {
   margin-top: -10px;
   display: none;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgb(0, 0, 0, 0.8);
   z-index: 9999;
   justify-content: center;
   align-items: center;
 }

 .edit-form-container {
   background: white;
   padding: 30px;
   max-width: 500px;
   width: 90%;
   border-radius: 20px;
 }

 .close-edit-form {
   position: absolute;
   top: 15px;
   right: 20px;
   font-size: 28px;
   color: white;
   background: none;
   border: none;
   cursor: pointer;
 }

 #modal-view {
   display: none;
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   justify-content: center;
   align-items: center;
   z-index: 9998;
 }

 #modal-content {
   background: white;
   padding: 20px;
   width: 90%;
   height: 90%;
   overflow-y: auto;
   max-width: 600px;
   max-height: 300vh;
   border-radius: 10px;
   position: relative;
 }

 #modal-content::-webkit-scrollbar {
   display: none;
 }


 #modal-content img {
   width: 100%;
   object-fit: cover;
   margin-bottom: 15px;
   border-radius: 20px;
 }

 #modal-content h2 {
   margin-top: 0;
 }

 #modal-content .close {
   position: fixed;
   top: 20px;
   right: 20px;
   font-size: 35px;
   cursor: pointer;
   color: red;
 }


 /* Booking Form Modal */
 #booking-form-modal {
   display: none;
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   justify-content: center;
   align-items: center;
   z-index: 9998;
 }

 .booking-form-container {
   background: white;
   padding: 20px;
   width: 90%;
   height: 90%;
   overflow-y: auto;
   max-width: 600px;
   max-height: 300vh;
   border-radius: 10px;
   position: relative;
 }

 .booking-form-container h2 {
   margin-top: 0;
   color: #333;
 }

 .booking-form-container label {
   display: block;
   margin-bottom: 5px;
   font-weight: bold;
 }

 .booking-form-container input {
   width: 100%;
   padding: 10px;
   margin-bottom: 15px;
   border: 1px solid #ddd;
   border-radius: 4px;
 }

 .booking-form-container button {
   background-color: #4CAF50;
   color: white;
   padding: 10px 15px;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   font-size: 16px;
 }

 .booking-form-container button:hover {
   background-color: #45a049;
 }

 #total-price {
   font-size: 18px;
   font-weight: bold;
   margin: 10px 0;
   color: #333;
 }

 .close-booking-form {
   float: right;
   font-size: 24px;
   cursor: pointer;
 }

 #total-price {
   font-size: 20px;
   font-weight: bold;
   margin: 20px 0;
   text-align: center;
   color: #2c3e50;
 }

 #total-price span {
   color: #e74c3c;
 }

 /* Buy Now Form Styles */
 #buy-form-modal {
   display: none;
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.7);
   justify-content: center;
   align-items: center;
   z-index: 9998;
 }

 .buy-form-container { 
   background: white;
   padding: 20px;
   width: 90%;
   height: 90%; 
   overflow-y: auto;
   max-width: 600px;
   max-height: 300vh;
   border-radius: 10px;
   position: relative;
 }

 .buy-form-container h2 {
   margin-top: 0;
   color: #333;
   text-align: center;
 }

 .form-group {
   margin-bottom: 15px;
 }

 .form-group label {
   display: block;
   margin-bottom: 5px;
   font-weight: bold;
 }

 .form-group input,
 .form-group textarea {
   width: 100%;
   padding: 10px;
   border: 1px solid #ddd;
   border-radius: 4px;
   box-sizing: border-box;
 }

 .form-group textarea {
   resize: vertical;
   min-height: 80px;
 }

 #purchase-total-price {
   font-size: 20px;
   font-weight: bold;
   margin: 20px 0;
   text-align: center;
   color: #2c3e50;
 }

 #purchase-total-price span {
   color: #e74c3c;
 }

 .submit-btn {
   background-color: #4CAF50;
   color: white;
   padding: 12px 20px;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   font-size: 16px;
   width: 100%;
   display: block;
 }

 .submit-btn:hover {
   background-color: #45a049;
 }

 .close-buy-form {
   position: absolute;
   top: 10px;
   right: 15px;
   font-size: 28px;
   cursor: pointer;
 }

 