body {
    font-family: 'Cairo', Arial, sans-serif;
    background: #f4f6fb;
    margin: 0;
    padding: 0;
    direction: rtl;
}
header {
    background: #264653;
    color: #fff;
    padding: 1rem;
    text-align: right;
}
.app-title {
    font-size: 1.5rem;
    font-weight: bold;
}
.store-info {
    text-align: center;
    margin: 2rem 0 1rem 0;
}
.store-info h1 {
    margin: 0.5rem 0;
    color: #264653;
}
.store-info p {
    color: #333;
    font-size: 1.1rem;
}
.main-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.main-buttons button {
    background: #457b9d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.1rem;
    width: 200px;
    padding: 1rem;
}
#inventoryBtn {
    background: #457b9d;
}
#movementBtn {
    background: #43aa8b;
}
#reportsBtn {
    background: #f4a261;
    color: #fff;
}
#inventoryBtn.active, #content.inventory {
    background: #457b9d !important;
}
#movementBtn.active, #content.movement {
    background: #43aa8b !important;
}
#reportsBtn.active, #content.reports {
    background: #f4a261 !important;
}
.main-buttons button:hover {
    filter: brightness(0.95);
}
#content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(38,70,83,0.07);
    padding: 2rem;
    min-height: 200px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(42,157,143,0.07);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 0.9rem 0.5rem;
    text-align: center;
}
th {
    background: #2a9d8f;
    color: #fff;
    font-size: 1.1rem;
}
td {
    background: #e9ecef;
    color: #222;
    font-size: 1.05rem;
    border-bottom: 1px solid #e0e0e0;
}
tr:last-child td {
    border-bottom: none;
}
table button {
    background: #264653;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.4rem 1rem;
    margin: 0 0.2rem;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
}
table button:hover {
    background: #2a9d8f;
    color: #fff;
}
.report-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}
.report-tabs button {
    background: #e9ecef;
    color: #264653;
    border: none;
    border-radius: 5px 5px 0 0;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.report-tabs button.active {
    background: #2a9d8f;
    color: #fff;
}
@media (max-width: 600px) {
    table, th, td {
        font-size: 0.95rem;
    }
    .main-buttons button {
        width: 100%;
    }
}
