@font-face {
    font-family: "Poppins";
    src: url("../fontfamily/Poppins-Regular.ttf") format("truetype");
    font-style: normal;
}




/* Reset + Box Model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background-image: url("../images/bg01.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    font-family: "Poppins";
    height: 100vh;
}

/* Login Card Container */
.card {
    max-width: 800px;
    margin: 60px auto;
    padding: 25px 20px;
    border-radius: 16px;
    border: none;
    backdrop-filter: blur(10px);
}

/* Header */
.card-header h3 {
    font-weight: 600;
    color: #000;
    text-align: center;
}

/* Remove default card header bg/border */
.bg-none {
    background: none !important;
    border-bottom: none !important;
}

/* Form Styling */
.form-group label {
    font-weight: 500;
    color: #000000;
    /* margin-bottom: 6px; */
}

.form-control {
    border-radius: 50px !important;
    padding: 12px 16px !important;
    padding-left: 20px !important;
    font-size: 14px !important;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #ff9c24 !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem #e668000c !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    padding-left: 20px !important;

}

.form-control:focus {
    border-color: #ff7f2a;
    box-shadow: 0 0 5px rgba(255, 127, 42, 0.5);
    outline: none;
}

/* OTP Button */
.btn-primary {
    background-color: #ff7f2a;
    color: white;
    width: 50%;
    border: none;
    padding: 10px 15px;
    font-size: 15px;
    border-radius: 50px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #ffffff;
    -webkit-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    -ms-border-radius: 50px !important;
    -o-border-radius: 50px !important;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e96b00;
    border: 1px solid #ffffff;
    padding: 10px 15px;
    font-size: 15px;
}



.logout_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 55px;
    height: 35px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 5px 10px;
    text-decoration: none;
    overflow: hidden;
}

.logout_button:hover {
    background-color: #d66100;
    transform: scale(1.05);
}

/* Icon as background-image */
.logout-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../images/logout.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Text next to the icon */
.logout-text {
    display: none;
    color: white;
    font-size: 14px;
    white-space: nowrap;
}

/* When container is wide enough, show the text */
@media (min-width: 200px) {
    .logout_button {
        width: auto;
        padding: 5px 15px;
    }

    .logout-text {
        display: inline;
    }


}


.form-check-input {
    border-color: #ff7f2a !important;
    box-shadow: 0 0 5px rgba(255, 127, 42, 0.5) !important;
}

.form-check-input:focus {
    border-color: #ff7f2a !important;
    box-shadow: 0 0 5px rgba(255, 127, 42, 0.5) !important;
    outline: none;
}

.form-check .form-check-input {
    margin-left: 0px !important;
}

.form-checked {
    text-align: left;
    padding-left: 10px;
    color: #000000;
    font-size: 13px;
}

/* Note Text */
.note {
    font-size: 12px;
    color: #000000;

}

.note a {
    color: #000000;


}

.note a:hover {
    text-decoration: underline;
    color: #000000;

}

.fs-13 {
    font-size: 13px !important;
}



.dashboard-container {
    padding: 40px 20px;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    margin: auto;
    text-align: center;
    font-family: "Poppins";
}

/* Welcome Section */
.welcome-box {
    margin-bottom: 20px;
}

.welcome-text {

    display: inline-block;
    padding: 4px 10px;
    color: #d10000;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 8px;
}

.owner-name {
    background-color: #b30000;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
}

/* Date Picker */
.date-picker-box {
    margin: 20px 0;

}

.date-input {
    border: 1px solid #b30000;
    border-radius: 50px;
    padding: 8px 16px;
    width: 80%;
    font-size: 16px;
    text-align: center;
}

