@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #FF5A76;
    --secondary-color: #FF9B6A;
    --accent-color: #56CCF2;
    --dark-color: #333333;
    --light-color: #F5F5F5;
    --text-color: #333333;
    --gray-color: #888888;
    --light-gray: #E0E0E0;
    --success-color: #27AE60;
    --danger-color: #EB5757;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    direction: rtl;
}

/* Common Components */
.primary-btn {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 90, 118, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 90, 118, 0.4);
}

/* Splash Screen */
.splash-screen {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.splash-content {
    text-align: center;
    color: white;
}

.splash-content .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.splash-content .logo i {
    font-size: 60px;
    margin-bottom: 10px;
}

.splash-content h1 {
    font-size: 36px;
    font-weight: 700;
}

.splash-content p {
    font-size: 18px;
    margin-bottom: 40px;
}

.loading-bar {
    width: 200px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: white;
    border-radius: 10px;
    animation: loading 2s forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px;
}

.auth-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    padding: 30px;
}

.auth-card .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.auth-card .logo i {
    color: var(--primary-color);
    font-size: 40px;
    margin-bottom: 10px;
}

.auth-card h1 {
    color: var(--primary-color);
    font-size: 28px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 90, 118, 0.2);
}

.auth-card button {
    width: 100%;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-color);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header .logo i {
    color: var(--primary-color);
    font-size: 24px;
    margin-left: 10px;
}

.header .logo h1 {
    color: var(--primary-color);
    font-size: 20px;
}

.user-button {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-color);
    cursor: pointer;
}

.user-menu {
    position: absolute;
    top: 60px;
    left: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 220px;
    overflow: hidden;
    z-index: 100;
}

.user-info {
    padding: 15px;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
}

.user-info i {
    font-size: 24px;
    margin-left: 10px;
    color: var(--gray-color);
}

.menu-items {
    padding: 10px 0;
}

.menu-items a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
}

.menu-items a:hover {
    background-color: var(--light-color);
}

.menu-items a i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    padding-bottom: 80px; /* Space for bottom nav */
}

/* Home Page */
.welcome-section {
    text-align: center;
    margin: 20px 0 30px;
}

.welcome-section h2 {
    color: var(--dark-color);
    margin-bottom: 8px;
}

.welcome-section p {
    color: var(--gray-color);
}

.search-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.search-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.tab {
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    color: var(--gray-color);
}

.tab.active {
    color: var(--primary-color);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.search-input {
    position: relative;
    margin-bottom: 15px;
}

.search-input i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.search-input input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.search-btn {
    width: 100%;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
}

.ingredients-input {
    display: flex;
    margin-bottom: 15px;
}

.ingredients-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

.add-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 50px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.ingredient-tag {
    background-color: var(--light-color);
    padding: 8px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--gray-color);
    margin-right: 8px;
    cursor: pointer;
    font-size: 12px;
}

.time-search {
    margin-top: 15px;
}

.time-range {
    margin-bottom: 15px;
}

.time-range label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.time-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.time-input {
    display: flex;
    align-items: center;
    flex: 1;
}

.time-input span {
    margin-left: 8px;
    color: var(--gray-color);
}

.time-input input {
    flex: 1;
    padding: 10px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
}

.time-label {
    color: var(--gray-color);
    font-size: 14px;
    margin-top: 5px;
}

.categories-section {
    margin-bottom: 30px;
}

.categories-section h3 {
    margin-bottom: 15px;
}

.categories {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    cursor: pointer;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: white;
    font-size: 24px;
}

.category-name {
    font-size: 14px;
    text-align: center;
}

.recipes-section {
    margin-bottom: 30px;
}

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

.add-recipe-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.add-recipe-btn i {
    margin-left: 8px;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.recipe-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.recipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    color: white;
}

.category-label {
    background-color: var(--accent-color);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    align-self: flex-start;
}

.time-label {
    font-size: 14px;
    display: flex;
    align-items: center;
    align-self: flex-end;
}

.time-label i {
    margin-left: 5px;
}

.recipe-content {
    padding: 15px;
}

.recipe-content h4 {
    margin-bottom: 8px;
    color: var(--dark-color);
}

.recipe-content p {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.recipe-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.author {
    color: var(--gray-color);
}

.match {
    background-color: var(--success-color);
    color: white;
    padding: 3px 8px;
    border-radius: 50px;
}

/* Recipe Details */
.recipe-details {
    padding-bottom: 20px;
}

.recipe-container {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.recipe-header {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.recipe-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.recipe-header-overlay h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.recipe-meta span {
    display: flex;
    align-items: center;
}

.recipe-meta i {
    margin-left: 5px;
}

.recipe-body {
    padding: 20px;
}

.recipe-description, .recipe-ingredients, .recipe-steps {
    margin-bottom: 25px;
}

.recipe-body h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-right: 15px;
}

.recipe-body h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.recipe-ingredients ul, .recipe-steps ol {
    padding-right: 20px;
}

.recipe-ingredients li, .recipe-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.recipe-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid var(--light-gray);
}

.edit-btn, .delete-btn, .print-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
}

