body {
    background-color: #f4f4f4;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

.small-text {
    font-size: 15px;
}

.navbar {
    background-color: #30d5c8;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0px;
}

.navbar img {
    height: 50px !important; 
    width: auto !important; 
    max-height: none;
    max-width: none;
}




.navbar .actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar .actions i {
    font-size: 24px;
    cursor: pointer;
}


#menu-toggle {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    margin: 0;
    padding: 0;
}

#menu-toggle,
.navbar .actions i {
    -webkit-tap-highlight-color: transparent;
}

#menu-toggle:focus,
.navbar .actions i:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}
 
@media (max-width: 768px) {

    .navbar {
        padding: 15px;
        font-size: 20px;
    }

    .navbar img {
        height: 40px;
    }

    input[type="submit"] {
        padding: 12px;
        font-size: 16px;
    }
}
.date-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.date-container select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}



label {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
    color: #777;
    font-size: 14px;
    margin-top: 30px;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

input[type="number"]:focus {
    border-color: #30d5c8;
    outline: none;
    box-shadow: 0 0 5px rgba(48, 213, 200, 0.5);
}

.addb,
.delb {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin: 5px;
    transition: transform 0.2s;
    outline: none;
    box-shadow: none;
}

.addb {
    color: #30d5c8;
}

.delb {
    color: #f44336;
}

.addb:hover,
.delb:hover {
    transform: scale(1.2);
}

.addb:focus,
.delb:focus {
    outline: none;
    box-shadow: none;
}


button {
    background-color: #0044cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

footer p {
    margin: 0;
}

.custom-alert {
    border-radius: 10px;
    padding: 15px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success i,
.alert-danger i {
    margin-right: 10px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    font-family: 'Roboto', sans-serif;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-section img {
    height: 50px;
}

.logo-section h2 {
    margin-left: 8px;
    font-size: 14px;
    color: #333;
}

.close-btn {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.close-btn:hover {
    background: #30d5c8;
    transform: scale(1.1);
}

.close-btn svg {
    width: 20px;
    height: 20px;
    stroke: #30d5c8;
    stroke-width: 2;
    transition: stroke 0.3s;
}

.close-btn:hover svg {
    stroke: #fff;
}

.sidebar-menu {
    padding: 10px 0;
}

.sidebar-menu .menu-item {
    display: block;
    padding: 12px 20px;
    margin: 10px 15px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.sidebar-menu .menu-item:hover {
    background: #30d5c8;
    color: #fff;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .sidebar {
        width: 260px;
        right: -260px;
    }

    .sidebar.open {
        right: 0;
    }
}

h1 {
    font-size: 24px;
    color: #30d5c8;
    text-align: center;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background-color: #f5f5f5;
    z-index: 100;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 5vw;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-container {
    overflow-x: auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    word-wrap: break-word;
    font-size: 16px;
}

th {
    background-color: #f1f3f4;
    color: #5f6368;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #dadce0;
    background-color: #fff;
    color: #30d5c8;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a.active {
    background-color: #30d5c8;
    color: #fff;
}

.pagination a:hover {
    background-color: #2b7de9;
    color: #fff;
}

.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: sticky;
    top: 60px;
    background-color: #f5f5f5;
    padding: 10px 0;
    z-index: 100;
    border-bottom: 1px solid #e0e0e0;
}

.search-container input[type="text"] {
    padding: 10px;
    width: calc(100% - 150px);
    max-width: 400px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    outline: none;
    margin-bottom: 10px;
}

.search-container button {
    padding: 10px 20px;
    background-color: #30d5c8;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.search-container button:hover {
    background-color: #2b7de9;
}

.limit-selection {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.limit-selection label {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.limit-selection select {
    padding: 10px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    outline: none;
    background-color: #fff;
    color: #202124;
    cursor: pointer;
}


.rafd {
    padding: 10px 15px;
    background-color: #d93025;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mwafk {
    padding: 10px 15px;
    background-color: #30d5c8;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

table,
th,
td {
    font-size: 14px;
}

th,
td {
    padding: 8px;
}

.search-container input[type="text"] {
    width: 70%;
}

.table-container {
    padding: 5px;
}

@media (max-width: 480px) {

    table,
    th,
    td {
        font-size: 12px;
    }

    th,
    td {
        padding: 5px;
    }

    .search-container input[type="text"],
    .search-container button {
        padding: 8px;
    }

    .table-container {
        padding: 2px;
    }

    button {
        padding: 8px 10px;
        font-size: 12px;
    }
}

.user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid #ccc;
    transition: transform 0.3s;
}

.user-image:hover {
    transform: scale(1.1);
}

.cup-image {
    width: 20px;
    height: 20px;
    border-radius: 0;
    cursor: pointer;
    object-fit: cover;
    border: none;
    transition: transform 0.3s;
}

.cup-image:hover {
    transform: scale(1.1);
}

.cup-imagei {
    width: 30px;
    height: 30px;
    border-radius: 0;
    cursor: pointer;
    object-fit: cover;
    border: none;
    transition: transform 0.3s;
}

.cup-imagei:hover {
    transform: scale(1.1);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}