body {
    font-family: Arial, sans-serif;
    background-color: white; /* or 'transparent' or '#ffffff' */
    margin: 0;
    padding: 0;
}




nav ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

nav ul li {
    display: inline; /* Display menu items horizontally */
    margin-right: 20px; /* Spacing between menu items */
}

nav ul li:last-child {
    margin-right: 0; /* Remove margin for the last menu item */
}

nav ul li a {
    color: #fff; /* Menu item text color */
    text-decoration: none; /* Remove underline from links */
}

nav ul li a:hover {
    text-decoration: underline; /* Add underline on hover */
}


.log{
    background-color: #007bff;
    border-radius: 5px;
    width: 100%;
    border: none ;
    padding: 10px;
}

.log a{ 
    text-decoration: none ;
    color: #fefefe ;

}
.log:hover{
    background-color: #0056b3;

}
.container {
    max-width: 100%;
    margin: 100px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container h2 {
    text-align: center;
}
.container_m {
    max-width: 600px;
    margin: 100px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container_design {
    max-width: 600px;
    margin: 100px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container_order{
    max-width:  80%;
    margin: 100px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.input-group {
    margin-bottom: 20px;
    
}

.input-group input {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


.btn1{
     padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}
.btn {
    /*width: 80%;*/
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #0056b3;
    
}
.btn_add {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.btn_add:hover {
    background-color: #0056b3;
}

p.error {
    color: red;
    text-align: center;
}

#addCustomerLink
{
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* Style for the modal content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
}

/* Style for the close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f5f5f5;
}
.edit-link {
    color: blue;
    cursor: pointer;
}


.input-group_m {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
  }

  .input-group_m label {
    flex: 1;
    text-align: center;
    margin: 10px 10px ;
    max-width: 80px;
  }

  .input-group_m input {
    flex: 2;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    max-width: 100px;
  }
  
  .input-group_design {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
  }

  .input-group_design label {
    flex: 1;
    text-align: center;
    margin: 10px 10px ;
    max-width: 80px;
  }

  .input-group_design input {
    flex: 2;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    max-width: 250px;
  }
  
   .input-group_design_1 {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
  }

  .input-group_design_1 label {
    flex: 1;
    text-align: center;
    /*margin: 10px 10px ;*/
    /*max-width: 80px;*/
  }

  .input-group_design_1 input {
    /*flex: 2;*/
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*font-size: 6px;*/
    max-width: 250px;
  }




  .order-row {
  
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #eaebeb;
    cursor: pointer; /* Add cursor pointer for clickable effect */
}

.order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-date {
    font-size: 12px;
    color: #666;
}

.design-list {
    display: none; /* Initially hide design list */
    padding-left: 30px;
}

.design-image {
    max-width: 100px;
    margin-right: 10px;
    margin-left: 10px;
}

.design-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;

}
.design-row img{
    width: 40px;
    height: 40px;
}
.design-date {
    font-size: 12px;
    color: #666;
    margin-left: auto; /* Align date to the right */
}
.btn_link a{
    text-decoration: none;
    color: #f5f5f5;
    font-size: 16px;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.btn2{
        font-size: 10px;
        padding: 8px;
        background-color: green;
    }


.btn_link a:hover {
    padding: 10px;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    color: #007bff;
    cursor: pointer;
}
.btn_link{
    text-decoration: none;
    color: #f5f5f5;
    font-size: 16px;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.btn_link:hover {
    padding: 10px;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    color: #007bff;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        /*flex-direction: column;*/
        padding: 10px;
    }

    header a {
        padding: 5px;
        margin: 5px 0;
    }

    .container,
    .container_m,
    .container_design,
    .container_order {
        background-color: white;
        max-width: 100%;
        color:  #800020;
        margin: 0px auto;
        padding: 0px;
    }

    .input-group input,
    .input-group_m input,
    .input-group_design input {
        /*width: 100%;*/
        max-width: none;
    }
    .btn2{
        font-size: 10px;
        padding: 8px;
        background-color: green;
    }


    .modal-content {
        width: 100%;
    }

    .design-image {
        max-width: 80px;
    }
}
/* Mobile-first enhancements for resort booking system */

/* PWA Support */
@media all and (display-mode: standalone) {
    .date-nav {
        padding-top: env(safe-area-inset-top, 15px);
    }
    
    .fab {
        bottom: calc(20px + env(safe-area-inset-bottom, 0));
    }
}

/* Improved touch targets for mobile */
.room-box {
    min-height: 48px;
    min-width: 48px;
    touch-action: manipulation;
}

/* Better modal positioning on mobile */
@media (max-height: 600px) {
    .modal-content {
        max-height: 90vh;
        padding: 16px;
    }
    
    .modal-header {
        margin-bottom: 16px;
    }
}

/* Prevent zoom on inputs */
input[type="date"], input[type="number"] {
    font-size: 16px;
}

/* Loading states */
.btn-loading {
    pointer-events: none;
    opacity: 0.6;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Haptic feedback simulation */
.room-box:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}

.action-btn:active {
    transform: translateY(1px);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #ffffff;
    }
    
    .stats-bar, .legend, .rooms-container {
        background: #1e1e1e;
    }
    
    .room-available {
        background: #2d2d2d;
        color: white;
        border-color: #444;
    }
    
    .modal-content {
        background: #1e1e1e;
        color: white;
    }
    
    .info-row {
        border-bottom-color: #333;
    }
    
    .counter-group {
        background: #2d2d2d;
    }
    
    .counter-value {
        background: #333;
        color: white;
        border-color: #555;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .room-box {
        border-width: 3px;
    }
    
    .action-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .fab, .close-btn, .action-buttons {
        display: none !important;
    }
    
    .room-box {
        break-inside: avoid;
    }
    
    .date-nav {
        position: static;
    }
}

/* Landscape orientation adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .modal-content {
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .date-nav {
        padding: 10px 15px;
    }
    
    .stats-bar {
        padding: 10px;
    }
}

/* iOS specific fixes */
@supports (-webkit-appearance: none) {
    .date-input {
        -webkit-appearance: none;
        background: rgba(255,255,255,0.95);
        border-radius: 25px;
    }
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .room-box {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
}

/* Focus management for accessibility */
.room-box:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.action-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 1px;
}

/* Better scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Prevent overscroll bounce on iOS */
body {
    overscroll-behavior-y: contain;
}

/* Loading skeleton for better perceived performance */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (max-width: 480px) {
    header {
        /*flex-direction: column;*/
        /*padding: 10px;*/
    }

    header a {
        font-size: medium;
    }

    .container,
    .container_m,
    .container_design,
    .container_order {
        padding: 0px;
    }

    .btn,
    .btn_add {
        font-size: 14px;
        padding: 8px;
    }
    
    .btn2{
        font-size: 10px;
        padding: 8px;
        background-color: green;
    }

    .design-image {
        max-width: 60px;
    }
}