.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--primary);
    color: var(--secondary);
    padding: 24px;
}

.admin-sidebar .logo {
    color: var(--secondary);
    margin-bottom: 40px;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-menu a {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all var(--trans-fast);
}

.admin-menu a:hover, .admin-menu a.active {
    background: var(--accent);
    color: var(--primary);
}

.admin-content {
    flex: 1;
    background: var(--bg-gray);
    padding: 40px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-card {
    background: var(--secondary);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-gray);
    font-weight: 600;
}

.action-btns button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-right: 8px;
}

.btn-edit { color: #3b82f6; }
.btn-delete { color: #ef4444; }
.product-card{

    background:#fff;

    border-radius:10px;

    padding:20px;

    margin-bottom:25px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.product-card h3{

    margin-bottom:20px;

}

.product-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.product-card label{

    display:block;

    font-weight:600;

    margin-bottom:8px;

}

.product-card input,

.product-card textarea{

    width:100%;

    padding:10px;

    border:1px solid #ddd;

    border-radius:6px;

}

.product-card textarea{

    resize:vertical;

    min-height:80px;

}

.price-table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}

.price-table th{

    background:#f6f6f6;

    padding:12px;

    text-align:left;

}

.price-table td{

    padding:10px;

}

.price-table input{

    width:100%;

}

.save-btn{

    margin-top:20px;

    padding:12px 25px;

    background:#0077ff;

    color:#fff;

    border:none;

    border-radius:5px;

    cursor:pointer;

}

.add-price{

    margin-top:15px;

}

.admin-container{

    display:flex;

    gap:20px;

}

.product-list-panel{

    width:30%;

    background:#fff;

    border-radius:8px;

    padding:15px;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

    height:calc(100vh - 140px);

    overflow:auto;

}

.product-edit-panel{

    flex:1;

    background:#fff;

    border-radius:8px;

    padding:20px;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.product-item{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px;

    margin-bottom:10px;

    border:1px solid #ddd;

    border-radius:6px;

    cursor:pointer;

    transition:.3s;

}

.product-item:hover{

    background:#f4f4f4;

}

.product-item img{

    width:60px;

    height:60px;

    object-fit:cover;

    border-radius:5px;

}

.form-group{

    margin-bottom:15px;

}

.form-group label{

    display:block;

    margin-bottom:5px;

    font-weight:600;

}

.form-group input,

.form-group textarea{

    width:100%;

    padding:10px;

    border:1px solid #ddd;

    border-radius:5px;

}

.price-table{

    width:100%;

    border-collapse:collapse;

    margin-top:15px;

}

.price-table th,

.price-table td{

    padding:10px;

    border:1px solid #ddd;

}

.price-table input{

    width:100%;

}

.save-btn{

    margin-top:20px;

}