/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #cde100;
    --primary-dark: #b3c700;
    --secondary-color: #1e1e1e;
    --text-dark: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-small: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    background: white;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Container */
.main-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--background);
    min-height: 100vh;
    position: relative;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo_header {
    width: 120px;
}

.app-title {
    font-size: 18px;
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PWA Install Button */
.pwa-install-btn {
    background: linear-gradient(135deg, #cde100, #a8c000);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(205, 225, 0, 0.3);
}

.pwa-install-btn:hover {
    background: linear-gradient(135deg, #a8c000, #8ba000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 225, 0, 0.4);
}

.pwa-install-btn i {
    font-size: 16px;
}

.pwa-install-btn span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .pwa-install-btn span {
        display: none;
    }
    
    .pwa-install-btn {
        padding: 8px 12px;
    }
}

/* Installed Indicator */
.installed-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-cart {
    background: var(--secondary-color);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: var(--text-dark);
    transform: scale(1.05);
}

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

/* Navigation */
.app-nav {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    position: sticky;
    top: 70px;
    z-index: 99;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    border-radius: var(--border-radius-small);
}

.nav-item:hover {
    color: var(--primary-color);
    background: var(--background-light);
}

.nav-item.active {
    color: var(--primary-color);
    background: rgba(205, 225, 0, 0.1);
}

.nav-item i {
    font-size: 18px;
}

/* Main Content */
.app-main {
    padding: 20px;
    padding-bottom: 100px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
}

.welcome-banner h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.welcome-banner p {
    font-size: 16px;
    opacity: 0.9;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.action-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.action-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.action-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Promotions */
.promotions-section {
    margin-bottom: 30px;
}

.promotions-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.promotion-card {
    background: linear-gradient(135deg, var(--warning-color), #ffb300);
    color: var(--text-dark);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
}

.promotion-icon {
    font-size: 32px;
    color: var(--text-dark);
}

.promotion-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.promotion-content p {
    font-size: 14px;
    opacity: 0.8;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    color: var(--text-dark);
}

.btn-back {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--border-color);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.category-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.category-image {
    width: 100%;
    height: 120px;
    margin-bottom: 15px;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-unit {
    font-size: 12px;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-small {
    flex: 1;
    padding: 6px 8px;
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Favorite button styles */
.btn-secondary.favorite-active {
    background: var(--error-color);
    color: white;
    border-color: var(--error-color);
}

.btn-secondary.favorite-active:hover {
    background: #c82333;
}

.btn-secondary.favorite-active i {
    color: white;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.order-card.collapsed .order-details-content {
    display: none;
}

.order-card.expanded .order-details-content {
    display: block;
    animation: slideDown 0.3s ease;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.order-header:hover {
    background: rgba(205, 225, 0, 0.2);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.order-date {
    font-size: 14px;
    color: var(--text-light);
}

.order-status-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.prepared {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.delivered {
    background: #d4edda;
    color: #155724;
}

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

.order-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--background-light);
    transition: all 0.3s ease;
}

.order-toggle i {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.order-card.expanded .order-toggle i {
    transform: rotate(180deg);
}

.order-details-content {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.order-time, .order-store, .order-notes {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.order-notes {
    font-style: italic;
    color: var(--text-light);
}

.order-items {
    margin-top: 15px;
}

.order-items h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.item-details {
    font-size: 12px;
    color: var(--text-light);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Auth Forms */
.auth-form {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.auth-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 15px;
}

.auth-form p {
    text-align: center;
    color: var(--text-light);
}

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

.auth-form a:hover {
    text-decoration: underline;
}

/* User Profile */
.user-profile {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.profile-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.profile-info p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Auth Invitation Modal */
.auth-invitation-content {
    text-align: center;
    padding: 20px 0;
}

.auth-invitation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.auth-invitation-content h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.auth-invitation-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
}

.auth-benefits {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.auth-benefits li i {
    width: 20px;
    color: var(--primary-color);
    font-size: 16px;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

.auth-actions .btn-primary,
.auth-actions .btn-secondary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Stores List */
.stores-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-item {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-item:hover {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.store-item.selected {
    border-color: var(--primary-color);
    background: rgba(205, 225, 0, 0.1);
}

.store-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.store-address {
    font-size: 14px;
    color: var(--text-light);
}

/* Cart Items */
.cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-small);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cart-item-details {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-quantity button {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    padding: 5px;
}

.cart-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.cart-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius-small);
    padding: 10px 15px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #856404;
}

.cart-disclaimer i {
    font-size: 14px;
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Product Detail */
.product-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product-price span:first-child {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-price span:last-child {
    color: var(--text-light);
}

/* Cut Options */
.cut-options {
    margin-bottom: 20px;
}

.cut-options h5 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cut-buttons {
    display: flex;
    gap: 10px;
}

.cut-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cut-btn:hover {
    border-color: var(--primary-color);
}

.cut-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: var(--text-dark);
}

.quantity-controls input {
    flex: 1;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
}

.quantity-controls input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn-secondary,
.product-actions .btn-primary {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Order Summary */
.order-summary {
    background: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.order-summary h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.order-items-summary {
    margin-bottom: 15px;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Price Disclaimer */
.price-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.disclaimer-icon {
    color: #856404;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.disclaimer-content h5 {
    color: #856404;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.disclaimer-content p {
    color: #856404;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.disclaimer-content strong {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 480px) {
    .main-container {
        max-width: 100%;
    }
    
    .app-header {
        padding: 10px 15px;
    }
    
    .app-main {
        padding: 15px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .auth-actions {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.hidden { display: none; }
.visible { display: block; } 