/* Ticket Display */
.ticket-number-box {
    background-image: url('/Ticket.png');
    /* Adjust the path if needed */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ticket Number Display */
.ticket-number {
    font-size: 48px;
    font-weight: bold;
    color: white;

    padding: 10px 40px;
    border-radius: 12px;
    display: inline-block;
    margin: 20px auto;

}

/* Buttons Section */
.button-section {
    display: flex;
    justify-content: space-around;
    gap: 0px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

/* Circular Buttons with Background Image */
.circle-button {
    background-image: url("../images/Group.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    transition: transform 0.2s ease;
}

/* Hover Effect */
.circle-button:hover {
    transform: scale(1.05);
}

/* Optional: Text Shadow for better contrast */
.circle-button span {
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);
}





.ticket-container {
    margin: 0px auto;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    font-family: "Poppins";
}

.ticket-title {
    font-size: 22px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Search Box */
.search-form {
    margin-bottom: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 6px 20px;
    width: 90%;
    margin: auto;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 50px;
}

.search-button {
    background: none;
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

/* Table */
.table-wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px rgb(255, 255, 255) solid;
}

.ticket-table th {
    background-color: #b30000;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.ticket-table td {
    padding: 10px;
    background-color: #ffdbb4;
    color: #b30000;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    font-weight: 100;
}

.ticket-table tr:nth-child(even) td {
    background-color: #ffdbb4;

}

.no-data {
    text-align: center;
    color: #d10000;
    padding: 20px 0;
}

/* Back Button */
.back-btn-box {
    margin-top: 25px;
}

.back-btn {
    background-color: #ff7b00;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-btn:hover {
    background-color: #e66800;
    transform: scale(1.05);
}


/* Overall background */
.profile-page {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #fff3e0, #ffb74d);
}

/* Card styling */
.profile-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 25px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}

/* Title */
.profile-title {
    font-size: 22px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Fields */
.profile-field {
    background: #ffffff;
    border: 1.8px solid #ff7b00;
    border-radius: 25px;
    margin-bottom: 15px;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-size: 14px;
    font-weight: 100 !important;
}

.labelsss {
    text-align: left;
    color: #000;
    font-weight: 600;
    display: block;
    padding: 5px 10px;
    font-weight: 800;
}

.profile-field span {
    color: #000000;
}

/* Back Button */
.back-btn-box {
    margin-top: 25px;
    text-align: center;
}

.back-btn {
    background-color: #ff7b00;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    display: inline-block;
}

.back-btn:hover {
    background-color: #e66800;
    transform: scale(1.05);
}






/* Background */
.draw-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card */
.draw-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 25px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;

}

/* Titles */
.draw-title {
    font-size: 22px;
    font-weight: 800;
    color: #ff6f00;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.draw-subtitle {
    color: #000;
    font-weight: 100 !important;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Timer display */
.draw-timer {
    font-size: 20px;
    font-weight: bold;
    color: #ff6f00;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Back Button */
.back-btn-box {
    margin-top: 20px;
}

.back-btn {
    background-color: #ff7b00;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    display: inline-block;
}

.back-btn:hover {
    background-color: #e66800;
    transform: scale(1.05);
}








/* Container for whole section */
.draw-section {
    margin: 0 auto;
    padding: 10px;
    font-family: "Poppins";
    text-align: center;
}

.draw-section h4 {
    margin: 8px 0;
    font-weight: 700;
    color: #000000;
}

/* Timer container */
.draw-timers {
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* wrap on small screens */
    padding: 10px 0;
}

/* Rotate animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Each time box wrapper */
.time-box {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 10px;
    flex-shrink: 0;
    text-align: center;
}

/* Rotating background */
.rotating-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    animation: spin 5s linear infinite;
    z-index: 1;
}

/* Background images */
.bg1 {
    background-image: url("../images/round.png");
}

.bg2 {
    background-image: url("../images/round1.png");
}

/* Static text on top */
.time-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.time-content span {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    user-select: none;
}

/* Label text below */
.time-box p {
    font-size: 14px;
    color: #000;
    margin: 5px 0 0 0;
    text-align: center;
    user-select: none;
    font-weight: bold;
}

/* Responsive smaller sizes */
@media (max-width: 480px) {
    .time-box {
        width: 60px;
        height: 60px;
    }

    .rotating-bg {
        width: 60px;
        height: 60px;
    }

    .time-content span {
        font-size: 20px;
    }

    .time-box p {
        font-size: 12px;
    }

    .navbar-content1 {
        width: 100% ! important;
    }

}





.w-90 {
    width: 95% ! important;
}

header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 10px 20px;
}

.navbar-brand img {
    max-width: 160px;
    height: auto;
}

.navbar-end img {
    max-width: 110px;
    height: auto;
}

.navbar-end1 img {
    max-width: 20px;
    height: auto;
}

/* Align left-right logos properly */
.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Responsive image scaling */
@media (max-width: 768px) {
    header {
        box-shadow: none !important;
    }

    .navbar-content {
        flex-direction: column;
        text-align: center;
    }

    .navbar-content1 {
        flex-direction: unset;
        font-size: 10px;
        text-align: center;
    }

    .navbar-content img {
        max-width: 150px;
        margin: 5px 0;
    }

    .navbar-brand img,
    .navbar-end img {
        max-width: 200px;
        height: auto;
    }

    .footer {
        box-shadow: none !important;
        background-color: #ff9c24;
    }

    .custom-alert {
        top: 51% ! important;
    }

    .navbar-content1 {
        width: 100% ! important;
    }

}



.disabled {
    pointer-events: none;
    /* Disable click events */
    opacity: 0.6;
    /* Make it look visually disabled */
    cursor: not-allowed;
    /* Change the cursor to 'not-allowed' */
    text-decoration: none;
    /* Remove any text underline */
}

.custom-alert {
    position: fixed;
    top: 8%;
    /* left: 50%; */
    transform: translateX(-50%);
    z-index: 1050;
    /* max-width: 90%; */
    text-align: center;
    padding: 5px 15px !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    font-size: 14px;
    font-weight: 500;
}

/* Danger Alert */
.alert-danger {
    background-color: rgba(179, 0, 0, 0.85);
    color: #fff;
}

/* Success Alert */
.alert-success {
    background-color: rgba(0, 128, 0, 0.85);
    color: #fff;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/************************************************************ tnc  ***************************************************************************/


.tnc-section .card-header h3 {
    font-size: 2rem;
    color: #000;
}

.tnc-section .card-header h5 {
    font-size: 1.25rem;
    color: #000000;
}

.tnc-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.tnc-content ul li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
}

.tnc-content ol {
    margin-top: 10px;
    padding-left: 20px;
}

.tnc-content ol li {
    list-style-type: lower-alpha;
    margin-bottom: 10px;
}

.tnc-content a {
    color: #007bff;
    text-decoration: none;
}

.tnc-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tnc-section .card-header h3 {
        font-size: 1.5rem;
    }

    .tnc-section .card-header h5 {
        font-size: 1.1rem;
    }

    .tnc-content ul li,
    .tnc-content ol li {
        font-size: 15px;
    }

    .flatpickr-calendar {
        background-color: #fffbe6;
        /*softgold*/
        border: 2px solid #b30000;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        font-family: 'Arial', sans-serif;
        z-index: 9999 !important;
        padding: 5px;
        left: 10% ! important;
        top: 20% ! important;
    }

    .navbar-content1 {
        width: 100% ! important;
    }

    .logout-text {
        display: none !important;
        color: white;
        font-size: 14px;
        white-space: nowrap;
    }
}













/* Container */
.date-picker-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

/* Each input + icon pair */
.date-picker-field {
    position: relative;
    flex: 1 1 200px;
    /* Responsive width */
    max-width: 240px;
}

/* Input field */
.date-input {
    width: 100%;
    padding: 5px 40px 5px 5px;
    border: 2px solid #b30000;
    border-radius: 30px;
    font-size: 16px;
    background-color: #fff3e0;
    outline: none;
}

/* Icon */
.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.date-picker-field {
    border: 2px solid #a00;
    border-radius: 30px;
    padding: 1px 40px 1px 30px;
    display: flex;
    align-items: center;
    background-color: white;
}

.date-input {
    border: none;
    background: transparent;
    pointer-events: none;
    text-align: center;
    flex: 1;

}



/* Responsive tweaks for small screens */
@media (max-width: 600px) {
    .date-picker-box {
        flex-direction: column;
        align-items: stretch;
    }

    .date-picker-field {
        width: 200px;
        flex: none !important;
        padding: 1px 40px 1px 3px;

    }
}

/* === Flatpickr Calendar Container === */
/* === Flatpickr Calendar Container === */
.flatpickr-calendar {
    background-color: #fffbe6;
    /* soft gold */
    border: 1px solid #b30000 !important;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    font-family: 'Arial', sans-serif;
    z-index: 9999;
    padding: 5px;
    width: 260px;
    max-width: 90vw;
    font-size: 14px;
}

/* === Month and Year Header === */
.flatpickr-months {
    background-color: #c3c3c3;
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #b30000 !important;
    padding: 6px 8px;
}

.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    background: transparent;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border: none;
    outline: none;
}

.flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Weekdays === */
.flatpickr-weekdays {
    background-color: #fddfbb;
    padding: 5px 0;
    color: #b30000;

}

/* === Day Grid === */
.flatpickr-day {
    border-radius: 50%;
    font-size: 13px;
    line-height: 26px;
    width: 28px;
    height: 28px;
    margin: 1px;
    transition: background-color 0.2s ease-in-out;
    border: none;
}

.flatpickr-day:hover {
    background-color: #ffe0cc;
    color: #b30000;
}

/* === Selected Date === */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: #b30000;
    color: white;
}

/* === Today === */
.flatpickr-day.today {
    border: 2px solid #ff9800;
    background-color: #fff3e0;
    color: #b30000;
}

/* === Disabled Dates === */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
}

/* === Arrows === */
.flatpickr-prev-month,
.flatpickr-next-month {
    fill: white;
    padding: 6px;
    cursor: pointer;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* === Dropdown Month Styling === */
.flatpickr-monthDropdown-month {
    background-color: white;
    color: #b30000;

}

/* === Animation === */
.flatpickr-calendar.open {
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive on Small Screens === */
@media (max-width: 400px) {
    .flatpickr-calendar {
        width: 95vw;
        font-size: 13px;
    }

    .flatpickr-day {
        width: 26px;
        height: 26px;
        line-height: 24px;
        font-size: 12px;
    }

    .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        font-size: 13px;
    }

    .navbar-content1 {
        width: 100% ! important;
    }


}

.date-picker-box {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
}

.w-107 {
    width: 0% ! important;
}


@media (max-width: 768px) {
    .flatpickr-calendar {
        width: 95vw;
        font-size: 13px;
    }


    .w-107 {
        position: absolute;
        top: 3%;
        left: 79%;

    }

    .logout_button {
        background-image: url("../images/logout.png");
        text-decoration: none;
    }

    .logout_button:hover {
        background-image: url("../images/logout.png");
    }

    .fa-search:before {
        content: "\f002";
        margin-left: -2rem !important;
    }

    .search-input {
        padding: 5px 5px !important;

    }
}








/*********************************************************** footer *********************************************************************** */
.footer_image {
    width: 100%;
    height: 300px;
    background-image: url("../images/Collage.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
    /* margin-bottom: 20px; */
}

/* Footer (Optional) */
.footer {
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    /* background-color: linear-gradient(top to bottom, #fffbef 20% #fffbef #fe7300 20%); */
    background-image: linear-gradient(to right, #d66100, #fe7300);
    color: #ffffff;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    padding: 5px 0;
    font-weight: 600;
}

.footer a {
    color: #ffc107;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.border-top {
    border-top: 1px solid #ffc107;
}

.footer-bg {
    backdrop-filter: blur(5px);
}