:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #6d7dbb;
    --light: #f8f9fa;
    --dark: #000000;
    --success: #4bb543;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header { 
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: rgb(255, 255, 255);
            padding: 1rem 0;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
}
 nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
}
        
.logo {
            font-size: 1.5rem;
            font-weight: bold;
}
        
.nav-links {
            display: flex;
            list-style: none;
}
        
.nav-links li {
            margin-left: 1.5rem;
}
        
.nav-links a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
            font-weight: 500;
}
        
.nav-links a:hover {
            opacity: 0.8;
}
        
.hero {
            text-align: center;
            padding: 6rem 0;
            background: linear-gradient(rgba(67, 97, 238, 0.9), rgba(63, 55, 201, 0.9)), url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            border-radius: 0 0 10px 10px;
            margin-bottom: 2rem;
}
        
.hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}
        
.hero p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 2.5rem;
            opacity: 0.9;
}

/* Common button styles */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: rgb(255, 255, 255);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    background-color: #000d43;
}
.navbar a.active {
  background-color: #4263eb; 
  font-weight: bold;
}

.btn-primary {
    background-color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.error {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

.success-message {
    background-color: rgba(75, 181, 67, 0.1);
    color: var(--success);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        
        body {
            background-color: #f5f5f5;
            color: #333;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
}
        
.app-container {
            max-width: 400px;
            margin: 20px auto;
            background-color: white;
            border-radius: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            overflow: hidden;
            flex: 1;
}
        
.status-bar {
            background-color: #f8f8f8;
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #666;
            border-bottom: 1px solid #eee;
}
        
.screen {
            padding: 20px;
            min-height: 600px;
}
        
.header {
            text-align: center;
            margin-bottom: 20px;
}
        
.header h1 {
            color: #4a6baf;
            font-size: 24px;
}
        
.button {
            background-color: #4a6baf;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 16px;
            margin: 10px 0;
            width: 100%;
            cursor: pointer;
            transition: background-color 0.3s;
}
        
.button:hover {
            background-color: #3a5a9f;
}
        
.button.secondary {
            background-color: #f0f0f0;
            color: #333;
}
        
.button.secondary:hover {
            background-color: #e0e0e0;
}
        
.input-field {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
}
        
.card {
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
        
.card h3 {
            color: #4a6baf;
            margin-bottom: 10px;
}
        
.tab-bar {
            display: flex;
            background-color: #f8f8f8;
            border-top: 1px solid #eee;
}
        
.tab {
            flex: 1;
            text-align: center;
            padding: 15px;
            cursor: pointer;
            transition: background-color 0.3s;
}
        
.tab.active {
            color: #4a6baf;
            border-bottom: 2px solid #4a6baf;
}
        
.tab:hover {
            background-color: #f0f0f0;
}
        
.hidden {
            display: none;
}
        
.list-item {
            padding: 12px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
}
        
.list-item:last-child {
            border-bottom: none;
        }
        
.icon {
            margin-right: 10px;
            color: #4a6baf;
}
        
.notification {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #4a6baf;
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            opacity: 0;
            transition: opacity 0.3s;
}
        
.notification.show {
            opacity: 1;
}
        
.avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #ddd;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: #888;
}
/* Products page styles */
.products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
}
        
.product-card {
            border: 1px solid #eee;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            background-color: white;
}
        
.product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
        
.product-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
}
        
.product-info {
            padding: 1.5rem;
}
        
.product-info h3 {
            margin-bottom: 0.5rem;
            color: var(--dark);
}
        
.product-info p {
            color: var(--secondary);
            margin-bottom: 1rem;
}
        
.product-price {
            font-weight: bold;
            color: var(--primary);
            font-size: 1.2rem;
            margin-bottom: 1rem;
}
        
.btn {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            text-decoration: none;
}
        
.btn-primary {
            background-color: var(--primary);
            color: white;
}
        
.btn-primary:hover {
            background-color: #3a5a9f;
}
        
.btn-outline {
            background-color: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
}
        
.btn-outline:hover {
            background-color: var(--primary);
            color: white;
}
        
.product-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
}
        
.filter-container {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
}
        
.search-box {
            flex: 1;
            min-width: 250px;
}
        
.search-box input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
}
        
.category-filter {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
}
        
.category-btn {
            padding: 0.5rem 1rem;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
}
        
.category-btn.active, .category-btn:hover {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
}
        
footer {
            background-color: var(--dark);
            color: white;
            text-align: center;
            padding: 2rem 0;
            margin-top: 3rem;
}
        
.empty-state {
            text-align: center;
            padding: 3rem;
            color: var(--secondary);
}
        
@media (max-width: 768px) {
            .nav-links {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .filter-container {
                flex-direction: column;
            }
            
            .category-filter {
                justify-content: center;
            }
}