/* Base styles for full height */
html, body {
    height: 100%;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    padding-top: 30px;
}

/* Full height container-flex */
.container-flex {
    display: flex;
    min-height: 100vh; /* Ensure the container takes at least full height */
}

/* Sidebar menu items */
.nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #222222;
    color: #fff;
}

.nav-item .nav-icon {
    font-size: 18px;
}

.nav-item .nav-text {
    transition: opacity 0.3s, width 0.3s;
}

.sidebar-layout {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    background: #222222;
    padding-top: 60px;
    transition: 0.3s;
    color: white;
    z-index: 1051;
}

/* Overlay */
#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1050;
    display: none;
}

/* Show overlay when active */
#sidebar-overlay.active {
    display: block;
}

#logoutModal {
    z-index: 9999;
}

.navbar {
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100%;
    background: #222222; /* Adjust if needed */
    z-index: 1000; /* Ensures it stays above other content */
    padding: 10px 20px;
}


.sidebar-layout a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    display: block;
    transition: 0.3s;
}

.active {
    left: 0;
    color: white;
}
.nav-link i {
    margin-right: 8px;
    font-size: 16px; /* Adjust size as needed */
    width: 20px; /* Ensures equal space allocation */
    text-align: center; 
}

.menu-active {
    background-color: grey;
}


@media (max-width: 768px) {
    .card {
        transform: scale(0.8); /* Shrinks the cards */
        margin: -5px; /* Adjusts spacing */
    }
    .card-body {
        padding: 8px; /* Reduces padding */
    }
    .card-title {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-style: bold;
        font-size: 20px; /* Smaller title */
    }
    .card-text {
        font-family: "Poppins", sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 18px; /* Smaller text */
    }
    .nodisplay {
        display: none !important;
    }

    .label-date {
        font-size: 22px!important;
        font-weight: 600;
        font-style: bold;
    }
    
    .ticket {
        height: 800px;
        background-image: url('https://qr.wasicorp.com/img/ticket.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.5));
    }

    .padding-ticket {
        padding: 1.5rem 3.5rem!important;
    }

    .padding-ticket-date {
        font-family: "Alata", sans-serif;
        gap: 1rem !important;
        font-size: 34px!important;
        padding: 1rem 3.5rem!important;
    }

    .event-title {
        font-family: "Alata", sans-serif;
        font-weight: 600;
        font-size: 20px!important;
        word-wrap: break-word; /* Ensures words break if too long */
        overflow-wrap: break-word; /* Ensures proper word wrapping */
        white-space: normal; /* Allows text to wrap naturally */
    }

    .event-title-report {
        word-wrap: break-word; /* Ensures words break if too long */
        overflow-wrap: break-word; /* Ensures proper word wrapping */
        white-space: normal; /* Allows text to wrap naturally */
    }

    .company-title {
        font-family: "Alata", sans-serif;
        font-size: 24px!important;
        font-style: bold;
        font-weight: 600;
    }

    .type-ticket {
        font-family: "Alata", sans-serif;
        font-size: 14px!important;
        font-style: normal;
        font-weight: 400;
        background: #222222;
    }

    .exp-text {
        font-family: "Alata", sans-serif;
        font-size: 12px!important;
    }

    .status-text {
        font-family: "Alata", sans-serif;
        font-size: 14px!important;
    }

    .confirm-button {
        font-family: "Alata", sans-serif!important;
        font-size: 14px!important;
        font-style: normal;
        font-weight: 400;
    }
}
