/
lelinna
/
cafe
Обзор
Документация
Войти
/
lelinna
/
cafe
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
static/css/style.css
794 строки
30 KB
Younaaaaaaaaa
Add files via upload
10 май 2026, 20:45
Не верифицирован
10 май 2026, 20:45
2f459ed
Код
Авторство
О чём код?
:root { --primary: #5D5FEF; --primary-light: #F5F3FF; --bg-gray: #F4F5F7; --bg-desktop: #E0E2E5; --white: #ffffff; --text-dark: #333333; --text-light: #888888; --radius: 16px; --app-width: 480px; } body { background-color: var(--bg-desktop); margin: 0; padding: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--text-dark); display: flex; justify-content: center; min-height: 100vh; -webkit-tap-highlight-color: transparent; } a { text-decoration: none; color: inherit; } button { outline: none; font-family: inherit; } .app-container { width: 100%; max-width: var(--app-width); min-height: 100vh; background: var(--bg-gray); position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.15); overflow: visible; padding-bottom: 80px; } .main-header { height: 300px; width: 100%; position: relative; z-index: 1; overflow: hidden; } .header-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; will-change: transform; } .header-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)); } .top-bar { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; padding: 20px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; } .logo-circle-small { width: 40px; height: 40px; background: white; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .logo-circle-small img { width: 100%; height: 100%; object-fit: cover; } .top-buttons { display: flex; gap: 10px; } .icon-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.25); backdrop-filter: blur(8px); border: none; border-radius: 12px; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 600; font-size: 13px; } .header-info { position: absolute; bottom: 60px; left: 20px; z-index: 5; transition: opacity 0.2s; } .header-info h1 { margin: 0; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.3); } .header-info p { margin: 5px 0 0; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; } .content-sheet { position: relative; z-index: 5; background: var(--bg-gray); border-radius: 24px 24px 0 0; margin-top: -40px; padding-top: 20px; min-height: 100vh; box-shadow: 0 -5px 20px rgba(0,0,0,0.05); } .promo-banner { padding: 0 20px 20px; box-sizing: border-box; width: 100%; } .promo-banner img { width: 100%; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: block; } #stickyCats { position: sticky; top: 0; z-index: 100; width: 100%; padding: 10px 20px 15px; box-sizing: border-box; background: var(--bg-gray); display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; border-radius: 0; transition: background 0.3s, box-shadow 0.3s; } #stickyCats::-webkit-scrollbar { display: none; } #stickyCats.is-stuck { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 10px rgba(0,0,0,0.05); } .cat-pill { padding: 8px 16px; background: #FFFFFF; border-radius: 20px; font-weight: 600; font-size: 14px; color: #333; white-space: nowrap; border: none; box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: 0.2s; } .cat-pill.active { background: #333; color: white; box-shadow: 0 4px 10px rgba(0,0,0,0.2); } .category-section h3 { margin: 15px 0 10px 20px; font-size: 19px; } .menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 15px 25px; } .product-card { background: var(--white); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 10px rgba(0,0,0,0.03); padding-bottom: 12px; cursor: pointer; } .product-img { width: 100%; height: 130px; object-fit: cover; } .product-info { padding: 12px 12px 0; flex-grow: 1; display: flex; flex-direction: column; } .product-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; line-height: 1.2; } .product-price { color: var(--primary); font-weight: 800; font-size: 16px; margin-top: 6px; } .btn-add { margin: 10px 12px 0; background: var(--bg-gray); border: none; width: calc(100% - 24px); padding: 10px; border-radius: 10px; color: var(--primary); font-weight: 600; font-size: 13px; cursor: pointer; transition: background 0.2s; } .btn-add:active { background: #e0e0e0; } .side-menu { position: fixed; top: 0; left: 50%; width: 100%; max-width: var(--app-width); height: 100%; background: var(--white); z-index: 5000; opacity: 0; transform: translateX(-50%) scale(0.96); pointer-events: none; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; padding: 20px 24px; box-sizing: border-box; } .side-menu.open { opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; } .menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; } .menu-logo img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; } .close-btn { width: 44px; height: 44px; background: #F8F9FA; border: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #333; cursor: pointer; } .menu-list { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; } .menu-item-row { display: flex; align-items: center; padding: 8px 0; cursor: pointer; border-radius: 12px; transition: 0.1s; } .menu-item-row:active { transform: scale(0.97); background: #fcfcfc; } .menu-icon-box { width: 48px; height: 48px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-right: 18px; } .menu-text { flex-grow: 1; font-size: 17px; font-weight: 500; } .menu-price-badge { background: var(--primary); color: white; font-size: 13px; font-weight: 600; padding: 4px 8px; border-radius: 6px; margin-left: auto; } .menu-arrow { display: flex; align-items: center; margin-left: 10px; } .menu-footer { margin-top: auto; display: flex; justify-content: center; gap: 15px; padding-bottom: 20px; } .social-btn { width: 50px; height: 50px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); } .header-action-btn { width: 36px; height: 36px; background: #F8F9FA; border: none; border-radius: 12px; font-weight: 600; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; padding: 0; } .header-action-btn svg { stroke: #555; stroke-width: 1.5; width: 18px; height: 18px; } .cart-float { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: calc(var(--app-width) - 40px); background: var(--primary); color: white; padding: 16px 20px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16px; z-index: 2000; box-shadow: 0 10px 25px rgba(93, 95, 239, 0.4); animation: slideUp 0.3s ease-out; } @keyframes slideUp { from { transform: translate(-50%, 100px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 60vh; text-align: center; } .empty-icon svg { stroke: #F2F2F2; } .empty-state h3 { font-size: 18px; margin: 20px 0 10px; } .empty-state p { color: #ccc; font-size: 14px; line-height: 1.5; } .cart-list { padding: 0 20px; } .cart-item-row { display: flex; padding: 20px 0; border-bottom: 1px solid #f0f0f0; align-items: center; } .cart-item-img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; margin-right: 15px; background-color: #f9f9f9; border: 1px solid #eee; } .cart-item-info { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; height: 72px; } .cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; } .cart-item-name { font-size: 15px; font-weight: 500; max-width: 60%; line-height: 1.2; color: #333; } .cart-item-price-block { display: flex; align-items: center; gap: 8px; } .cart-item-price { font-weight: 600; font-size: 15px; color: #333; } .cart-remove-x { width: 20px; height: 20px; background: var(--primary); color: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; } .cart-item-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; } .qty-btn { width: 26px; height: 26px; background: white; border: 1px solid var(--primary); border-radius: 50%; color: var(--primary); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; padding-bottom: 2px; } .qty-val { font-size: 15px; font-weight: 500; min-width: 20px; text-align: center; color: #333; } .bottom-fixed-btn { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: calc(var(--app-width) - 40px); padding: 0; margin: 0; box-sizing: border-box; z-index: 100; } .main-btn { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 16px; font-size: 16px; font-weight: 600; cursor: pointer; display: block; text-align: center; box-shadow: 0 4px 15px rgba(93, 95, 239, 0.3); box-sizing: border-box; } .flex-btn { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; } .main-btn { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 16px; font-size: 16px; font-weight: 600; cursor: pointer; display: block; text-align: center; box-shadow: 0 4px 15px rgba(93, 95, 239, 0.3); } .flex-btn { display: flex; justify-content: space-between; align-items: center; } .btn-price-tag { background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 6px; font-size: 14px; } .search-overlay { position: fixed; top: 0; left: 50%; transform: translateX(-50%) translateY(20px); width: 100%; max-width: var(--app-width); height: 100%; background: white; z-index: 6000; opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; } .search-overlay.open { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; } .search-header-row { display: flex; align-items: center; padding: 15px 20px; gap: 15px; background: white; } .search-input-box { flex-grow: 1; background: #F2F2F7; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; } .search-input-field { border: none; background: transparent; font-size: 17px; width: 100%; outline: none; color: #333; } .search-input-field::placeholder { color: #999; } .search-clear-btn { background: none; border: none; padding: 0; display: flex; cursor: pointer; } .search-cancel-text { background: none; border: none; color: var(--primary); font-size: 17px; font-weight: 500; cursor: pointer; white-space: nowrap; } .search-body { flex-grow: 1; background: white; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; } .search-status-block { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #333; padding-bottom: 100px; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .status-icon-bg { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } .status-icon-bg svg { stroke: #E5E5EA; } .search-status-block h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; } .search-status-block p { margin: 0; color: #999; font-size: 14px; line-height: 1.5; } .spinner { width: 40px; height: 40px; border: 4px solid #F2F2F7; border-top: 4px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .search-results-grid { display: grid; grid-template-columns: 1fr; gap: 15px; padding-bottom: 20px; } .search-result-item { display: flex; align-items: center; padding: 10px; background: #fff; border-bottom: 1px solid #f5f5f5; gap: 15px; } .search-res-img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: #eee; } .search-res-info { flex-grow: 1; } .search-res-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; } .search-res-price { color: var(--primary); font-weight: bold; } .search-res-btn { padding: 6px 12px; background: #F2F2F7; color: var(--primary); border: none; border-radius: 8px; font-size: 13px; font-weight: 600; float: right; margin-top: -20px; cursor: pointer; } .login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 8000; visibility: hidden; } .login-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 0; transition: 0.3s; } .login-sheet { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%); width: 100%; max-width: var(--app-width); background: white; border-radius: 24px 24px 0 0; padding: 24px 20px; box-sizing: border-box; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 2; } .login-overlay.open { visibility: visible; } .login-overlay.open .login-backdrop { opacity: 1; } .login-overlay.open .login-sheet { transform: translateX(-50%) translateY(0); } .sheet-handle { width: 40px; height: 4px; background: #E0E0E0; border-radius: 2px; margin: 0 auto 20px; } .sheet-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 28px; color: #999; cursor: pointer; padding: 5px; } .login-step h2 { font-size: 24px; margin: 0 0 15px; line-height: 1.2; font-weight: 700; } .step-desc { color: #888; font-size: 15px; margin-bottom: 25px; line-height: 1.4; } .phone-input-group { display: flex; align-items: center; border-bottom: 1px solid #E0E0E0; padding-bottom: 10px; margin-bottom: 20px; } .flag-icon img { width: 24px; vertical-align: middle; margin-right: 10px; } .phone-prefix { font-size: 18px; color: #333; margin-right: 5px; } .phone-field { border: none; font-size: 18px; width: 100%; outline: none; font-family: monospace; background: transparent; color: #333; } .checkbox-group { margin-bottom: 25px; display: flex; flex-direction: column; gap: 15px; } .custom-checkbox { display: flex; align-items: flex-start; cursor: pointer; position: relative; font-size: 13px; color: #666; line-height: 1.4; } .custom-checkbox input { display: none; } .checkmark { min-width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 4px; margin-right: 10px; position: relative; transition: 0.2s; } .custom-checkbox input:checked ~ .checkmark { background: var(--primary); border-color: var(--primary); } .checkmark::after { content: ''; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); } .custom-checkbox input:checked ~ .checkmark::after { display: block; } .custom-checkbox a { color: var(--primary); text-decoration: none; } .code-inputs { display: flex; gap: 12px; justify-content: center; margin: 30px 0; } .code-box { width: 55px; height: 65px; border: 1px solid #E0E0E0; border-radius: 12px; text-align: center; font-size: 28px; font-weight: bold; outline: none; transition: 0.2s; background: #FAFAFA; color: #333; } .code-box:focus { border-color: var(--primary); background: white; box-shadow: 0 4px 10px rgba(93, 95, 239, 0.15); } .code-box::-webkit-outer-spin-button, .code-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .login-sheet .main-btn { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 14px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; display: block; text-decoration: none; box-sizing: border-box; } .login-sheet .main-btn.disabled { background: #E0E0E0; color: #999; pointer-events: none; } .text-btn { background: transparent; border: none; color: var(--primary); font-size: 14px; cursor: pointer; padding: 0; margin: 0 auto 20px; display: block; text-align: center; text-decoration: none; outline: none; } .secondary-btn { background: transparent; border: none; color: var(--primary); font-size: 16px; font-weight: 600; cursor: pointer; width: 100%; padding: 10px; margin-bottom: 10px; text-align: center; outline: none; } .product-sheet { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%); width: 100%; max-width: var(--app-width); height: 85vh; background: white; border-radius: 24px 24px 0 0; z-index: 3; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); } .login-overlay.open .product-sheet { transform: translateX(-50%) translateY(0); } .sheet-close-round { position: absolute; top: 15px; right: 15px; z-index: 10; width: 40px; height: 40px; background: white; border-radius: 50%; border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; cursor: pointer; } .modal-img-container { height: 300px; background: #eee; flex-shrink: 0; } .modal-product-img { width: 100%; height: 100%; object-fit: cover; } .modal-content-scroll { padding: 20px 20px 100px; overflow-y: auto; flex-grow: 1; } .modal-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; line-height: 1.2; } .modal-desc { color: #666; font-size: 14px; line-height: 1.5; margin-bottom: 20px; } .kbju-block { border-top: 1px solid #f0f0f0; padding-top: 15px; } .kbju-title { font-weight: 600; font-size: 14px; margin-bottom: 10px; } .kbju-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 12px; color: #888; } .kbju-grid b { display: block; color: #333; font-size: 14px; margin-bottom: 2px; } .modal-footer { position: absolute; bottom: 0; left: 0; width: 100%; background: white; box-shadow: 0 -5px 20px rgba(0,0,0,0.05); padding: 15px 20px 20px; box-sizing: border-box; } .modal-price-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 14px; font-weight: 500; } .modal-controls-row { display: flex; gap: 15px; } .qty-selector { display: flex; align-items: center; gap: 10px; background: #F8F9FA; padding: 5px; border-radius: 12px; } .qty-selector button { width: 32px; height: 32px; border: none; background: transparent; color: var(--primary); font-size: 20px; cursor: pointer; } .qty-selector span { font-weight: 600; min-width: 20px; text-align: center; } .profile-header-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: white; margin-bottom: 20px; position: relative; } .back-btn, .menu-dots-btn { width: 40px; height: 40px; background: #F8F9FA; border-radius: 10px; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 2; } .page-title { font-size: 18px; font-weight: 600; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; text-align: center; z-index: 1; } .user-info-card { background: white; margin: 0 15px 15px; padding: 20px; border-radius: 20px; display: flex; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.02); } .user-avatar-circle { width: 50px; height: 50px; background: #F8F9FA; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; overflow: hidden; } .user-text-info { flex-grow: 1; } .user-name { font-weight: 600; font-size: 16px; margin-bottom: 3px; } .user-phone { color: #888; font-size: 13px; } .edit-icon-btn { width: 32px; height: 32px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; } .profile-menu-list { padding: 0 15px; display: flex; flex-direction: column; gap: 10px; } .profile-menu-item { background: white; padding: 15px; border-radius: 16px; display: flex; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.01); } .p-icon-box { width: 36px; height: 36px; background: #fff; border: 1px solid #eee; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-right: 15px; color: var(--primary); } .admin-container { padding: 20px; } .admin-card { background: white; padding: 20px; border-radius: var(--radius); margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); } .form-input { width: 100%; padding: 14px; margin: 8px 0 15px; border: 1px solid #eee; background: #f9f9f9; border-radius: 10px; box-sizing: border-box; font-size: 15px; outline: none; } .form-input:focus { border-color: var(--primary); background: white; } .admin-btn { background: var(--primary); color: white; border: none; padding: 14px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; width: 100%; text-align: center; display: inline-block; } .edit-profile-form { padding: 0 20px; } .field-label { display: block; font-size: 12px; color: #888; margin-bottom: 5px; margin-left: 5px; } .input-wrapper { background: white; border-radius: 12px; padding: 12px 15px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.01); } .input-wrapper.disabled { background: #F8F9FA; color: #999; } .profile-input { width: 100%; border: none; outline: none; font-size: 16px; background: transparent; color: #333; } .gender-radio-group { display: flex; gap: 20px; margin-bottom: 30px; } .gender-radio { display: flex; align-items: center; cursor: pointer; } .gender-radio input { display: none; } .radio-circle { width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 50%; margin-right: 8px; position: relative; } .gender-radio input:checked ~ .radio-circle { border-color: var(--primary); } .gender-radio input:checked ~ .radio-circle::after { content: ''; position: absolute; top: 4px; left: 4px; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; } .bottom-save-btn-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--app-width); padding: 0 20px; box-sizing: border-box; } .save-profile-btn { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 15px rgba(93, 95, 239, 0.3); } .dots-dropdown { position: absolute; top: 50px; right: 0; background-color: white; min-width: 160px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-radius: 12px; z-index: 100; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; overflow: hidden; } .dots-dropdown.show { opacity: 1; transform: translateY(0); pointer-events: auto; } .dd-item { padding: 12px 16px; text-decoration: none; color: #333; font-size: 14px; border-bottom: 1px solid #f5f5f5; transition: background 0.2s; } .dd-item:hover { background: #F8F9FA; } .dd-logout { color: #FF4D4D; } .action-sheet { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%); width: calc(100% - 40px); max-width: calc(var(--app-width) - 40px); z-index: 2; display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); } .login-overlay.open .action-sheet { transform: translateX(-50%) translateY(0); } .action-btn { width: 100%; padding: 18px; background: white; border: none; border-radius: 16px; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.05); } .text-red { color: #E53935; } .text-primary { color: var(--primary); } .order-page-container { padding: 20px; padding-bottom: 120px; background: var(--bg-gray); min-height: 100vh; } .order-address-title { font-size: 20px; font-weight: 700; margin: 0 0 5px; color: #333; } .order-address-sub { font-size: 14px; color: #888; margin: 0 0 25px; } .order-label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 5px; margin-top: 20px; } .order-label .req { color: #E53935; } .order-input { width: 100%; border: none; border-bottom: 1px solid #E0E0E0; background: transparent; padding: 10px 0; font-size: 16px; color: #333; outline: none; transition: 0.2s; } .order-input:focus { border-bottom-color: var(--primary); } .order-input-disabled { display: flex; align-items: center; background: #F2F2F7; padding: 12px; border-radius: 12px; margin-top: 5px; color: #555; } .order-selector { display: flex; justify-content: space-between; align-items: center; background: #F2F2F7; padding: 16px; border-radius: 12px; font-size: 16px; cursor: pointer; margin-top: 5px; transition: 0.2s; } .order-selector:active { transform: scale(0.98); } .order-summary-box { margin-top: 35px; border-top: 1px solid #E0E0E0; padding-top: 20px; } .summary-row { display: flex; justify-content: space-between; font-size: 15px; color: #333; margin-bottom: 15px; } .summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: #333; margin-top: 15px; } .order-checkbox-group { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; } .picker-container { display: flex; justify-content: center; align-items: flex-start; height: 140px; position: relative; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent); } .picker-highlight { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); height: 40px; background: rgba(0, 0, 0, 0.04); border-radius: 8px; pointer-events: none; z-index: 1; } .picker-column { flex: 1; height: 100%; overflow-y: scroll; scrollbar-width: none; scroll-snap-type: y mandatory; text-align: center; position: relative; z-index: 2; } .picker-column::-webkit-scrollbar { display: none; } .picker-item { height: 40px; line-height: 40px; font-size: 18px; color: #999; scroll-snap-align: center; transition: all 0.2s; } .picker-spacer { height: 50px; } .picker-item.selected { color: #333; font-weight: 700; font-size: 20px; } .success-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-gray); z-index: 9999; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s ease-out forwards; } .success-card { background: white; width: calc(100% - 40px); max-width: 400px; padding: 40px 20px; border-radius: 24px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(20px); animation: slideUpCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .success-title { font-size: 24px; font-weight: 800; color: #333; margin: 20px 0 10px; } .success-desc { font-size: 15px; color: #888; line-height: 1.5; margin-bottom: 30px; } .success-icon-circle { width: 80px; height: 80px; margin: 0 auto; } .checkmark-svg { width: 100%; height: 100%; border-radius: 50%; display: block; stroke-width: 3; stroke: #4CAF50; stroke-miterlimit: 10; box-shadow: inset 0px 0px 0px #4CAF50; animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; } .checkmark-circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; stroke-miterlimit: 10; stroke: #4CAF50; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .checkmark-check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; } @keyframes stroke { 100% { stroke-dashoffset: 0; } } @keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } } @keyframes fill { 100% { box-shadow: inset 0px 0px 0px 40px rgba(76, 175, 80, 0.1); } } @keyframes slideUpCard { to { transform: translateY(0); } }