﻿.{
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
font-size: 16px;
line-height: 1.5;
}
/* Container - will be used across the site */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
/* Header & Navigation */
.header {
background-color: #a8e6a1;
width: 100%;
padding: 15px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.company-title {
background-color: #e6f9e6;
padding: 15px;
text-align: center;
}
.company-title h2 {
margin: 0;
font-size: clamp(22px, 5vw, 30px);
color: #2f6f2f;
}
.nav {
background-color: #a8e6a1;
padding: 10px 0;
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.nav a {
color: #2f6f2f;
text-decoration: none;
margin: 8px 15px;
font-weight: 600;
font-size: clamp(14px, 3vw, 16px);
transition: color 0.3s ease;
}
.nav a:hover {
color: #1d9e49;
}
/* Main Content Area */
.main {
padding: 20px 15px;
min-height: 500px;
background-color: #ffffff;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
}
/* Form Containers */
.form-container {
width: 100%;
max-width: 1000px;
margin: 20px auto;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
.page-title, h3.page-title {
text-align: center;
font-size: clamp(20px, 4vw, 24px);
color: #2f6f2f;
margin-bottom: 20px;
border-bottom: 2px solid #4caf50;
padding-bottom: 10px;
}
/* Form Elements */
.form-group {
margin-bottom: 20px;
}
.form-group label {
font-size: 14px;
color: #333;
margin-bottom: 8px;
display: block;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-control {
width: 95%;
padding: 12px;
font-size: 14px;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #fafafa;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-control:focus {
border-color: #2f6f2f;
outline: none;
background-color: #eaf4e7;
box-shadow: 0 0 4px rgba(47, 111, 47, 0.3);
}
/* Button Styles */
.btn {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
text-align: center;
transition: all 0.3s ease;
}
.btn-primary, .btn-save, .btn-warning {
background-color: #0066cc;
color: white;
}
.btn-primary:hover, .btn-save:hover, .btn-warning:hover {
background-color: #218838;
transform: translateY(-2px);
}
.btn-danger {
background-color: #dc3545;
color: white;
}
.btn-danger:hover {
background-color: #c82333;
}
.btn-sm {
padding: 6px 12px;
font-size: 14px;
}
/* Flexbox utilities */
.flex {
display: flex;
}
.flex-wrap {
flex-wrap: wrap;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.align-center {
align-items: center;
}
.gap-10 {
gap: 10px;
}
.gap-20 {
gap: 20px;
}

.table, .styled-grid, .gridview {
  width: 80%;
  margin: 30px auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(13px, 2.5vw, 15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
}

/* Table Header */
.table th, .styled-grid th, .gridview th {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  text-align: left;
  font-weight: bold;
}

/* Table Body */
.table td, .styled-grid td, .gridview td {
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
  background-color: #f9f9f9;
}

/* Zebra stripes */
.table tr:nth-child(even),
.styled-grid tr:nth-child(even),
.gridview tr:nth-child(even) {
  background-color: #f1f1f1;
}

/* Hover effect */
.table tr:hover,
.styled-grid tr:hover,
.gridview tr:hover {
  background-color: #e0f7fa;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.table th, .styled-grid th, .gridview th,
.table td, .styled-grid td, .gridview td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #e0e0e0;
}
.table th, .styled-grid th, .gridview th, .grid-header {
background-color: #2f6f2f;
color: #fff;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.table td, .styled-grid td, .gridview td {
background-color: #fff;
color: #333;
}
.table tr:nth-child(even) td,
.styled-grid tr:nth-child(even) td,
.gridview tr:nth-child(even) td,
.grid-alt-row {
background-color: #f9f9f9;
}
.table tr:hover td,
.styled-grid tr:hover td,
.gridview tr:hover td {
background-color: #eaf4e7;
transition: background-color 0.3s ease;
}
/* Table Responsive Behavior */
@media screen and (max-width: 768px) {
.table, .styled-grid, .gridview {
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.table th, .styled-grid th, .gridview th,
.table td, .styled-grid td, .gridview td {
    white-space: nowrap;
    min-width: 100px;
}
}
/* Footer */
.footer {
background-color: #a9d9a9;
padding: 20px 15px;
text-align: center;
font-size: 14px;
border-top: 1px solid #8acb8a;
}
.footer-buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-top: 15px;
}
.footer-btn {
padding: 10px 20px;
font-size: 16px;
background-color: #2f6f2f;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.footer-btn:hover {
background-color: #1d9e49;
}
/* Login & Signup Styles */
.login-container, .signup-container {
width: 90%;
max-width: 400px;
margin: 40px auto;
padding: 25px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.login-container h2, .signup-container h2 {
text-align: center;
margin-bottom: 25px;
color: #333;
font-size: clamp(20px, 5vw, 24px);
}
.btn-login, .btn-signup {
width: 100%;
padding: 12px;
font-size: clamp(14px, 4vw, 16px);
border-radius: 5px;
}
.btn-login {
background-color: #007bff;
}
.btn-login:hover {
background-color: #0056b3;
}
.btn-signup {
background-color: #28a745;
}
.btn-signup:hover {
background-color: #218838;
}
.error-msg {
color: red;
font-size: 13px;
margin-top: 5px;
}
.register-link, .login-link {
text-align: center;
margin-top: 15px;
}
.register-link a, .login-link a {
color: #007bff;
text-decoration: none;
font-size: 14px;
}
.register-link a:hover, .login-link a:hover {
text-decoration: underline;
}
/* Room Booking Styles */
.room-type h3 {
font-size: clamp(18px, 4vw, 20px);
color: #2f6f2f;
margin-bottom: 15px;
}
.room-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.room-button {
padding: 10px 15px;
background-color: #28a745;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: clamp(14px, 3vw, 16px);
transition: all 0.3s;
flex: 0 0 auto;
min-width: 60px;
text-align: center;
}
.room-button:hover {
background-color: #218838;
transform: translateY(-2px);
}
.booked-room {
background-color: #dc3545 !important;
}
.available-room {
background-color: #28a745 !important;
}
.selected-room {
background-color: #007bff !important;
}
/* Date Selection Component */
.date-selection {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 30px;
margin: 20px 0;
padding: 15px;
background-color: #f9f9f9;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.date-input {
flex: 1;
min-width: 200px;
}
.date-input label {
display: block;
font-weight: 600;
color: #2f6f2f;
margin-bottom: 8px;
}
.text_boxtranaction, .date-input input {
width: 95%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
}
.text_boxtranaction:focus, .date-input input:focus {
border-color: #2f6f2f;
outline: none;
box-shadow: 0 0 5px rgba(47, 111, 47, 0.3);
}
.search-btn-container {
display: flex;
align-items: flex-end;
}
.btn.search-btn {
background-color: #2f6f2f;
color: white;
font-weight: bold;
}
.btn.search-btn:hover {
background-color: #1d9e49;
}
/* Food items and cards */
.food-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.food-card {
width: 280px;
background-color: #fff;
border: 1px solid #ddd;
padding: 15px;
border-radius: 8px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.food-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.food-image {
width: 100%;
height: 160px;
object-fit: cover;
border-radius: 6px;
}
.food-info {
margin-top: 15px;
}
.food-info h3 {
margin: 10px 0;
font-size: 18px;
color: #333;
}
.food-info p {
font-size: 16px;
color: #555;
}
.add-to-cart {
background-color: #ff6f61;
color: white;
font-size: 16px;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
transition: all 0.3s ease;
width: 100%;
}
.add-to-cart:hover {
background-color: #ff3b2f;
transform: scale(1.05);
}
/* Shopping Cart */
.cart-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.cart-table th, .cart-table td {
padding: 12px;
text-align: center;
border-bottom: 1px solid #ddd;
}
.cart-image {
width: 60px;
height: auto;
border-radius: 5px;
}
.qty-btn {
padding: 4px 10px;
margin: 0 5px;
background-color: #eee;
border: 1px solid #ccc;
border-radius: 4px;
cursor: pointer;
}
.qty-label {
font-size: 16px;
padding: 0 10px;
}
.remove-btn {
background-color: transparent;
color: #dc3545;
font-size: 18px;
border: none;
cursor: pointer;
}
.remove-btn:hover {
color: #bd2130;
}
.cart-actions {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 15px;
margin-top: 20px;
}
.grand-total {
font-size: clamp(16px, 4vw, 20px);
font-weight: bold;
}
.button-group {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.blue-btn {
background-color: #007bff;
}
.blue-btn:hover {
background-color: #0056b3;
}
.orange-btn {
background-color: #f0ad4e;
}
.orange-btn:hover {
background-color: #ec971f;
}
.green-btn {
background-color: #5cb85c;
}
.green-btn:hover {
background-color: #449d44;
}
/* Order Form */
.order-form-container {
max-width: 1000px;
margin: 30px auto;
background: #fff;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.form-title {
font-size: clamp(22px, 5vw, 28px);
font-weight: bold;
color: #333;
margin-bottom: 20px;
text-align: center;
}
.form-row {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
}
.dropdown-container, .price-container, .quantity-container {
flex: 1;
min-width: 200px;
}
.dropdown, .price-box, .quantity-box {
width: 92%;
padding: 12px;
font-size: 15px;
border: 1px solid #ccc;
border-radius: 8px;
background-color: #f9f9f9;
transition: all 0.3s ease;
}
.dropdown:focus, .price-box:focus, .quantity-box:focus {
border-color: #2f6f2f;
outline: none;
background-color: #fff;
box-shadow: 0 0 5px rgba(47, 111, 47, 0.3);
}
.total-amount {
font-size: clamp(16px, 4vw, 20px);
font-weight: bold;
color: #444;
margin: 15px 0 20px;
text-align: right;
}
/* Modal Popups */
.modalBackground {
background-color: rgba(0, 0, 0, 0.6);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
}
.modalPopup {
background-color: white;
padding: 20px;
border-radius: 10px;
width: 95%;
max-width: 1200px;
max-height: 90vh;
margin: 5vh auto;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
position: relative;
overflow: auto;
z-index: 1001;
}
.modalPopup iframe {
width: 100%;
height: 85vh;
border: none;
}
.modalPopup .header {
background-color: #2FBDF1;
height: 40px;
color: white;
line-height: 40px;
text-align: center;
font-weight: bold;
font-size: 18px;
border-radius: 8px 8px 0 0;
}
.modalPopup .body {
padding: 15px;
text-align: center;
overflow-y: auto;
}
.modalPopup .footer {
padding: 10px;
text-align: center;
}
.close_font {
position: absolute;
top: 10px;
right: 15px;
font-size: 26px;
cursor: pointer;
color: #333;
z-index: 1002;
}
.close_font:hover {
color: #dc3545;
}
/* Customer Details Page */
.label-container {
max-width: 500px;
margin: 30px auto;
padding: 20px;
background-color: #f9f9f9;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.label-container label {
font-size: 16px;
font-weight: 600;
margin-bottom: 8px;
color: #333;
display: block;
}
.label-container label:hover {
color: #4CAF50;
}
.label-container .label-spacing {
margin-bottom: 15px;
}
/* Booking Card */
.booking-card {
    max-width: 600px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: auto; /* Ensures content scrolls instead of wrapping */
}

.booking-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2d6a4f;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Ensures cells size naturally */
}

.details-table td {
    padding: 10px;
    vertical-align: top;
}

.label-cell {
    font-weight: bold;
    white-space: nowrap; /* Prevent label from wrapping */
    width: 40%;
    text-align: right;
    color: #333;
}

.value-cell {
    white-space: nowrap; /* Prevent value from wrapping to next line */
    color: #000;
    text-align: left;
}
/* Day End Summary */
.dayend-container {
max-width: 800px;
margin: 0 auto;
padding: 15px;
}
.summary-section {
margin-bottom: 20px;
width: 100%;
}
.summary-item {
display: flex;
justify-content: space-between;
padding: 12px 15px;
margin-bottom: 10px;
background-color: #f9f9f9;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.summary-label {
font-weight: bold;
}
/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
.container, .form-container, .order-form-container {
width: 95%;
}
}
@media (max-width: 992px) {
.form-row {
flex-direction: column;
}
.dropdown-container, .price-container, .quantity-container {
    width: 100%;
}
}
@media (max-width: 768px) {
.nav {
padding: 5px 0;
}
.nav a {
    margin: 5px 10px;
}

.cart-actions {
    flex-direction: column;
    align-items: center;
}

.button-group {
    width: 100%;
    justify-content: center;
}

.details-table td {
    padding: 8px;
}

.label-cell, .value-cell {
    display: block;
    width: 100%;
    text-align: left;
}

.label-cell {
    padding-bottom: 0;
}
}
@media (max-width: 576px) {
.form-container, .login-container, .signup-container {
padding: 15px;
}
.page-title, h3.page-title {
    margin-bottom: 15px;
}

.room-button {
    margin: 3px;
    padding: 8px 12px;
}

.food-card {
    width: 100%;
}

.summary-item {
    flex-direction: column;
    align-items: flex-start;
}

.summary-label {
    margin-bottom: 5px;
}
}
/* Utility Classes */
.text-center {
text-align: center;
}
.mt-10 {
margin-top: 10px;
}
.mt-20 {
margin-top: 20px;
}
.mb-10 {
margin-bottom: 10px;
}
.mb-20 {
margin-bottom: 20px;
}
.p-10 {
padding: 10px;
}
.p-20 {
padding: 20px;
}
.w-full {
width: 100%;
}
.w-auto {
width: auto;
}
.hidden {
display: none;
}
.block {
display: block;
}
.inline-block {
display: inline-block;
}
.star_red {
color: red;
font-weight: bold;
}

 body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }
        
        .header {
            background-color:#a8e6a1;
            padding: 15px;
            position: relative;
            text-align: center;
        }
        
        .company-title {
            margin: 0;
        }
        
        .company-title h2 {
            margin: 0;
            color: #333;
            font-size: 24px;
        }
     
        h4.company-title {
    color: black !important;
}
        /* Hamburger Menu Icon */
        .menu-toggle {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            z-index: 100;
            display: none; /* Hidden on desktop */
            transition: all 0.3s ease;
        }
        
        .menu-toggle span {
            display: block;
            height: 3px;
            width: 30px;
            background-color: #333;
            margin: 5px 0;
            transition: all 0.3s ease;
            transform-origin: center;
        }
        
        /* Animated hamburger to X */
        .menu-toggle.open span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
        
        .menu-toggle.open span:nth-child(2) {
            opacity: 0;
        }
        
        .menu-toggle.open span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
        
        /* Navigation */
        .nav {
            background-color:#a8e6a1;
            padding: 10px 0;
            text-align: center;
        }
        
        .nav a {
            display: inline-block;
            padding: 8px 15px;
            margin: 0 5px;
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.2s;
        }
        
        .nav a:hover {
            background-color: #8BC34A;
            border-radius: 4px;
        }
        
        /* Main Content */
        .main {
            padding: 20px;
            min-height: calc(100vh - 200px);
        }
        
        /* Footer */
        .footer {
            background-color: #f5f5f5;
            padding: 15px;
            text-align: center;
            border-top: 1px solid #ddd;
        }
        
        /* Specific table styles for booking details */
        .details-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .details-table tr {
            border-bottom: 1px solid #f5f5f5;
        }
        
        .details-table tr:last-child {
            border-bottom: none;
        }
        
        .label-cell {
            width: 40%;
            padding: 12px 15px 12px 0;
            font-weight: 500;
            color: #555;
            text-align: left;
            vertical-align: middle;
        }
        
        .value-cell {
            width: 60%;
            padding: 12px 0;
            color: #333;
            text-align: left;
            vertical-align: middle;
        }
        
        .booking-card {
            max-width: 600px;
            margin: 0 auto;
            background-color: #FFF;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            padding: 20px;
        }
        
        .booking-title {
            text-align: center;
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            color: #333;
        }
        
        /* Media query for mobile devices */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block; /* Show on mobile */
            }
            
            .nav {
                flex-direction: column;
                padding: 0;
                position: absolute;
                width: 50%; /* Half-width menu */
                z-index: 99;
                top: 60px;
                left: -50%; /* Start off-screen */
                transition: all 0.3s ease-in-out; /* Smooth slide transition */
                background-color: #a8e6a1;
                box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
                max-height: calc(100vh - 60px);
                overflow-y: auto;
                border-right: 1px solid rgba(0,0,0,0.1);
            }
            
            .nav.active {
                left: 0; /* Slide in from left */
            }
            
            .nav a {
                display: block;
                margin: 0;
                padding: 12px 15px;
                border-bottom: 1px solid rgba(0,0,0,0.1);
                text-align: left; /* Left-align text in the menu */
            }
            
            .nav a:last-child {
                border-bottom: none;
            }
            
            /* Add overlay for the rest of the screen */
            .menu-overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0,0,0,0.5);
                z-index: 98;
                display: none;
                opacity: 0;
                transition: opacity 0.3s ease-in-out;
            }
            
            .menu-overlay.active {
                display: block;
                opacity: 1;
            }
        }
        
        
  body
        {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }
        
        .menu-container
        {
            width: 85%;
            margin: 50px auto;
            background: #fff;
            padding: 30px;
            box-shadow: 0 0 10px #ccc;
            border-radius: 8px;
        }
        
        .menu-container h2
        {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .form-row
        {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        
        .form-group
        {
            flex: 1;
            margin-right: 15px;
        }
        
        .form-group:last-child
        {
            margin-right: 0;
        }
        
        .form-group label
        {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        .form-group select, .form-group input
        {
            width: 100%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        
        .form-group input[readonly]
        {
            background-color: #f9f9f9;
        }
        
        .btn-save
        {
            display: block;
            width: 100%;
            padding: 10px;
            background-color: #28a745;
            color: white;
            border: none;
            font-size: 16px;
            cursor: pointer;
            border-radius: 4px;
            margin-top: 10px;
        }
        
        .gridview
        {
            width: 100%;
            margin-top: 30px;
            border-collapse: collapse;
        }
        
        .gridview th, .gridview td
        {
            padding: 10px;
            text-align: left;
            border: 1px solid #ddd;
        }
        
        .gridview th
        {
            background-color: #28a745;
            color: white;
        }
        
        .btn-save:hover
        {
            background-color: #218838;
        }
        
        .dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Header Styling */
.header {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    text-align: center;
}

.header h2 {
    margin: 0;
}

/* Horizontal Navigation Menu */
.nav {
    background-color: #a8e6a1;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.nav a {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 5px;
    display: inline-block;
}

.nav a:hover {
    background-color: #ddd;
}

/* Booking Dropdown */
.booking-dropdown {
    position: relative;
    display: inline-block;
}

.booking-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    margin: 0 5px;
    font-family: inherit;
    font-size: inherit;
    color: #333;
    cursor: pointer;
}

.booking-btn:hover {
    background-color: #ddd;
}

.booking-content {
    display: none;
    position: absolute;
    background-color: #ade9a6;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: left;
}

.booking-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
}

.booking-content a:hover {
    background-color: #ddd;
}

.booking-dropdown:hover .booking-content {
    display: block;
}

/* Main Content Area */
.main {
    padding: 20px;
    background-color: #fff;
    min-height: 500px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Footer Styling */
.footer {
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Form Elements */
input[type=text], 
input[type=password], 
input[type=email], 
input[type=date], 
select {
    width: 100%;
    padding: 8px 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button, 
input[type=submit], 
input[type=button] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover, 
input[type=submit]:hover, 
input[type=button]:hover {
    background-color: #45a049;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .nav a, .booking-btn {
        display: block;
        margin: 5px 0;
    }
    
    .booking-content {
        position: static;
        box-shadow: none;
        width: 100%;
    }
}

/* General Bill Container Styles */
.bill-container {
    font-family: 'Courier New', monospace;
    width: 95%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 11px;
    padding: 5px;
    background: white;
}

/* Bill Header Styles */
 

.bill-header h6 {
    font-size: 10px;
    font-weight: normal;
    margin: 5px 0;
    line-height: 1.1;
}

/* Bill Info Section */
.bill-info {
    margin-bottom: 10px;
    font-size: 10px;
}

.bill-info h4 {
    font-size: 11px;
    margin: 5px 0;
    text-align: center;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.bill-info-label {
    font-weight: bold;
}

.bill-info-value {
    font-weight: normal;
}

/* GridView Styles */
.styled-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 9px;
    margin-bottom: 10px;
}

.styled-grid th {
    background-color: #f0f0f0;
    font-weight: bold;
    padding: 3px 1px;
    text-align: center;
    border-bottom: 2px solid #000;
    font-size: 8px;
}

.styled-grid td {
    padding: 2px 1px;
    border-bottom: 1px dotted #999;
    font-size: 8px;
}

/* Column Width Classes */
.col-no { 
    width: 8%; 
    text-align: center !important;
}

.col-item { 
    width: 20%; 
    text-align: left !important;
    word-wrap: break-word;
}

.col-rate { 
    width: 12%; 
    text-align: right !important;
}

.col-qty { 
    width: 8%; 
    text-align: right !important;
}

.col-amount { 
    width: 15%; 
    text-align: right !important;
}

.col-gst-percent { 
    width: 10%; 
    text-align: right !important;
}

.col-gst-amt { 
    width: 12%; 
    text-align: right !important;
}

.col-net { 
    width: 15%; 
    text-align: right !important;
}

/* Summary Section */
.summary-section {
    margin-top: 10px;
    margin-bottom: 10px;
}

.summary-table {
    width: 100%;
    font-size: 10px;
}

.summary-table td {
    padding: 2px 5px;
    border: none;
}

.summary-table td:first-child {
    text-align: left;
    font-weight: bold;
}

.summary-table td:last-child {
    text-align: right;
    font-weight: bold;
}

.grand-total-row {
    border-top: 2px solid #000;
    font-weight: bold !important;
    font-size: 12px !important;
}

.grand-total-row td {
    font-weight: bold !important;
    font-size: 12px !important;
    padding: 5px !important;
}

/* Footer Message */
.footer-message {
    text-align: center;
    font-size: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

/* Print Button */
.btn-print {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    margin: 10px auto;
}

.btn-print:hover {
    background-color: #0056b3;
}

/* Print Media Queries - Thermal Printer Optimization */
/* General Bill Container Styles */
.bill-container {
    font-family: 'Courier New', monospace;
    width: 90%;
    max-width: 250px;
    margin: 0 auto;
    font-size: 11px;
    padding: 5px;
    background: white;
}

/* Bill Header Styles */
.bill-header {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.bill-header h6 {
    font-size: 10px;
    font-weight: normal;
    margin: 5px 0;
    line-height: 1.1;
}

/* Bill Info Section */
.bill-info {
    margin-bottom: 10px;
    font-size: 10px;
}

.bill-info h4 {
    font-size: 11px;
    margin: 5px 0;
    text-align: center;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.bill-info-label {
    font-weight: bold;
}

.bill-info-value {
    font-weight: normal;
}

/* GridView Styles */
.styled-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 9px;
    margin-bottom: 10px;
    margin: 0 auto 10px auto;
}

.styled-grid th {
    background-color: #f0f0f0;
    font-weight: bold;
    padding: 3px 1px;
    text-align: center;
    border-bottom: 2px solid #000;
    font-size: 8px;
}

.styled-grid td {
    padding: 2px 1px;
    border-bottom: 1px dotted #999;
    font-size: 8px;
}

/* Column Width Classes */
.col-no { 
    width: 6%; 
    text-align: center !important;
}

.col-item { 
    width: 24%; 
    text-align: left !important;
    word-wrap: break-word;
    font-size: 8px;
}

.col-rate { 
    width: 10%; 
    text-align: right !important;
}

.col-qty { 
    width: 6%; 
    text-align: right !important;
}

.col-amount { 
    width: 12%; 
    text-align: right !important;
}

.col-gst-percent { 
    width: 8%; 
    text-align: right !important;
}

.col-gst-amt { 
    width: 10%; 
    text-align: right !important;
}

.col-net { 
    width: 24%; 
    text-align: right !important;
    font-weight: bold;
}

/* Summary Section */
.summary-section {
    margin-top: 10px;
    margin-bottom: 10px;
}

.summary-table {
    width: 100%;
    font-size: 10px;
}

.summary-table td {
    padding: 2px 5px;
    border: none;
}

.summary-table td:first-child {
    text-align: left;
    font-weight: bold;
}

.summary-table td:last-child {
    text-align: right;
    font-weight: bold;
}

.grand-total-row {
    border-top: 2px solid #000;
    font-weight: bold !important;
    font-size: 12px !important;
}

.grand-total-row td {
    font-weight: bold !important;
    font-size: 12px !important;
    padding: 5px !important;
}

/* Footer Message */
.footer-message {
    text-align: center;
    font-size: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

/* Print Button */
.btn-print {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    margin: 10px auto;
}

.btn-print:hover {
    background-color: #0056b3;
}

/* Print Media Queries - Thermal Printer Optimization */
@media print {
    body {
        margin: 0;
        padding: 0;
        font-size: 8px;
    }
    
    .bill-container {
        width: 90% !important;
        max-width: 58mm !important; /* Standard thermal printer width */
        margin: 0 !important;
        padding: 2px !important;
        font-size: 8px !important;
        box-shadow: none !important;
    }
   
    
    .bill-header h6 {
        font-size: 7px !important;
        margin: 2px 0 !important;
    }
    
    .bill-info {
        font-size: 7px !important;
        margin-bottom: 5px !important;
    }
    
    .bill-info h4 {
        font-size: 8px !important;
        margin: 2px 0 !important;
    }
    
    .styled-grid {
        width: 90% !important;
        font-size: 6px !important;
        margin: 0 auto 5px auto !important;
    }
    
    .styled-grid th {
        font-size: 6px !important;
        padding: 1px !important;
        background-color: transparent !important;
        border-bottom: 1px solid #000 !important;
    }
    
    .styled-grid td {
        padding: 1px !important;
        font-size: 6px !important;
        border-bottom: 1px dotted #666 !important;
    }
    
    /* Print Column Widths - Optimized for thermal printer */
   .col-no { width: 6%; }
.col-item { width: 25%; }
.col-rate { width: 11%; }
.col-qty { width: 6%; }
.col-amount { width: 13%; }
.col-gst-percent { width: 8%; }
.col-gst-amt { width: 13%; }
.col-net { width: 18%; }
    
    .summary-section {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
    
    .summary-table {
        font-size: 7px !important;
    }
    
    .summary-table td {
        padding: 1px 2px !important;
    }
    
    .grand-total-row td {
        font-size: 8px !important;
        padding: 2px 2px !important;
        border-top: 1px solid #000 !important;
    }
    
    .footer-message {
        font-size: 7px !important;
        margin: 5px 0 !important;
    }
    
    /* Hide print button when printing */
    .btn-print {
        display: none !important;
    }
    
    /* Remove any unnecessary margins/padding for thermal printer */
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
}

/* Screen view optimization */
@media screen {
    .bill-container {
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

/* Mobile responsive */
@media screen and (max-width: 480px) {
    .bill-container {
        max-width: 95%;
        margin: 10px;
    }
    
    .styled-grid {
        font-size: 8px;
    }
    
    .styled-grid th,
    .styled-grid td {
        padding: 1px;
        font-size: 7px;
    }
}




/* print css*/
    body
{
    font-family: Arial, sans-serif;
    background: #f8f8f8;
}

.invoice-box
{
    width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0px 0px 10px #ccc;
}

.invoice-box h2, .invoice-box h3
{
    text-align: center;
    margin-bottom: 20px;
}

.info-table, .summary-table, .order-table
{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.info-table td, .summary-table td, .order-table th, .order-table td
{
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
    word-wrap: break-word;
    word-break: break-word;
}

.summary-table td
{
    font-weight: bold;
}

.text-right
{
    text-align: right;
}

.btn-print
{
    display: block;
    width: 120px;
    margin: 30px auto;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.invoice-box h4 {
    text-align: center;
}

.btn-print:hover
{
    background-color: #0056b3;
}

@media print
{
    .btn-print
    {
        display: none;
    }
}

.order-table th
{
    background-color: #f2f2f2;
}

.large-address-cell {
    height: 250px;
    vertical-align: top;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 200px; /* Set a maximum width to force wrapping */
}

@media print {
    body {
        font-size: 20px !important; /* Increase base font size */
    }
    
    .invoice-content {
        font-size: 20px !important;
    }
    
    table {
        font-size: 19px !important;
    }
    
    /* Scale the entire page */
    html {
        zoom: 123%;
    }
}