* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f4f7f9;
    color: #333;
}
.app-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}
.sidebar {
    width: 250px;
    background-color: #1a2a3a;
    color: white;
    display: flex;
    flex-direction: column;
}
.logo {
    padding: 25px;
    font-size: 1.5rem;
    font-weight: bold;
    background: #121e2a;
    text-align: center;
}
.nav-links {
    list-style: none;
    padding-top: 20px;
}
.nav-links li {
    padding: 15px 25px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.nav-links li:hover, .nav-links li.active {
    background-color: #3498db;
}
.icon {
    margin-right: 12px;
}
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}
.view {
    display: none;
}
.view.active {
    display: block;
}
.pos-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    height: calc(100vh - 100px);
}
.section-header {
    margin-bottom: 20px;
}
.items-catalog {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
#search-items {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.product-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-card h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.product-card p {
    color: #27ae60;
    font-weight: bold;
}
.cart-panel {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f9f9f9;
}
.cart-summary {
    font-weight: 500;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 15px 0;
    border-top: 2px solid #3498db;
    padding-top: 10px;
}
.btn-checkout {
    width: 100%;
    padding: 12px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 10px;
}
.btn-clear {
    width: 100%;
    background: none;
    color: #e74c3c;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.inventory-container {
    max-width: 900px;
    margin: 0 auto;
}
.form-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.btn-primary {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}
table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
table th {
    background: #f8f9fa;
    font-weight: 600;
}
.btn-delete {
    color: #e74c3c;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: bold;
}