:root {
    --primary-color: #21ba83;
    --secondary-color: #1e96c8;
    --background-color: #f0f7f6;
    --text-color: #333;
    --sidebar-width: 250px;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.sidebar .logo {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: bold;
    padding: 0 20px;
    margin-bottom: 30px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.sidebar li:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.sidebar li.active {
    background-color: #e8f7f2;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.sidebar i {
    width: 20px;
    text-align: center;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
}

.header-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.welcome h1 {
    margin: 0;
    font-size: 1.5em;
    color: var(--text-color);
}

.welcome p {
    margin: 5px 0 0;
    color: #666;
}

.logout-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #1c9b6a;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card i {
    font-size: 2em;
    color: var(--primary-color);
}

.stat-info h3 {
    margin: 0;
    font-size: 1em;
    color: #666;
}

.stat-number {
    margin: 5px 0 0;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-color);
}

/* Recent Activity */
.recent-activity {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recent-activity h2 {
    margin: 0 0 20px;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }

    .sidebar span {
        display: none;
    }

    .sidebar .logo {
        font-size: 1.2em;
        text-align: center;
    }

    .main-content {
        margin-left: 60px;
    }
} 

/* Table Styles */
.table-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 500;
}

.data-table tr:hover {
    background-color: #f5f5f5;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85em;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.accepted {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.action-btn.edit {
    background-color: #21ba83;
}

.action-btn.toggle {
    background-color: #ffc107;
}

.action-btn.delete {
    background-color: #dc3545;
}

.action-btn.add-product {
    background-color: #28a745;
}

.action-btn.accept {
    background-color: #28a745;
}

.action-btn.reject {
    background-color: #dc3545;
}

.action-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.no-data {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* Content Section Display */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Submenu Styles */
.has-submenu .menu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
}

.submenu {
    display: none;
    background: #f8f9fa;
}

.has-submenu.active .submenu {
    display: block;
}

.submenu li {
    padding-left: 40px;
}

/* Store form styles */
.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input,
.form-group select {
    width: 50%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #1c9b6a;
} 