.edit-btn {
    background-color: var(--accent-color);
    color: white;
}

.delete-btn {
    background-color: var(--danger-color);
    color: white;
}

.print-btn {
    background-color: var(--success-color);
    color: white;
}

.edit-btn i, .delete-btn i, .print-btn i {
    margin-left: 8px;
}

/* New Recipe Page */
.new-recipe-page {
    padding-bottom: 20px;
}

.new-recipe-page h2 {
    margin-bottom: 20px;
    text-align: center;
}

.recipe-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.recipe-form .form-group {
    margin-bottom: 20px;
}

.recipe-form select, .recipe-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.recipe-form textarea {
    min-height: 100px;
    resize: vertical;
}

.recipe-form select:focus, .recipe-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 90, 118, 0.2);
}

.steps-input {
    display: flex;
    margin-bottom: 15px;
}

.steps-input textarea {
    flex: 1;
    min-height: 80px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.steps-list .step-item {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.step-item p {
    padding-right: 35px;
    margin-bottom: 5px;
}

.step-item .remove-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.cancel-btn, .save-btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
}

.cancel-btn {
    background-color: var(--light-color);
    border: 1px solid var(--light-gray);
    color: var(--gray-color);
}

.save-btn {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
}

/* Profile Page */
.profile-page {
    padding-bottom: 20px;
}

.profile-header {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.profile-avatar i {
    font-size: 60px;
    color: var(--gray-color);
}

.profile-header h2 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.profile-header p {
    color: var(--gray-color);
}

.profile-stats {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-color);
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-actions button {
    flex: 1;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
}

.view-recipes-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.profile-actions .add-recipe-btn {
    border-radius: var(--border-radius);
}

.profile-actions button i {
    margin-left: 8px;
}

/* My Recipes Page */
.my-recipes-page {
    padding-bottom: 20px;
}

.my-recipes-page h2 {
    margin-bottom: 20px;
    text-align: center;
}

.no-recipes {
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.no-recipes i {
    font-size: 60px;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.no-recipes p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.recipe-card .recipe-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
    padding: 0;
    border-top: none;
}

.recipe-card .edit-btn, .recipe-card .delete-btn {
    padding: 5px 10px;
    font-size: 12px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 12px;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.pagination-controls button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-controls button:hover:not(:disabled) {
    background-color: #3da9d9;
    transform: translateY(-2px);
}

.pagination-controls button:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
}

/* Featured Recipes Section */
.featured-recipes-section {
    margin-bottom: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.popular-badge {
    background-color: var(--primary-color);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    color: white;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 5px;
}

.views-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 12px;
}

/* E-commerce styling */
.shop-page {
    padding-bottom: 20px;
}

.shop-page h2 {
    text-align: center;
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-price {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.product-content {
    padding: 15px;
}

.product-content h4 {
    margin-bottom: 8px;
}

.product-content p {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
}

/* Shopping Cart */
.cart-button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-color);
    cursor: pointer;
    position: relative;
    margin-right: 15px;
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopping-cart {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-header {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.empty-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
}

.empty-cart i {
    font-size: 50px;
    margin-bottom: 15px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.item-image {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-left: 10px;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.item-price {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.item-quantity {
    display: flex;
    align-items: center;
}

.item-quantity button {
    width: 25px;
    height: 25px;
    border: 1px solid var(--light-gray);
    background: none;
    cursor: pointer;
}

.item-quantity span {
    width: 30px;
    text-align: center;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
}

/* My Orders Page */
.my-orders-page {
    padding-bottom: 20px;
}

.my-orders-page h2 {
    text-align: center;
    margin-bottom: 20px;
}

.no-orders {
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.no-orders i {
    font-size: 60px;
    color: var(--light-gray);
    margin-bottom: 15px;
}

.no-orders p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.order-header {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id {
    font-weight: 600;
}

.order-status {
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.معلق {
    background-color: #FFC107;
    color: white;
}

.order-status.مكتمل {
    background-color: var(--success-color);
    color: white;
}

.order-status.ملغي {
    background-color: var(--danger-color);
    color: white;
}

.order-items {
    padding: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.order-item:last-child {
    border-bottom: none;
}

.order-footer {
    padding: 15px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
}

.order-total {
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive for e-commerce */
@media (max-width: 768px) {
    .shopping-cart {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 576px) {
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .recipe-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
}