﻿/* styles.css */


.container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 16px;
    max-width: 100%;
    margin: auto;
    padding-left: 16px;
    padding-right: 16px;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

.form-group {
    margin-bottom: 8px !important;
    width: 90%;
    margin: 10px 0;
}
.form-control {
    width: 100%;
    box-sizing: border-box;
}
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

input[type="text"],
input[type="date"],
input[type="time"],
select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

    .btn:hover {
        background-color: #218838;
    }

@media (max-width: 480px) {
    .container {
        padding: 15px;
        max-width: 500px;
        width: 100%;
        margin: auto;
    }

    .btn {
        font-size: 15px;
        padding: 10px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 24px;
    }

    h2 {
        font-size: 22px;
    }
}

/* For larger desktops */
@media (min-width: 769px) {
    .container {
        max-width: 600px;
    }
}
.header-container {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    
    overflow: hidden;
    flex-wrap: nowrap; /* prevent name from going to next line */
}

.header-container img.logo {
    height: 50px; /* make logo small enough */
    width: auto;
    flex-shrink: 0; /* prevent logo from shrinking */
}

.header-container .company-name {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    white-space: nowrap; /* don't wrap text */
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1; /* take remaining space */
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

        .header-container .company-name {
            white-space: normal;
            margin-top: 8px;
        }
}


body {
    margin: 0;
    padding-bottom: 100px; /* Prevent content hiding behind bottom bar */
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    overflow-x: hidden;
}


.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background-color: #f44336;
    padding: 10px 0;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
    z-index: 999;
    margin-top: 10px;
}

.nav-btn {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 14px;
    border: none;
    background: none;
    padding: 0;
    text-decoration: none;
    display: block;
    margin: 0 10px; /* ✅ 4px horizontal margin between buttons */
    min-width: 0; /* prevent overflow */
}

    .nav-btn i {
        font-size: 22px;
        display: block;
        margin-bottom: 5px;
        color: white;
    }

    .nav-btn span {
        display: block;
        color: white;
        font-size: 13px;
        text-decoration: none;
    }

    .nav-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }

.carousel-inner img {
    width: 100%;
    height: 400px; /* Set uniform height */
    object-fit: cover; /* Prevent stretching or distortion */
}


.company-name {
    margin-bottom: 5px; /* reduce from something like 20px */
    padding-bottom: 0;
}

/* Example: reduce top margin of carousel */
#adCarousel {
    margin-top: 5px; /* reduce from default larger margin */
    padding-top: 0;
}
.validator-message {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: red;
}
.marquee-wrapper {
    position: fixed;
    bottom: 70px; /* Adjust if your bottom bar is taller */
    width: 100%;
    background-color: #f44336;
    z-index: 999;
    padding: 5px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ccc;
}

.marquee-content {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
    font-weight: bold;
    font-size: 14px;
    color: white;
}
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ui-timepicker-wrapper {
    max-height: 100px !important; /* 🔧 You can adjust this value */
    overflow-y: auto !important;
}

/* Optionally shrink font size for tighter rows */
.ui-timepicker-list li {
    font-size: 8px !important;
    padding: 4px 10px !important;
}
/* Fix vertical alignment and prevent stacking */
.no-wrap-checkboxlist td {
    white-space: nowrap; /* ✅ Prevent label wrap */
    vertical-align: middle;
    padding: 6px 10px;
}

.no-wrap-checkboxlist input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 6px;
}

.no-wrap-checkboxlist label {
    display: inline; /* ✅ Ensure label stays inline */
    vertical-align: middle;
}
.no-wrap-checkboxlist td {
    width: 150px; /* adjust as needed */
}
