/* Modern Grid for customer menu items */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-bottom: 2em;
    padding: 1em 0;
}
.item-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    padding: 2em 1.5em;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}
.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08);
}
.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c5ce7, #74b9ff, #00b894);
}
.item-card img {
    max-width: 140px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.item-card:hover img {
    transform: scale(1.05);
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #2d3436;
    line-height: 1.6;
}
header {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: #fff;
    padding: 2em 1em;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}
header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
nav {
    background: linear-gradient(135deg, #74b9ff 0%, #6c5ce7 100%);
    padding: 1.2em;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
nav a {
    color: #fff;
    margin: 0 1.5em;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8em 1.5em;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.container {
    max-width: 1000px;
    margin: 3em auto;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 3em;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
}
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
table, th, td {
    border: none;
}
th {
    background: linear-gradient(135deg, #6c5ce7, #74b9ff);
    color: white;
    padding: 1.2em;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9em;
}
td {
    padding: 1.2em;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: rgba(255,255,255,0.8);
    transition: background 0.3s ease;
}
tr:hover td {
    background: rgba(116,185,255,0.1);
}
form {
    margin-bottom: 3em;
    background: rgba(248,249,250,0.8);
    padding: 2.5em;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.6);
}
form h2, form h3 {
    color: #2d3436;
    margin-bottom: 1.5em;
    font-weight: 600;
    letter-spacing: 0.5px;
}
input, select, textarea {
    padding: 1em;
    margin: 0.8em 0;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(116,185,255,0.2);
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: #74b9ff;
    box-shadow: 0 0 0 3px rgba(116,185,255,0.1);
    background: white;
    transform: translateY(-2px);
}
button {
    background: linear-gradient(135deg, #6c5ce7, #74b9ff);
    color: #fff;
    border: none;
    padding: 1em 2.5em;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108,92,231,0.3);
    text-transform: uppercase;
}
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108,92,231,0.4);
    background: linear-gradient(135deg, #5a4fcf, #6ba3ff);
}
img.item-image {
    max-width: 90px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
img.item-image:hover {
    transform: scale(1.1);
}

/* Beautiful Action Buttons */
.action-btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    margin: 0 0.3em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.action-btn.edit {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    box-shadow: 0 3px 10px rgba(0,184,148,0.3);
}
.action-btn.edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,184,148,0.4);
}
.action-btn.delete {
    background: linear-gradient(135deg, #e17055, #fd79a8);
    color: white;
    box-shadow: 0 3px 10px rgba(225,112,85,0.3);
}
.action-btn.delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225,112,85,0.4);
}

/* Logo styling */
.logo {
    max-height: 60px;
    margin-right: 1em;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 1.5em;
        margin: 1em;
        border-radius: 16px;
    }
    .item-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5em;
    }
    header h1 {
        font-size: 2em;
        letter-spacing: 1px;
    }
    nav a {
        margin: 0 0.5em;
        padding: 0.6em 1em;
        font-size: 0.9em;
    }
    form {
        padding: 1.5em;
    }
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }
    thead {
        display: none;
    }
    tr {
        margin-bottom: 1.5em;
        background: rgba(255,255,255,0.95);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        border: none;
        padding: 1.5em;
        backdrop-filter: blur(10px);
    }
    td {
        border: none;
        position: relative;
        padding-left: 50%;
        min-height: 50px;
        display: flex;
        align-items: center;
        background: transparent !important;
    }
    td:before {
        position: absolute;
        left: 0;
        top: 0;
        width: 45%;
        padding: 1em 0.8em;
        white-space: nowrap;
        font-weight: 700;
        color: #6c5ce7;
        content: attr(data-label);
        display: flex;
        align-items: center;
        text-transform: uppercase;
        font-size: 0.85em;
        letter-spacing: 0.5px;
    }
    img.item-image {
        max-width: 70px;
    }
    .action-btn {
        padding: 0.5em 1em;
        font-size: 0.8em;
        margin: 0.2em;
    }
}
