body { background-color: #1a1a2e; font-family: 'Poppins', sans-serif; color: #e0e0e0; } .mobile-container { max-width: 480px; margin: auto; background-color: transparent; min-height: 100vh; position: relative; overflow: hidden; } .background-gradient { position: absolute; top: 0; left: 0; right: 0; height: 50vh; background: linear-gradient(to bottom, #1f4287, #1a1a2e); z-index: -1; } .app-header { background: transparent; color: white; position: sticky; top: 0; z-index: 1030; } .product-card { border-radius: 1rem; overflow: hidden; position: relative; height: 200px; background-size: cover; background-position: center; display: flex; align-items: flex-end; color: white; box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 6px 6px rgba(0,0,0,0.2); transition: transform 0.3s ease; } .product-card:hover { transform: translateY(-5px); } .card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); } .card-content { position: relative; z-index: 1; padding: 1rem; width: 100%; } .card-title { font-weight: 600; margin-bottom: 0.25rem; } .card-text { font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 600; } .nutrient-badge { font-size: 0.75rem; padding: 0.3em 0.6em; background-color: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2); } /* Add Sale Page & Form */ .add-sale-form { display: flex; flex-direction: column; gap: 20px; padding: 20px; background: rgba(255, 255, 255, 0.1); border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .form-group { display: flex; flex-direction: column; } .form-group label { margin-bottom: 8px; font-weight: 600; color: #f0f0f0; } .form-group input, .form-group select { padding: 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.3); background-color: rgba(0, 0, 0, 0.2); color: #fff; font-family: 'Poppins', sans-serif; font-size: 1rem; } .form-group select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; } .form-group input:focus, .form-group select:focus { outline: none; border-color: #8E44AD; box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.5); } .btn.btn-primary { padding: 15px; border: none; border-radius: 8px; background: linear-gradient(45deg, #8E44AD, #C0392B); color: white; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; } .btn.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .back-button { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: white; text-decoration: none; } .alert.success { padding: 15px; background-color: rgba(46, 204, 113, 0.8); color: white; border-radius: 8px; margin-bottom: 20px; text-align: center; } /* Bottom Navigation */ .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: auto; display: flex; justify-content: space-around; align-items: center; background-color: rgba(26, 26, 46, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 10px 0; z-index: 1000; } .nav-item { display: flex; flex-direction: column; align-items: center; color: #e0e0e0; text-decoration: none; font-size: 0.75rem; transition: color 0.3s ease; } .nav-item i { font-size: 1.5rem; margin-bottom: 4px; } .nav-item.active, .nav-item:hover { color: #fff; } main.p-3 { padding-bottom: 100px !important; /* Space for bottom nav */ }