body, html {
     margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #fff;
    
}
  .slideshow-container {
            position: relative;
            height: 100%;
            width: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        
        .dots-container {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 10;
        }

        .dot {
            cursor: pointer;
            height: 10px;
            width: 10px;
            margin: 0 5px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            display: inline-block;
            transition: background-color 0.6s ease;
        }

        .dot.active, .dot:hover {
            background-color: #ffffff;
        }



  



 .header {
    background-color: #fc9a22;
    height: 50px;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    
  
   
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 40px;
}

.logo img {
    margin-right: 10px;
    width: 50px;
    height: 50px;
}


.nav-menu {
    width: 800px;
    font-size: 20px;
    font-weight: 600;
    
}


.Lv1 {
    list-style: none;
    display: flex;
    padding: 0;
    margin-right: 0px;
    margin-left: -50px;
}
.icon1{
    margin-bottom: -8px;
}

.Lv1 > li {
    display: inline-block;
    padding: 10px 10px;
    position: relative;
    cursor: pointer;
    color: #fff;
    margin-right: 10px;
    margin-left: 40px;
    font-weight: 500;
    font-size: 15px;
   
}

.Lv1 > li::before {
    position: absolute;
    content: "";
    width: 0;
    bottom: 0;
    left: 0;
    border-bottom: 3px solid rgb(250, 248, 248);
    transition: 0.5s ease-in-out;
}

.Lv1 > li:hover::before {
    width: 100%;
}


.Lv2 {
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    transition: 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    top: 45px;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
 
    padding: 0;
    min-width: 200px;
    z-index: 100;
}

.Lv1 > li:hover > .Lv2 {
    opacity: 1;
    visibility: visible;
}

.Lv2 > li {
    display: block;
    background-color: #fff;
    margin: 0;
    padding: 12px 20px;
    color: #333;
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
   
}

.Lv2 > li:last-child {
    border-bottom: none;
}
.Lv2>li>a{
    text-decoration: none;
    color: black;
}
.Lv2 > li:hover {
    background-color: #fac104;
    color: #fff;
}


.hero-container {
    position: relative;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.Lv1>li>a{
    text-decoration: none;
    color: #fff;
}

 /* sanpham*/
  .container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0px;
        }

        .ban {
            text-align: center;
            margin-bottom: 30px;
        }

        .ban h1 {
            color: #f8aa03;
            font-size: 32px;
            margin-bottom: 10px;
        }

        .ban p {
            color: #666;
            font-style: italic;
        }

        .menu-category {
            margin-bottom: 30px;
        }

        .category-title {
            background-color: #fc9a22;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            margin-bottom: 15px;
            text-align: center;
        }

        .menu-items {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .menu-item {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            position: relative;
        }

        .menu-item:hover {
            transform: translateY(-5px);
        }

        .item-image {
            height: 150px;
            background-color: lavender;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
            font-weight: bold;
        }

        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .item-info {
            padding: 15px;
        }

        .item-name {
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 18px;
        }

        .item-price {
            color: #e74c3c;
            font-weight: bold;
            font-size: 16px;
        }

        .item-actions {
            position: absolute;
            top: 10px;
            right: 10px;
            display: flex;
            gap: 5px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .menu-item:hover .item-actions {
            opacity: 1;
        }

        .action-btn {
            padding: 5px 8px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            font-size: 12px;
            color: white;
        }

        .edit-btn {
            background-color: #28a745;
        }

        .delete-btn {
            background-color: #dc3545;
        }

        .Add {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            justify-content: center;
        }

        .cc {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
            font-size: 20px;
        }

        .AddSP {
            background-color: #ed930c;
            color: #fff;
        }

        .AddSP:hover {
            background-color: rgb(232, 110, 9);
        }

        .DropSP {
            background-color: rgb(222, 82, 82);
            color: #fff;
        }

        .DropSP:hover {
            background-color: #8f0512;
        }

        .SuaSP {
            background-color: #218838;
            color: #fff;
        }

        .SuaSP:hover {
            background-color: #035a16;
        }
/*kt sanpham*/
        
        .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.5);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: none;
            border-radius: 10px;
            width: 80%;
            max-width: 500px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: black;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #555;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 8px 12px;
            border: 2px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #fc9a22;
        }

        .btn-submit {
            background-color: #fc9a22;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            margin-right: 10px;
        }

        .btn-submit:hover {
            background-color: #e8850b;
        }

        .btn-cancel {
            background-color: #6c757d;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }

        .btn-cancel:hover {
            background-color: #5a6268;
        }

        .error {
            color: #dc3545;
            font-size: 12px;
            margin-top: 5px;
        }

        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 12px;
            border: 1px solid #c3e6cb;
            border-radius: 4px;
            margin-bottom: 20px;
            display: none;
        }

        @media (max-width: 768px) {
            .menu-items {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .menu-items {
                grid-template-columns: 1fr;
            }
        }
 

.dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card h3 {
            color: #ed930c;
            margin-bottom: 20px;
            font-size: 1.3em;
        }

        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #555;
        }

        input, select, textarea {
            width: 100%;
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border-color 0.3s ease;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #ed930c;
        }

        .btn {
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 10px;
        }

        .btn-primary {
            background: #ed930c;
            color: white;
        }

        .btn-primary:hover {
            background: #ed930c;
            transform: translateY(-2px);
        }

        .btn-success {
            background: #28a745;
            color: white;
        }

        .btn-danger {
            background: #dc3545;
            color: white;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .stat-number {
            font-size: 2em;
            font-weight: bold;
            margin: 10px 0;
        }

        .income { color: #28a745; }
        .expense { color: #dc3545; }
        .profit { color: #17a2b8; }

        .transactions {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .transaction-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }

        .transaction-item:hover {
            background-color: #f8f9fa;
        }

        .transaction-item:last-child {
            border-bottom: none;
        }

        .transaction-info {
            flex-grow: 1;
        }

        .transaction-type {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .transaction-description {
            color: #666;
            font-size: 0.9em;
        }

        .transaction-amount {
            font-weight: bold;
            font-size: 1.1em;
        }

        .transaction-date {
            color: #999;
            font-size: 0.8em;
            margin-left: 15px;
        }

        .delete-btn {
            background: #dc3545;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 12px;
            margin-left: 10px;
        }

        .delete-btn:hover {
            background: #c82333;
        }

        .filter-section {
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .filter-row {
            display: flex;
            gap: 15px;
            align-items: end;
            flex-wrap: wrap;
        }

        .filter-group {
            flex: 1;
            min-width: 150px;
        }

        @media (max-width: 768px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
            
            .filter-row {
                flex-direction: column;
            }
            
            .filter-group {
                width: 100%;
            }
        }



 :root {
            --primary-color: #FF9800;
            --secondary-color: #F57C00;
            --dark-color: #333;
            --light-color: #f4f4f4;
            --success-color: #28a745;
            --danger-color: #dc3545;
        }
    
        
        
        .table-info {
            background-color: #fff;
            border-radius: 8px;
            padding: 15px;
            margin: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .table-info h2 {
            margin: 0;
            color: var(--dark-color);
        }
        
        .table-status {
            background-color: var(--success-color);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 14px;
        }
        
        .main-content {
            display: flex;
            gap: 20px;
            padding: 0 20px 20px 20px;
            min-height: calc(100vh - 200px);
        }
        
        
        .menu-section {
            flex: 2;
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            max-height: calc(100vh - 250px);
            overflow-y: auto;
        }
        
        .menu-categories {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .category-btn {
            padding: 8px 16px;
            border: 2px solid var(--primary-color);
            background-color: #fff;
            color: var(--primary-color);
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .category-btn.active {
            background-color: var(--primary-color);
            color: #fff;
        }
        
        .menu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
        }
        
        .menu-item {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
        }
        
        .menu-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .menu-item img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        
        .menu-item h4 {
            margin: 0 0 5px 0;
            color: var(--dark-color);
            font-size: 16px;
        }
        
        .menu-item p {
            margin: 0 0 10px 0;
            color: #666;
            font-size: 14px;
        }
        
        .menu-item-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .price {
            font-weight: bold;
            color: var(--primary-color);
            font-size: 16px;
        }
        
        .add-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 5px 15px;
            border-radius: 15px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        
        .add-btn:hover {
            background-color: var(--secondary-color);
        }
        
        /* Order Section */
        .order-section {
            flex: 1;
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            max-height: calc(100vh - 250px);
            display: flex;
            flex-direction: column;
        }
        
        .order-list {
            flex: 1;
            overflow-y: auto;
            max-height: 300px;
            margin-bottom: 20px;
        }
        
        .order-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .order-item:last-child {
            border-bottom: none;
        }
        
        .item-info {
            flex: 1;
        }
        
        .item-name {
            font-weight: 500;
            margin: 0;
        }
        
        .item-price {
            color: var(--primary-color);
            font-size: 14px;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .qty-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }
        
        .qty-btn:hover {
            background-color: var(--secondary-color);
        }
        
        .quantity {
            font-weight: bold;
            min-width: 20px;
            text-align: center;
        }
        
        .remove-btn {
            background-color: var(--danger-color);
            color: white;
            border: none;
            padding: 5px 8px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 12px;
        }
        
        .order-summary {
            border-top: 2px solid #eee;
            padding-top: 15px;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .total-row {
            font-weight: bold;
            font-size: 18px;
            color: var(--dark-color);
            border-top: 1px solid #eee;
            padding-top: 10px;
        }
        
        .payment-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        
        .payment-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .btn-pay {
            background-color: var(--success-color);
            color: white;
        }
        
        .btn-pay:hover {
            background-color: #218838;
        }
        
        .btn-cancel {
            background-color: var(--danger-color);
            color: white;
        }
        
        .btn-cancel:hover {
            background-color: #c82333;
        }
        
        .btn-back {
            background-color: #6c757d;
            color: white;
        }
        
        .btn-back:hover {
            background-color: #5a6268;
        }
        
        .empty-order {
            text-align: center;
            color: #666;
            padding: 40px 20px;
        }
        
        .empty-order img {
            width: 80px;
            height: 80px;
            opacity: 0.5;
            margin-bottom: 15px;
        }
        
        
        .search-bar {
            margin-bottom: 20px;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        
        
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            .menu-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .table-info {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
        }

.payment-buttons>button>a{
    text-decoration: none;
    color: #fff;
}
        
        

       