*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f9fafb;color:#1f2937}html{scroll-behavior:smooth}a{color:inherit;text-decoration:none}button{font-family:inherit}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}img{max-width:100%;height:auto;display:block}.header{background:#fff;box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:1000}.header-top{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem 0}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.header-content{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:#fff;font-size:1.5rem;font-weight:700;white-space:nowrap}.logo-icon{font-size:2rem}.search-bar{flex:1;max-width:500px;display:flex;background:#fff;border-radius:25px;overflow:hidden}.search-bar input{flex:1;padding:.75rem 1.25rem;border:none;outline:none;font-size:.95rem}.search-bar button{padding:.75rem 1.5rem;background:#667eea;border:none;color:#fff;cursor:pointer;font-size:1.2rem;transition:background .3s}.search-bar button:hover{background:#5568d3}.header-actions{display:flex;align-items:center;gap:1rem}.btn-sell{padding:.6rem 1.5rem;background:#f59e0b;color:#fff;text-decoration:none;border-radius:20px;font-weight:600;white-space:nowrap;transition:background .3s}.btn-sell:hover{background:#d97706}.user-icon{background:none;border:2px solid white;color:#fff;font-size:1.5rem;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s}.user-icon:hover{background:#fff;color:#667eea;transform:scale(1.1)}.user-menu{position:relative}.user-icon.authenticated{background:#fff;color:#667eea;border-color:#fff}.user-dropdown{position:absolute;top:calc(100% + 10px);right:0;background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026;min-width:220px;opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .3s;z-index:1000}.user-menu:hover .user-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.user-info{padding:1rem;border-bottom:1px solid #e5e7eb}.user-name{font-weight:600;color:#1f2937;margin-bottom:.25rem;font-size:.95rem}.user-email{color:#6b7280;font-size:.85rem}.dropdown-item{display:block;width:100%;padding:.75rem 1rem;color:#374151;text-decoration:none;background:none;border:none;text-align:left;cursor:pointer;font-size:.9rem;transition:all .2s}.dropdown-item:hover{background:#f3f4f6;color:#667eea}.dropdown-item.logout-btn{color:#ef4444;font-weight:600}.dropdown-item.logout-btn:hover{background:#fef2f2}.dropdown-divider{height:1px;background:#e5e7eb;margin:.25rem 0}.cart-icon{position:relative;font-size:1.8rem;text-decoration:none;transition:transform .2s}.cart-icon:hover{transform:scale(1.1)}.cart-count{position:absolute;top:-8px;right:-8px;background:#ef4444;color:#fff;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}.menu-toggle{display:none;background:none;border:none;color:#fff;font-size:1.8rem;cursor:pointer;padding:.25rem}.navbar{background:#fff;border-top:1px solid #e5e7eb}.nav-links{list-style:none;padding:0;margin:0;display:flex;gap:.5rem}.nav-links li a{display:block;padding:1rem 1.25rem;color:#374151;text-decoration:none;font-weight:500;transition:all .3s;border-bottom:2px solid transparent}.nav-links li a:hover{color:#667eea;border-bottom-color:#667eea}@media(max-width:768px){.header-content{flex-wrap:wrap}.logo{order:1;font-size:1.25rem}.logo-icon{font-size:1.5rem}.search-bar{order:3;flex-basis:100%;max-width:100%;margin-top:-1.25rem}.header-actions{order:2}.btn-sell{padding:.5rem 1rem;font-size:.9rem}.menu-toggle{display:block}.navbar{max-height:0;overflow:hidden;transition:max-height .3s ease}.navbar.open{max-height:500px}.nav-links{flex-direction:column;gap:0}.nav-links li a{padding:.875rem 1rem;border-bottom:1px solid #e5e7eb}}@media(max-width:480px){.logo-text{font-size:1.1rem}.search-bar input{font-size:.85rem;padding:.6rem 1rem}.search-bar button{padding:.6rem 1rem}.btn-sell{display:none}.cart-icon{font-size:1.5rem}.user-icon{width:35px;height:35px;font-size:1.3rem}}.auth-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0009;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease;padding:2rem 0;overflow-y:auto}.auth-modal{background:#fff;border-radius:20px;padding:1.25rem;max-width:380px;width:90%;position:relative;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease;margin:auto;max-height:calc(100vh - 4rem);overflow-y:auto}.modal-close{position:absolute;top:.5rem;right:.5rem;background:linear-gradient(135deg,#667eea,#764ba2)!important;border:none;font-size:2rem;color:#ec0404;cursor:pointer;width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s}.modal-close:hover{background:#0840af;color:#1f2937;transform:rotate(90deg)}.auth-modal-header{text-align:center;margin-bottom:1rem}.auth-modal-header h2{font-size:1.3rem;color:#1f2937;margin-bottom:.15rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:700}.auth-modal-header p{color:#6b7280;font-size:.75rem}.auth-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.6rem;border-radius:8px;font-size:.8rem;text-align:center;margin-bottom:.75rem}.auth-form{display:flex;flex-direction:column;gap:.65rem}.form-field{display:flex;flex-direction:column;gap:.25rem}.form-field label{font-weight:600;color:#374151;font-size:.75rem}.form-field input{padding:.55rem .7rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.85rem;transition:all .3s;font-family:inherit}.form-field input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-options{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;margin:-.25rem 0}.remember-me{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:#374151}.remember-me input[type=checkbox]{cursor:pointer}.forgot-password{color:#667eea;text-decoration:none;font-weight:600}.forgot-password:hover{text-decoration:underline}.auth-submit-btn{padding:.65rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s;margin-top:.1rem}.auth-submit-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.auth-submit-btn:disabled:hover{transform:none;box-shadow:none}.auth-divider{display:flex;align-items:center;text-align:center;color:#9ca3af;margin:.1rem 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid #e5e7eb}.auth-divider span{padding:0 .5rem;font-size:.7rem;font-weight:600}.social-auth{display:flex;flex-direction:column;gap:.45rem}.social-btn{display:flex;align-items:center;justify-content:center;gap:.45rem;padding:.55rem;border:2px solid #e5e7eb;border-radius:8px;background:#fff;font-weight:600;cursor:pointer;transition:all .3s;font-size:.75rem}.social-btn:hover{border-color:#667eea;background:#f9fafb;transform:translateY(-2px)}.social-btn span{font-size:.95rem}.auth-switch{text-align:center;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb}.auth-switch p{color:#6b7280;font-size:.75rem}.auth-switch button{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;margin-left:.5rem;font-size:.75rem;text-decoration:underline}.auth-switch button:hover{color:#764ba2}@media(max-width:480px){.auth-modal{padding:1rem;width:95%;max-width:350px}.auth-modal-header h2{font-size:1.2rem}.auth-modal-header p{font-size:.7rem}.form-field input{padding:.5rem .65rem;font-size:.8rem}.form-field label{font-size:.7rem}.auth-submit-btn{padding:.6rem;font-size:.85rem}.social-btn{padding:.5rem;font-size:.7rem}.auth-switch p,.auth-switch button{font-size:.7rem}}.footer{background:linear-gradient(135deg,#1f2937,#111827);color:#e5e7eb;margin-top:4rem}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2.5rem;padding:3rem 0}.footer-section h3{color:#fff;margin-bottom:1rem;font-size:1.5rem}.footer-section h4{color:#fff;margin-bottom:1rem;font-size:1.1rem}.footer-section p{line-height:1.6;color:#d1d5db;margin-bottom:1rem}.footer-section ul{list-style:none;padding:0;margin:0}.footer-section ul li{margin-bottom:.5rem}.footer-section ul li a{color:#d1d5db;text-decoration:none;transition:color .3s}.footer-section ul li a:hover{color:#667eea}.social-links{display:flex;gap:1rem;margin-top:1rem}.social-links a{font-size:1.5rem;transition:transform .3s}.social-links a:hover{transform:scale(1.2)}.newsletter-form{display:flex;flex-direction:row;gap:.5rem;margin-top:.75rem;align-items:center}.newsletter-form input{padding:.75rem;border:1px solid #374151;border-radius:5px;background:#374151;color:#fff;outline:none}.newsletter-form input{flex:1 1 auto}.newsletter-form input::placeholder{color:#9ca3af}.newsletter-form button{padding:.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:5px;font-weight:600;cursor:pointer;transition:transform .3s}.newsletter-form button:hover{transform:translateY(-2px)}.footer-bottom{border-top:1px solid #374151;padding:1.5rem 0;text-align:center;color:#9ca3af}@media(max-width:768px){.footer-content{grid-template-columns:1fr;gap:2rem;padding:2rem 0}.footer-section{text-align:center}.social-links{justify-content:center}.newsletter-form{flex-direction:column;align-items:stretch}}.modal-overlay{position:fixed;inset:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:1200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:overlayFade .2s ease-out}@keyframes overlayFade{0%{opacity:0}to{opacity:1}}.barter-modal{width:94%;max-width:680px;max-height:78vh;background:linear-gradient(180deg,#fffffffa,#fafafafa);border-radius:12px;box-shadow:0 20px 60px #02061759;overflow:hidden;transform-origin:center;animation:modalPop .22s cubic-bezier(.2,.9,.2,1);display:flex;flex-direction:column}@keyframes modalPop{0%{opacity:0;transform:translateY(-12px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}.barter-modal__header{padding:12px 14px;background:linear-gradient(90deg,#2563eb,#60a5fa);color:#fff;display:flex;align-items:center;gap:10px}.barter-modal__title{font-size:1.06rem;font-weight:700}.barter-modal__close{margin-left:auto;background:#ffffff24;border:none;color:#fff;width:36px;height:36px;border-radius:8px;cursor:pointer}.barter-modal__body{padding:12px;display:flex;flex-direction:column;gap:10px;overflow:auto;max-height:calc(78vh - 64px)}.barter-info-row{font-size:.95rem;color:#1f2937}.barter-suggestions{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;align-items:flex-start}.barter-suggestion{min-width:78px;max-width:120px;background:#fff;border-radius:10px;padding:8px;display:flex;align-items:center;flex-direction:column;gap:6px;box-shadow:0 6px 18px #0206170f;cursor:pointer;border:2px solid transparent;transition:transform .12s,box-shadow .12s,border-color .12s}.barter-suggestion input{appearance:none}.barter-suggestion img{width:56px;height:72px;object-fit:cover;border-radius:8px}.barter-suggestion__title{font-size:.86rem;color:#111827;text-align:center}.barter-suggestion--selected{border-color:#2563eb2e;transform:translateY(-4px);box-shadow:0 14px 36px #2563eb0f}.barter-form-row{display:flex;gap:10px}.barter-field{flex:1;display:flex;flex-direction:column}.barter-label{font-size:.86rem;color:#374151;margin-bottom:6px}.barter-input,.barter-textarea{padding:8px 10px;border-radius:8px;border:1px solid #e6edf3;background:#fbfdff;font-size:.92rem}.barter-textarea{min-height:72px;resize:vertical}.barter-error{color:#ef4444;font-weight:600;font-size:.92rem}.barter-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:4px;position:sticky;bottom:0;padding:10px 6px;background:linear-gradient(180deg,#fff0,#fffffffa);box-shadow:inset 0 8px 12px -12px #02061714}.barter-btn{background:linear-gradient(90deg,#2563eb,#60a5fa);color:#fff;border:none;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer;box-shadow:0 8px 24px #2563eb1f}.barter-btn--ghost{background:transparent;border:1px solid #e5e7eb;color:#374151;padding:8px 10px;border-radius:10px}@media(max-width:640px){.barter-modal{width:96%;max-width:420px}.barter-form-row{flex-direction:column}.barter-suggestions{gap:10px}.barter-suggestion img{width:52px;height:70px}}@media(min-width:900px){.barter-modal{max-height:none}.barter-modal__body{overflow:visible;max-height:none}.barter-actions{position:static;padding:0;background:transparent;box-shadow:none}}.barter-modal-attractive,.barter-modal-header-attractive,.barter-modal-topbar,.barter-form-attractive,.barter-suggest-list-attractive,.barter-suggest-item-attractive,.btn-barter-submit-attractive{display:none}.barter-form-custom{display:flex;flex-direction:column;gap:1.1rem;background:#fff;border-radius:0 0 16px 16px;padding:1.2rem 2rem;box-shadow:none;min-width:0;box-sizing:border-box;justify-content:center}.barter-row{display:flex;width:100%;gap:1.1rem;margin-bottom:.5rem}.barter-row-images{justify-content:flex-start;align-items:center;margin-bottom:1.1rem}.barter-suggest-list-custom{display:flex;flex-direction:row;gap:1.1rem;width:100%;justify-content:flex-start}.barter-suggest-item-custom{display:flex;flex-direction:column;align-items:center;gap:.2rem;background:#f1f5f9;border-radius:8px;padding:.4rem .7rem .3rem;box-shadow:0 1px 4px #0000000f;cursor:pointer;border:2px solid transparent;transition:border .2s,box-shadow .2s}.barter-suggest-item-custom input[type=radio]{margin-bottom:.2rem}.barter-suggest-item-custom img{width:44px;height:58px;object-fit:cover;border-radius:5px;box-shadow:0 1px 4px #00000014}.barter-suggest-item-custom input[type=radio]:checked+img,.barter-suggest-item-custom input[type=radio]:focus+img{outline:2px solid #3182ce;outline-offset:2px}.barter-suggest-item-custom input[type=radio]:checked~span{color:#3182ce;font-weight:600}.barter-row-fields,.barter-row-message{justify-content:flex-start;align-items:flex-start}.barter-form-label{flex:1;display:flex;flex-direction:column;font-size:1rem;color:#2d3748;gap:.3rem}.barter-form-custom input,.barter-form-custom textarea{border:1.5px solid #cbd5e0;border-radius:6px;padding:.5rem .7rem;font-size:1rem;background:#f8fafc;transition:border .2s}.barter-form-custom input:focus,.barter-form-custom textarea:focus{border:1.5px solid #2563eb;outline:none}.btn-barter-submit-custom{margin-top:.7rem;background:linear-gradient(90deg,#2563eb 60%,#60a5fa);color:#fff;font-weight:600;border:none;border-radius:6px;padding:.7rem 1.5rem;font-size:1.08rem;cursor:pointer;box-shadow:0 2px 8px #3182ce14;transition:background .2s,box-shadow .2s}.btn-barter-submit-custom:hover{background:linear-gradient(90deg,#1d4ed8 60%,#3b82f6);box-shadow:0 4px 16px #3182ce21}.barter-error{color:#ef4444;font-size:.98rem;margin-bottom:-.5rem;text-align:center}.barter-success{color:#10b981;font-size:1.05rem;margin-bottom:-.5rem;text-align:center}.book-card{background:linear-gradient(180deg,#fff,#fbfdff);border-radius:14px;overflow:hidden;box-shadow:0 8px 24px #1018280f;transition:transform .25s ease,box-shadow .25s ease;display:flex;flex-direction:column;height:100%;border:1px solid rgba(15,23,42,.04)}.book-card:hover{transform:translateY(-8px) scale(1.01);box-shadow:0 18px 50px #1018281f}.book-image-link{text-decoration:none}.book-image{position:relative;width:100%;height:240px;overflow:hidden;background:linear-gradient(180deg,#f3f4f6,#eef2ff)}.book-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.book-card:hover .book-image img{transform:scale(1.06) rotate(-.5deg)}.book-image:after{content:"";position:absolute;left:0;right:0;top:0;height:60%;background:linear-gradient(180deg,#0000000f,#0000);pointer-events:none}.book-card:hover .book-image img{transform:scale(1.05)}.discount-badge{position:absolute;top:12px;right:12px;background:linear-gradient(90deg,#ef4444,#f97316);color:#fff;padding:6px 10px;border-radius:20px;font-size:.78rem;font-weight:700;letter-spacing:.2px;box-shadow:0 6px 18px #ef44441f}.condition-badge{position:absolute;bottom:12px;left:12px;background:#0009;color:#fff;padding:6px 10px;border-radius:14px;font-size:.78rem;font-weight:600;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.condition-badge.excellent{background:#10b981}.condition-badge.very-good{background:#3b82f6}.condition-badge.good{background:#f59e0b}.condition-badge.fair{background:#ef4444}.book-details{padding:14px 16px 18px;display:flex;flex-direction:column;flex:1}.book-title-link{text-decoration:none;color:inherit}.book-title{font-size:1.03rem;font-weight:700;color:#0f172a;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}.book-title:hover{color:#667eea}.book-author{color:#64748b;font-size:.88rem;margin:0 0 8px}.book-price{display:flex;align-items:baseline;gap:.5rem;margin-bottom:10px}.current-price{font-size:1.18rem;font-weight:800;color:#059669}.original-price{font-size:.95rem;color:#94a3b8;text-decoration:line-through}.book-actions{display:flex;gap:10px;margin-top:auto;align-items:center;justify-content:flex-start}.btn-add-cart,.btn-view-details,.btn-barter{padding:.5rem .6rem;border:none;border-radius:6px;font-weight:600;cursor:pointer;text-align:center;text-decoration:none;transition:all .2s;font-size:.92rem}.btn-add-cart{background:linear-gradient(90deg,#059669,#10b981);color:#fff;padding:8px 12px;border-radius:10px;box-shadow:0 10px 30px #0596691f;border:none}.btn-add-cart:hover{transform:translateY(-3px);background:linear-gradient(90deg,#047857,#059669);box-shadow:0 16px 40px #0596692e}.btn-add-cart:focus{outline:3px solid rgba(5,150,105,.15);outline-offset:3px}.book-actions .btn-view-details{background:#f1f5ff;color:#374151;border:1px solid rgba(99,102,241,.12);padding:8px 12px;border-radius:10px;transition:all .18s ease,transform .12s ease}.btn-barter{background:transparent;color:#f97316;border:1px solid rgba(249,115,22,.14);padding:8px 10px;border-radius:10px}.btn-barter:hover{background:linear-gradient(90deg,#f97316,#fb923c);color:#fff;transform:translateY(-2px);box-shadow:0 10px 26px #f973161f}.btn-view-details:hover{background:#667eea;color:#fff}@media(max-width:480px){.book-image{height:250px}.book-title{font-size:1rem}.current-price{font-size:1.3rem}.book-details{padding:1rem}}.btn-barter-fab{position:absolute;right:12px;bottom:12px;padding:5px;height:48px;border-radius:2%;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:1.05rem;box-shadow:0 12px 32px #2563eb1f;cursor:pointer;z-index:30;transition:transform .16s ease,box-shadow .16s ease,filter .12s ease}.btn-barter-fab:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 26px 60px #2563eb2e;filter:brightness(1.03)}.btn-barter-fab:focus{outline:3px solid rgba(37,99,235,.16);outline-offset:3px}.btn-barter-fab{position:absolute;right:12px;bottom:12px;min-width:48px;height:40px;padding:6px 12px;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);color:#fff;border:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.95rem;font-weight:700;box-shadow:0 14px 36px #2563eb1f;cursor:pointer;z-index:30;transition:transform .16s ease,box-shadow .16s ease,filter .12s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-barter-fab:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 26px 60px #2563eb2e}@media(max-width:520px){.btn-barter-fab{width:44px;height:44px;padding:0;border-radius:50%;font-size:1.05rem;gap:0;justify-content:center}}.book-actions .btn-view-details:hover{background:linear-gradient(90deg,#6366f1,#4f46e5);color:#fff;transform:translateY(-2px);box-shadow:0 12px 30px #4f46e51f}.book-actions .btn-view-details:focus{outline:3px solid rgba(99,102,241,.14);outline-offset:3px}@media(max-width:520px){.fab-label{display:none}}.btn-add-cart{flex:1 1 auto}.btn-view-details{white-space:nowrap}@media(max-width:520px){.book-actions{flex-direction:column;gap:8px}.btn-add-cart,.btn-view-details{width:100%}}.error-text{color:#ef4444;font-size:.9rem;margin-top:4px;display:block;font-weight:600}.home{min-height:100vh}.scrolling-banner{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:1rem 0;overflow:hidden;position:relative}.banner-track{display:flex;width:fit-content;animation:scroll 30s linear infinite}.banner-content{display:flex;gap:3rem;padding:0 1.5rem;white-space:nowrap}.banner-content span{font-weight:600;font-size:1rem;display:inline-flex;align-items:center;gap:.5rem}@keyframes scroll{0%{transform:translate(0)}to{transform:translate(-50%)}}.scrolling-banner:hover .banner-track{animation-play-state:paused}.hero-banner{position:relative;width:100%;height:600px;overflow:hidden}.banner-slider{position:relative;width:100%;height:100%}.banner-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity 1s ease-in-out;display:flex;align-items:center;justify-content:center}.banner-slide.active{opacity:1;z-index:1}.banner-image{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;filter:brightness(.6)}.banner-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#667eeacc,#764ba2b3);z-index:1}.banner-text{position:relative;z-index:2;text-align:center;color:#fff;padding:2rem}.banner-text h1{font-size:4rem;margin-bottom:1.5rem;text-shadow:2px 2px 8px rgba(0,0,0,.3);animation:fadeInUp .8s ease;font-weight:800;letter-spacing:1px}.banner-text p{font-size:1.5rem;margin-bottom:2.5rem;text-shadow:1px 1px 4px rgba(0,0,0,.3);animation:fadeInUp .8s ease .2s both;font-weight:500}.banner-indicators{position:absolute;bottom:30px;left:50%;transform:translate(-50%);display:flex;gap:12px;z-index:10}.indicator{width:14px;height:14px;border-radius:50%;background:#ffffff80;border:2px solid white;cursor:pointer;transition:all .3s ease;padding:0}.indicator:hover{background:#fffc;transform:scale(1.2)}.indicator.active{background:#fff;width:40px;border-radius:10px}.banner-arrow{position:absolute;top:50%;transform:translateY(-50%);background:#ffffff4d;color:#fff;border:none;width:50px;height:50px;border-radius:50%;font-size:2rem;cursor:pointer;z-index:10;transition:all .3s ease;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.banner-arrow:hover{background:#ffffff80;transform:translateY(-50%) scale(1.1)}.banner-arrow.prev{left:20px}.banner-arrow.next{right:20px}.hero{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:5rem 0;text-align:center}.hero-content h1{font-size:3rem;margin-bottom:1rem;animation:fadeInUp .8s ease}.hero-content p{font-size:1.25rem;margin-bottom:2rem;opacity:.95;max-width:600px;margin-left:auto;margin-right:auto;animation:fadeInUp .8s ease .2s both}.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;animation:fadeInUp .8s ease .4s both}.btn-primary,.btn-secondary,.btn-cta{padding:1rem 2rem;border-radius:25px;text-decoration:none;font-weight:600;font-size:1.1rem;transition:all .3s;display:inline-block}.btn-primary{background:#fff;color:#667eea}.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 25px #0003}.btn-secondary{background:transparent;color:#fff;border:2px solid white}.btn-secondary:hover{background:#fff;color:#667eea}.how-it-works{padding:4rem 0;background:linear-gradient(135deg,#f9fafb,#fff)}.section-header-center{text-align:center;margin-bottom:3rem}.section-header-center h2{font-size:2.25rem;color:#1f2937;margin-bottom:.75rem;font-weight:700}.section-header-center p{color:#6b7280;font-size:1.1rem}.steps-grid{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:2rem;align-items:center;max-width:1200px;margin:0 auto}.step-card{background:#fff;padding:2rem;border-radius:12px;text-align:center;box-shadow:0 4px 12px #00000014;transition:all .3s ease;position:relative}.step-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #667eea26}.step-number{position:absolute;top:-15px;left:50%;transform:translate(-50%);width:40px;height:40px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;box-shadow:0 4px 12px #667eea66}.step-icon{font-size:3.5rem;margin:1.5rem 0 1rem}.step-card h3{color:#1f2937;font-size:1.3rem;margin-bottom:.75rem;font-weight:600}.step-card p{color:#6b7280;line-height:1.6;font-size:.95rem}.step-divider{font-size:2.5rem;color:#667eea;font-weight:300}.why-choose-us{padding:4rem 0;background:#fff}.why-choose-content{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}.section-badge{display:inline-block;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.5rem 1.25rem;border-radius:25px;font-size:.875rem;font-weight:600;margin-bottom:1rem}.why-choose-left h2{font-size:2.25rem;color:#1f2937;margin-bottom:1rem;font-weight:700;line-height:1.3}.lead-text{font-size:1.1rem;color:#6b7280;margin-bottom:2rem;line-height:1.6}.benefits-list{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2.5rem}.benefit-item{display:flex;gap:1rem;align-items:flex-start}.benefit-icon{width:32px;height:32px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;font-size:1.1rem}.benefit-item h4{color:#1f2937;font-size:1.1rem;margin-bottom:.35rem;font-weight:600}.benefit-item p{color:#6b7280;font-size:.95rem;line-height:1.5}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.stat-card{background:linear-gradient(135deg,#fff,#d9cbcb)!important;padding:2rem;border-radius:12px;text-align:center;border:2px solid #e5e7eb;transition:all .3s ease;box-shadow:0 2px 8px #0000000d}.stat-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #667eea26;border-color:#667eea}.stat-number{font-size:2.5rem;font-weight:700;color:#667eea;margin-bottom:.5rem;display:block}.stat-label{color:#1f2937;font-size:.95rem;font-weight:600}.categories-section{padding:4rem 0}.categories-section h2{text-align:center;font-size:2.5rem;color:#1f2937;margin-bottom:2rem}.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.category-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2.5rem;border-radius:10px;text-decoration:none;text-align:center;transition:all .3s;box-shadow:0 4px 12px #0000001a}.category-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #667eea66}.category-card h3{font-size:1.5rem;margin-bottom:.5rem}.category-card p{opacity:.9;font-size:.95rem}.featured-books{padding:4rem 0;background:#f9fafb}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.section-header h2{font-size:2.5rem;color:#1f2937}.view-all{color:#667eea;text-decoration:none;font-weight:600;font-size:1.1rem;transition:color .3s}.view-all:hover{color:#764ba2}.loading-message{text-align:center;padding:3rem;font-size:1.2rem;color:#6b7280}.cta-section{padding:4rem 0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-align:center;position:relative;overflow:hidden}.cta-section:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 1px,transparent 1px);background-size:30px 30px;animation:moveBackground 20s linear infinite}@keyframes moveBackground{0%{transform:translate(0)}to{transform:translate(30px,30px)}}.cta-content{position:relative;z-index:1}.cta-icon{font-size:4rem;margin-bottom:1rem;animation:bounce 2s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.cta-content h2{font-size:2.25rem;margin-bottom:.75rem;font-weight:700;text-shadow:0 2px 10px rgba(0,0,0,.2)}.cta-content p{font-size:1.15rem;margin-bottom:2rem;opacity:.95;max-width:600px;margin-left:auto;margin-right:auto;line-height:1.6}.cta-features{display:flex;justify-content:center;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.cta-feature{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;background:#ffffff26;padding:.65rem 1.25rem;border-radius:25px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.feature-icon{font-size:1.25rem;color:#10b981;background:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}.btn-cta{background:#fff;color:#667eea;padding:1rem 2.5rem;border-radius:50px;font-size:1.1rem;font-weight:700;display:inline-flex;align-items:center;gap:.75rem;box-shadow:0 8px 25px #0003;transition:all .3s ease}.btn-cta:hover{transform:translateY(-3px);box-shadow:0 12px 35px #0000004d;background:#f9fafb}.btn-arrow{font-size:1.5rem;transition:transform .3s ease}.btn-cta:hover .btn-arrow{transform:translate(5px)}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.banner-content span{font-size:.9rem}.banner-content{gap:2rem}.hero-banner{height:500px}.banner-text h1{font-size:2.5rem}.banner-text p{font-size:1.2rem;margin-bottom:2rem}.banner-arrow{width:40px;height:40px;font-size:1.5rem}.banner-arrow.prev{left:10px}.banner-arrow.next{right:10px}.banner-indicators{bottom:20px}.hero-content h1{font-size:2rem}.hero-content p{font-size:1rem}.btn-primary,.btn-secondary,.btn-cta{padding:.875rem 1.5rem;font-size:1rem}.section-header{flex-direction:column;gap:1rem;align-items:flex-start}.section-header h2{font-size:2rem}.books-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.steps-grid{grid-template-columns:1fr;gap:2.5rem}.step-divider{display:none}.why-choose-content{grid-template-columns:1fr;gap:3rem}.why-choose-left h2{font-size:2rem}.cta-section{padding:3rem 0}.cta-icon{font-size:3rem}.cta-content h2{font-size:1.75rem}.cta-content p{font-size:1rem;padding:0 1rem}.cta-features{gap:1rem}.cta-feature{font-size:.9rem;padding:.5rem 1rem}}@media(max-width:480px){.scrolling-banner{padding:.75rem 0}.banner-content span{font-size:.85rem}.banner-content{gap:1.5rem}.hero-banner{height:400px}.banner-text h1{font-size:2rem}.banner-text p{font-size:1rem;margin-bottom:1.5rem}.banner-text{padding:1.5rem}.banner-arrow{width:35px;height:35px;font-size:1.3rem}.banner-indicators{bottom:15px;gap:8px}.indicator{width:10px;height:10px}.indicator.active{width:30px}.hero{padding:3rem 0}.hero-content h1{font-size:1.75rem}.books-grid{grid-template-columns:1fr}.cta-section{padding:2.5rem 0}.cta-icon{font-size:2.5rem}.cta-content h2{font-size:1.5rem}.cta-content p{font-size:.95rem}.cta-features{flex-direction:column;gap:.75rem;align-items:center}.btn-cta{padding:.875rem 2rem;font-size:1rem}.btn-arrow{font-size:1.25rem}.section-header-center h2{font-size:1.5rem}.section-header-center p{font-size:.95rem}.step-card{padding:1.5rem}.step-icon{font-size:2.5rem}.step-card h3{font-size:1.1rem}.why-choose-left h2{font-size:1.5rem}.lead-text,.benefit-item h4{font-size:1rem}.stat-number{font-size:2rem}.stat-card{padding:1.5rem}}.categories-page{min-height:100vh;padding:3rem 0;background:#f9fafb}.page-header h1{font-size:2.5rem;color:#1f2937;margin-bottom:.75rem}.page-header p{font-size:1.1rem;color:#6b7280;max-width:600px;margin:0 auto}.categories-list{display:flex;flex-direction:column;gap:3rem}.category-section{background:#fff;border-radius:15px;padding:2rem;box-shadow:0 2px 8px #0000001a}.category-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.category-header h2{font-size:1.75rem;color:#1f2937;margin:0}.view-all-link{color:#667eea;text-decoration:none;font-weight:600;transition:color .3s}.view-all-link:hover{color:#764ba2}.subcategories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem}.subcategory-card{background:linear-gradient(135deg,#f9fafb,#f3f4f6);border:2px solid #e5e7eb;border-radius:10px;padding:1.5rem;text-decoration:none;text-align:center;transition:all .3s}.subcategory-card:hover{border-color:#667eea;transform:translateY(-3px);box-shadow:0 8px 16px #667eea33}.subcategory-icon{font-size:2.5rem;margin-bottom:.75rem}.subcategory-card h3{font-size:1rem;color:#374151;margin:0;transition:color .3s}.subcategory-card:hover h3{color:#667eea}@media(max-width:768px){.categories-page{padding:2rem 0}.page-header h1{font-size:2rem}.page-header p{font-size:1rem}.category-section{padding:1.5rem}.category-header{flex-direction:column;align-items:flex-start;gap:.75rem}.category-header h2{font-size:1.5rem}.subcategories-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.subcategory-card{padding:1.25rem}}@media(max-width:480px){.subcategories-grid{grid-template-columns:1fr}}.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin:2rem 0;gap:.5rem}.pagination-btn{padding:.5rem .9rem;border:1px solid #ddd;background-color:#fff;color:#333;cursor:pointer;border-radius:4px;font-size:.95rem;transition:all .2s ease-in-out}.pagination-btn:hover:not(:disabled){background-color:#007bff!important;color:#fff;border-color:#007bff}.pagination-btn.active{background-color:#007bff;color:#fff;border-color:#007bff;font-weight:700}.pagination-btn:disabled{cursor:not-allowed;opacity:.5}@media screen and (max-width:480px){.pagination-btn{padding:.4rem .7rem;font-size:.85rem}}.category-page{min-height:100vh;padding:2rem 0;background:#f9fafb}.breadcrumb{display:flex;align-items:center;gap:.5rem;margin-bottom:2rem;font-size:.9rem;color:#6b7280;flex-wrap:wrap}.breadcrumb a{color:#667eea;text-decoration:none;transition:color .3s}.breadcrumb a:hover{color:#764ba2;text-decoration:underline}.breadcrumb span:last-child{color:#1f2937;font-weight:500}.category-page-header{margin-bottom:2rem}.category-page-header h1{font-size:2.5rem;color:#1f2937;margin-bottom:.5rem}.category-page-header p{color:#6b7280;font-size:1.1rem}.subcategories-filter{background:#fff;padding:1.5rem;border-radius:10px;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a}.subcategories-filter h3{font-size:1.1rem;color:#1f2937;margin-bottom:1rem}.subcategory-chips{display:flex;flex-wrap:wrap;gap:.75rem}.subcategory-chip{padding:.6rem 1.25rem;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#374151;text-decoration:none;border-radius:20px;font-weight:500;transition:all .3s;border:2px solid transparent}.subcategory-chip:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transform:translateY(-2px)}.filters-bar{background:#fff;padding:1.5rem;border-radius:10px;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a;display:flex;gap:2rem;flex-wrap:wrap}.filter-group{display:flex;align-items:center;gap:.75rem}.filter-group label{font-weight:600;color:#374151;white-space:nowrap}.filter-group select{padding:.6rem 1rem;border:2px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:.95rem;cursor:pointer;transition:border-color .3s;min-width:180px}.filter-group select:focus{outline:none;border-color:#667eea}.books-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.5rem}.no-books{text-align:center;padding:4rem 2rem;background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a}.no-books p{font-size:1.2rem;color:#6b7280;margin-bottom:1.5rem}.btn-browse{display:inline-block;padding:1rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-decoration:none;border-radius:25px;font-weight:600;transition:transform .3s}.btn-browse:hover{transform:translateY(-3px);box-shadow:0 8px 16px #667eea4d}@media(max-width:768px){.category-page-header h1{font-size:2rem}.filters-bar{flex-direction:column;gap:1rem}.filter-group{width:100%;justify-content:space-between}.filter-group select{flex:1;min-width:auto}.books-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}}@media(max-width:480px){.category-page{padding:1rem 0}.category-page-header h1{font-size:1.75rem}.books-grid{grid-template-columns:1fr}}.book-details-page{min-height:100vh;padding:2rem 0;background:#f9fafb}.book-details-content{display:grid;grid-template-columns:1fr 360px;gap:3rem;background:#fff;padding:2.5rem;border-radius:15px;box-shadow:0 2px 8px #0000001a;margin-bottom:3rem}.book-left{display:flex;flex-direction:column;gap:1.5rem}.book-image-section{position:relative}.book-image-section img{width:100%;border-radius:10px;box-shadow:0 4px 12px #00000026}.book-image-section .discount-badge{position:absolute;top:15px;right:15px;background:#ef4444;color:#fff;padding:.75rem 1.25rem;border-radius:25px;font-size:1rem;font-weight:700}.book-info-section h1{font-size:2.25rem;color:#1f2937;margin-bottom:.5rem}.author{font-size:1.25rem;color:#6b7280;margin-bottom:1.5rem}.book-meta{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;padding:1.25rem;background:#f9fafb;border-radius:10px}.meta-item{display:flex;align-items:center;gap:1rem}.meta-label{font-weight:600;color:#374151;min-width:100px}.condition-tag{padding:.4rem 1rem;border-radius:15px;font-weight:600;font-size:.9rem;color:#fff}.condition-tag.excellent{background:#10b981}.condition-tag.very-good{background:#3b82f6}.condition-tag.good{background:#f59e0b}.condition-tag.fair{background:#ef4444}.price-section{padding:1.5rem 0;border-top:2px solid #e5e7eb;border-bottom:2px solid #e5e7eb;margin-bottom:1.5rem}.current-price{font-size:2.5rem;font-weight:700;color:#10b981;margin-bottom:.5rem}.original-price{color:#6b7280;margin-bottom:.5rem}.original-price span{text-decoration:line-through;font-size:1.25rem}.savings{color:#ef4444;font-weight:600;font-size:1.1rem}.description-section{margin-bottom:2rem}.tabs{background:#f8fafc;padding:1rem;border-radius:10px}.tab-headers{display:flex;gap:.5rem;margin-bottom:1rem}.tab-headers button{background:transparent;border:none;padding:.5rem .75rem;border-radius:8px;cursor:pointer;color:#374151;font-weight:600}.tab-headers button.active{background:#fff;box-shadow:0 4px 10px #6366f114}.tab-body{padding:.25rem}.detail-grid .meta-row{display:flex;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid #e6edf3}.meta-quick{display:flex;gap:1rem;margin:1rem 0;flex-wrap:wrap}.purchase-box{position:sticky;top:90px;align-self:start}.purchase-inner{background:linear-gradient(180deg,#fff,#fbfdff);padding:1.25rem;border-radius:12px;box-shadow:0 8px 24px #0f172a0f}.purchase-inner .title{font-size:1.125rem;margin-bottom:.25rem}.purchase-inner .author{color:#6b7280;margin-bottom:.75rem}.price-row{display:flex;align-items:baseline;gap:1rem}.purchase-inner .current-price{font-size:1.75rem;color:#10b981;font-weight:700}.purchase-inner .original-price span{text-decoration:line-through;color:#6b7280}.description-section h3{font-size:1.25rem;color:#1f2937;margin-bottom:.75rem}.description-section p{line-height:1.8;color:#4b5563}.purchase-section{margin-bottom:2rem}.quantity-selector{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.quantity-selector label{font-weight:600;color:#374151}.quantity-controls{display:flex;align-items:center;border:2px solid #e5e7eb;border-radius:8px;overflow:hidden}.quantity-controls button{width:40px;height:40px;background:#f3f4f6;border:none;cursor:pointer;font-size:1.25rem;color:#374151;transition:background .3s}.quantity-controls button:hover{background:#e5e7eb}.quantity-controls span{min-width:50px;text-align:center;font-weight:600;color:#1f2937}.action-buttons{display:flex;gap:1rem}.btn-add-to-cart,.btn-buy-now{flex:1;padding:1rem;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-add-to-cart{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-add-to-cart:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.btn-buy-now{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.btn-buy-now:hover{transform:translateY(-2px);box-shadow:0 6px 16px #f59e0b66}.features-list{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.feature-item{color:#10b981;font-weight:500}.related-books-section h2{font-size:2rem;color:#1f2937;margin-bottom:1.5rem}.related-books-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.related-book-card{background:#fff;border-radius:10px;overflow:hidden;text-decoration:none;box-shadow:0 2px 8px #0000001a;transition:transform .3s}.related-book-card:hover{transform:translateY(-5px)}.related-book-card img{width:100%;height:250px;object-fit:cover}.related-book-card h4{padding:1rem 1rem .5rem;color:#1f2937;font-size:1rem;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.related-book-card p{padding:0 1rem;color:#6b7280;font-size:.9rem}.related-book-price{padding:.5rem 1rem 1rem;color:#10b981;font-weight:700;font-size:1.25rem}@media(max-width:968px){.book-details-content{grid-template-columns:1fr;gap:2rem;padding:2rem}.book-info-section h1{font-size:1.875rem}.current-price{font-size:2rem}}@media(max-width:768px){.action-buttons{flex-direction:column}.features-list{grid-template-columns:1fr}.related-books-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}@media(max-width:480px){.book-details-content{padding:1.5rem}.book-info-section h1{font-size:1.5rem}.current-price{font-size:1.75rem}.related-books-grid{grid-template-columns:1fr}}.cart-page{min-height:100vh;padding:1.5rem 0;background:#f9fafb}.cart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.cart-header h1{font-size:1.8rem;color:#1f2937}.btn-clear:hover{background:#dc2626;transform:translateY(-2px)}.empty-cart{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.empty-cart-icon{min-width:110px;font-size:5rem;margin-bottom:1.25rem;opacity:.5}.empty-cart h2{font-size:1.5rem;color:#1f2937;margin-bottom:.85rem}.empty-cart p{color:#6b7280;font-size:.95rem;margin-bottom:1.5rem}.btn-browse{display:inline-block;padding:.85rem 1.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-decoration:none;border-radius:20px;font-weight:600;font-size:.9rem;transition:transform .3s}.btn-browse:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.cart-content{display:grid;grid-template-columns:1fr 360px;gap:1.5rem}.cart-items{display:flex;flex-direction:column;gap:1.25rem}.cart-item{display:grid;grid-template-columns:100px 1fr 160px;gap:1.25rem;background:#fff;padding:1.25rem;border-radius:10px;box-shadow:0 2px 8px #00000014;align-items:center}.cart-item-image{width:100px;height:140px;border-radius:8px;overflow:hidden}.cart-item-image img{width:100%;height:100%;object-fit:cover}.cart-item-details{display:flex;flex-direction:column;gap:.4rem}.cart-item-title{font-size:1.05rem;font-weight:600;color:#1f2937;text-decoration:none;transition:color .3s}.cart-item-title:hover{color:#667eea}.cart-item-author{color:#6b7280;margin:0;font-size:.875rem}.cart-item-condition{color:#374151;font-size:.85rem}.cart-item-condition span{font-weight:600;color:#10b981}.cart-item-quantity label{display:block;font-size:.85rem;color:#6b7280;margin-bottom:.4rem}.cart-item-controls{display:flex;gap:12px;align-items:center;justify-content:flex-end}.quantity-controls{display:flex;align-items:center;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.quantity-controls button{width:32px;height:32px;background:#f3f4f6;border:none;cursor:pointer;font-size:1rem;color:#374151;transition:background .3s}.quantity-controls button:hover:not(:disabled){background:#e5e7eb}.quantity-controls button:disabled{opacity:.5;cursor:not-allowed}.quantity-controls span{min-width:36px;text-align:center;font-weight:600;font-size:.9rem;color:#1f2937}.cart-item-price{text-align:right}.item-price{color:#6b7280;margin-bottom:.4rem;font-size:.85rem}.item-total{font-size:1.25rem;font-weight:700;color:#10b981}.btn-remove{background:none;border:none;font-size:1.3rem;cursor:pointer;padding:.4rem;transition:transform .3s}.btn-remove:hover{transform:scale(1.15)}.cart-summary{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 8px #00000014;height:fit-content;position:sticky;top:90px}.cart-summary h2{font-size:1.25rem;color:#1f2937;margin-bottom:1.25rem;font-weight:700}.summary-details{margin-bottom:1.5rem}.summary-row{display:flex;justify-content:space-between;margin-bottom:.85rem;color:#374151;font-size:.9rem}.free-delivery{color:#10b981;font-weight:600}.summary-divider{height:2px;background:#e5e7eb;margin:1.25rem 0}.summary-total{font-size:1.3rem;font-weight:700;color:#1f2937}.btn-checkout{width:100%;padding:.875rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;margin-bottom:.85rem}.btn-checkout:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.btn-continue{display:block;width:100%;padding:.875rem;background:#fff;color:#667eea;border:1px solid #667eea;border-radius:8px;text-align:center;text-decoration:none;font-weight:600;font-size:.9rem;transition:all .3s;margin-bottom:1.25rem}.btn-continue:hover{background:#667eea;color:#fff}.cart-benefits{display:flex;flex-direction:column;gap:.65rem;padding-top:1.25rem;border-top:2px solid #e5e7eb}.benefit-item{color:#10b981;font-weight:500;font-size:.85rem}@media(max-width:1024px){.cart-content{grid-template-columns:1fr}.cart-summary{position:static}}@media(max-width:768px){.cart-header{flex-direction:column;gap:1rem;align-items:flex-start}.cart-header h1{font-size:2rem}.cart-item{grid-template-columns:80px 1fr;grid-template-rows:auto auto;gap:1rem;align-items:start}.cart-item-image{width:80px;height:110px}.cart-item-controls{grid-column:2 / span 1;grid-row:2;width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px}.cart-item-controls .cart-item-price{text-align:right}.cart-item-controls .btn-remove{margin-left:8px}.cart-item-details{min-width:0}.cart-item-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:480px){.cart-page{padding:1rem 0}.cart-header h1{font-size:1.75rem}.cart-item{padding:1rem}.quantity-controls button{width:28px;height:28px;font-size:.95rem}.quantity-controls span{min-width:28px}.cart-summary{padding:1.5rem}}.checkout-page{min-height:100vh;background:linear-gradient(to bottom,#f8f9fa,#e9ecef);padding:1.25rem 0 2.5rem}.checkout-page h1{font-size:1.5rem;margin-bottom:1.25rem;color:#1f2937;font-weight:700;display:flex;align-items:center;gap:.4rem}.checkout-page h1:before{content:"🛍️";font-size:1.3rem}.step-indicator{display:flex;align-items:center;justify-content:center;margin-bottom:1.75rem;padding:1.25rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f}.step{display:flex;flex-direction:column;align-items:center;gap:.4rem;position:relative}.step-number{width:38px;height:38px;border-radius:50%;background:#e9ecef;color:#6b7280;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.95rem;transition:all .3s ease;border:2px solid #e9ecef}.step.active .step-number{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea;box-shadow:0 2px 8px #667eea4d;transform:scale(1.08)}.step.completed .step-number{background:#10b981;color:#fff;border-color:#10b981}.step-label{font-size:.8rem;color:#6b7280;font-weight:600;white-space:nowrap}.step.active .step-label{color:#667eea;font-weight:700}.step.completed .step-label{color:#10b981}.step-line{width:70px;height:2px;background:#e9ecef;margin:0 .85rem;transition:all .3s ease}.step-line.active{background:linear-gradient(90deg,#10b981,#667eea)}.checkout-content{display:grid;grid-template-columns:1fr 360px;gap:1.25rem;align-items:start}.checkout-form{background:#fff;padding:1.25rem;border-radius:12px;box-shadow:0 2px 8px #0000000f;border:1px solid #e9ecef;min-height:450px}.step-content{animation:fadeIn .4s ease}.step-content h2{font-size:1.2rem;color:#1f2937;margin-bottom:1.25rem;font-weight:700;padding-bottom:.6rem;border-bottom:2px solid #f0f0f0}.step-content h3{font-size:.95rem;color:#374151;margin-bottom:.85rem;font-weight:600}.payment-subtitle{color:#6b7280;font-size:.85rem;margin-bottom:1.25rem;margin-top:-.6rem}.order-items-review{display:flex;flex-direction:column;gap:.85rem;margin-bottom:1.25rem;max-height:380px;overflow-y:auto;padding-right:.4rem}.order-item-card{display:flex;gap:.85rem;padding:.85rem;background:#f8f9fa;border-radius:10px;transition:all .3s ease;border:1px solid transparent}.order-item-card:hover{background:#fff;border-color:#667eea;box-shadow:0 2px 8px #667eea1a;transform:translate(3px)}.order-item-card img{width:60px;height:85px;object-fit:cover;border-radius:6px;box-shadow:0 2px 6px #0000001a}.item-info{flex:1;display:flex;flex-direction:column;gap:.3rem}.item-info h4{font-size:.875rem;color:#1f2937;font-weight:600;margin:0;line-height:1.3}.item-author{font-size:.75rem;color:#6b7280;margin:0}.item-meta{display:flex;gap:.75rem;font-size:.7rem;color:#6b7280}.item-condition{background:#e0e7ff;padding:.1rem .4rem;border-radius:5px;color:#4338ca;font-weight:600}.item-qty{background:#fef3c7;padding:.1rem .4rem;border-radius:5px;color:#92400e;font-weight:600}.item-info .item-price{font-weight:700;color:#10b981;font-size:.85rem;margin-top:auto}.step-summary{background:linear-gradient(135deg,#667eea15,#764ba215);padding:1rem;border-radius:10px;margin-bottom:1.25rem}.step-summary .summary-row{display:flex;justify-content:space-between;margin-bottom:.6rem;font-size:.85rem;color:#374151}.step-summary .summary-row.total{font-size:1.1rem;font-weight:700;color:#1f2937;margin-top:.85rem;padding-top:.85rem;border-top:2px solid #e9ecef}.step-summary .summary-row.total span:last-child{background:linear-gradient(135deg,#667eea,#764ba2);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.step-actions{display:flex;gap:.85rem;margin-top:1.5rem;align-items:center}.btn-next,.btn-previous,.btn-place-order{flex:1;padding:.75rem 1.25rem;border:none;border-radius:10px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap;min-height:44px;display:flex;align-items:center;justify-content:center}.btn-next{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.btn-next:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-previous{background:#fff;color:#667eea;border:1px solid #667eea!important}.btn-previous:hover{background:#f8f9ff;transform:translateY(-2px)}.order-final-summary{background:#f8f9fa;padding:1rem;border-radius:10px;margin:1.25rem 0}.order-final-summary h3{font-size:.95rem;margin-bottom:.85rem;color:#1f2937;font-weight:600}.summary-details .summary-row{display:flex;justify-content:space-between;margin-bottom:.5rem;font-size:.85rem;color:#374151}.summary-details .summary-row.total{font-size:1.05rem;font-weight:700;margin-top:.75rem;padding-top:.75rem;border-top:2px solid #e9ecef;color:#10b981}.form-section{margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px dashed #e9ecef}.form-section:last-of-type{border-bottom:none;margin-bottom:0}.form-section h2{font-size:.95rem;color:#1f2937;margin-bottom:.85rem;font-weight:600;display:flex;align-items:center;gap:.4rem;padding:.4rem .6rem;background:linear-gradient(135deg,#667eea,#764ba2);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.form-group{margin-bottom:.85rem}.form-group label{display:block;margin-bottom:.35rem;color:#374151;font-weight:500;font-size:.8rem}.form-group input,.form-group textarea{width:100%;padding:.6rem .75rem;border:1px solid #e0e0e0;border-radius:8px;font-size:.85rem;transition:all .3s ease;background:#fafafa}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a;transform:translateY(-1px)}.form-group input.error,.form-group textarea.error{border-color:#ef4444;background:#fef2f2}.form-group input:disabled{background:#f3f4f6;cursor:not-allowed;opacity:.7}.error-message{display:block;color:#ef4444;font-size:.7rem;margin-top:.2rem;font-weight:500}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.payment-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.85rem;margin-bottom:1.25rem}.payment-option{display:flex;align-items:center;padding:1rem;border:1px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .3s ease;background:#fff;position:relative;overflow:hidden;box-shadow:0 2px 6px #0000000a}.payment-option:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#667eea0d,#764ba20d);opacity:0;transition:opacity .3s ease}.payment-option:after{content:"";position:absolute;top:0;left:0;width:5px;height:100%;background:linear-gradient(135deg,#667eea,#764ba2);transform:scaleY(0);transition:transform .3s ease}.payment-option:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 4px 12px #667eea26}.payment-option:hover:before{opacity:1}.payment-option:hover:after{transform:scaleY(1)}.payment-option input[type=radio]{width:20px;height:20px;margin-right:.85rem;cursor:pointer;accent-color:#667eea;flex-shrink:0}.payment-option input[type=radio]:checked{transform:scale(1.08)}.payment-option input[type=radio]:checked~.payment-details strong{background:linear-gradient(135deg,#667eea,#764ba2);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.payment-option input[type=radio]:checked~.payment-details{position:relative}.payment-option:has(input[type=radio]:checked){border-color:#667eea;background:linear-gradient(135deg,#667eea14,#764ba214);box-shadow:0 2px 10px #667eea40}.payment-option:has(input[type=radio]:checked):after{transform:scaleY(1)}.payment-details{display:flex;flex-direction:column;gap:.25rem;flex:1}.payment-details strong{font-size:.9rem;color:#1f2937;font-weight:700;display:flex;align-items:center;gap:.4rem}.payment-icon{font-size:1.3rem;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-radius:8px;transition:all .3s ease}.payment-option:hover .payment-icon{background:linear-gradient(135deg,#667eea15,#764ba215);transform:scale(1.08)}.payment-option:has(input[type=radio]:checked) .payment-icon{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #667eea4d;transform:scale(1.1)}.payment-details span{font-size:.75rem;color:#6b7280;font-weight:500}.btn-place-order{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;box-shadow:0 4px 12px #10b9814d;position:relative;overflow:hidden}.btn-place-order:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#ffffff4d;border-radius:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s}.btn-place-order:hover:before{width:300px;height:300px}.btn-place-order:hover{transform:translateY(-2px)!important;box-shadow:0 8px 20px #10b98166!important}.btn-place-order:active{transform:translateY(0)!important}.btn-place-order:disabled,.btn-previous:disabled,.btn-next:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.btn-place-order:disabled:hover,.btn-previous:disabled:hover,.btn-next:disabled:hover{transform:none!important;box-shadow:none!important}.order-summary{background:#fff;padding:1.5rem;border-radius:16px;box-shadow:0 4px 12px #00000014;border:1px solid #e9ecef;position:sticky;top:1.5rem}.order-summary h2{font-size:1.1rem;margin-bottom:1.25rem;color:#1f2937;font-weight:700;padding-bottom:.75rem;border-bottom:2px solid #f3f4f6;display:flex;align-items:center;gap:.5rem}.order-summary h2:before{content:"📦";font-size:1.25rem}.order-items{max-height:280px;overflow-y:auto;margin-bottom:1.25rem;padding-right:.5rem}.order-items::-webkit-scrollbar{width:5px}.order-items::-webkit-scrollbar-track{background:#f8f9fa;border-radius:10px}.order-items::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px}.order-items::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.order-item{display:flex;gap:.875rem;margin-bottom:.875rem;padding-bottom:.875rem;border-bottom:1px dashed #f0f0f0;transition:all .3s ease}.order-item:hover{transform:translate(4px)}.order-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.order-item img{width:55px;height:75px;object-fit:cover;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.order-item:hover img{box-shadow:0 4px 12px #00000026;transform:scale(1.05)}.item-details h4{font-size:.875rem;color:#1f2937;margin-bottom:.25rem;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-details p{font-size:.75rem;color:#6b7280;margin-bottom:.375rem}.item-price{font-weight:700;background:linear-gradient(135deg,#10b981,#059669);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:.9rem}.order-totals{border-top:2px solid #f0f0f0;padding-top:1rem}.total-row{display:flex;justify-content:space-between;margin-bottom:.625rem;color:#6b7280;font-size:.875rem;align-items:center}.total-row span:first-child{font-weight:500}.total-row span:last-child{font-weight:600;color:#374151}.total-row.grand-total{font-size:1.15rem;font-weight:700;color:#1f2937;margin-top:.875rem;padding-top:.875rem;border-top:3px solid #e9ecef;background:linear-gradient(135deg,#667eea15,#764ba215);padding:.875rem;border-radius:10px;margin-bottom:0}.total-row.grand-total span:last-child{background:linear-gradient(135deg,#667eea,#764ba2);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:1.25rem}.free-shipping-note{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.5rem .75rem;border-radius:8px;font-size:.75rem;text-align:center;margin:.5rem 0;font-weight:600;box-shadow:0 2px 8px #10b9814d}.trust-badges{display:flex;flex-direction:column;gap:.5rem;margin-top:1.25rem;padding-top:1.25rem;border-top:2px dashed #f0f0f0}.trust-badges .badge{display:flex;align-items:center;gap:.5rem;color:#6b7280;font-size:.75rem;font-weight:500;padding:.375rem .5rem;background:#f8f9fa;border-radius:6px;transition:all .3s ease}.trust-badges .badge:hover{background:#e9ecef;transform:translate(4px)}.trust-badges .badge:before{content:"✓";color:#10b981;font-weight:700;font-size:.875rem}.empty-cart{text-align:center;padding:3rem 2rem;background:#fff;border-radius:16px;box-shadow:0 4px 12px #00000014}.empty-cart h2{font-size:1.4rem;color:#1f2937;margin-bottom:.75rem;font-weight:700}.empty-cart p{color:#6b7280;margin-bottom:1.5rem;font-size:.95rem}.login-required-icon{font-size:4rem;margin-bottom:1rem;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.btn-primary{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.9rem;box-shadow:0 4px 12px #667eea4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.btn-secondary{padding:.75rem 1.5rem;background:#fff;color:#667eea;border:2px solid #667eea;border-radius:10px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.9rem}.btn-secondary:hover{background:#f8f9ff;transform:translateY(-2px)}@media(max-width:1024px){.checkout-content{grid-template-columns:1fr}.order-summary{position:static;margin-top:1rem}}@media(max-width:768px){.checkout-page{padding:1rem 0 2rem}.checkout-form,.order-summary{padding:1.25rem}.form-row{grid-template-columns:1fr}.checkout-page h1{font-size:1.4rem}.form-section h2{font-size:1rem}.order-item img{width:50px;height:70px}.payment-methods{grid-template-columns:1fr}.step-indicator{padding:1rem;margin-bottom:1.5rem}.step-number{width:40px;height:40px;font-size:1rem}.step-label{font-size:.75rem}.step-line{width:40px;margin:0 .5rem}.step-actions{flex-direction:column;gap:.75rem}.btn-next,.btn-previous,.btn-place-order{width:100%}}.sell-book-page{min-height:100vh;padding:1.5rem 0;background:#f9fafb}.login-required-banner{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;border-radius:10px;padding:1.25rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem;box-shadow:0 2px 8px #f59e0b26}.login-required-banner .icon{font-size:1.75rem;flex-shrink:0}.login-required-banner .content{flex:1}.login-required-banner h3{font-size:1rem;color:#92400e;margin-bottom:.2rem;font-weight:600}.login-required-banner p{color:#78350f;font-size:.875rem;margin:0}.login-required-banner .btn-banner-login{padding:.55rem 1.25rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .3s;flex-shrink:0;box-shadow:0 2px 6px #f59e0b40}.login-required-banner .btn-banner-login:hover{transform:translateY(-1px);box-shadow:0 3px 10px #f59e0b59}.form-disabled{opacity:.6;pointer-events:none;-webkit-user-select:none;user-select:none}.form-disabled input,.form-disabled select,.form-disabled textarea{background-color:#f3f4f6!important;cursor:not-allowed!important;color:#9ca3af!important}.login-prompt-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:1.5rem;animation:fadeIn .3s ease}.login-prompt-modal{background:#fff;border-radius:12px;padding:2rem;max-width:420px;width:100%;position:relative;box-shadow:0 15px 50px #00000040;animation:slideUp .3s ease;text-align:center}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.close-prompt{position:absolute;top:.75rem;right:.75rem;background:none;border:none;font-size:1.75rem;color:#9ca3af;cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s}.close-prompt:hover{background:#f3f4f6;color:#1f2937}.prompt-icon{font-size:3.5rem;margin-bottom:.85rem}.login-prompt-modal h2{font-size:1.5rem;color:#1f2937;margin-bottom:.65rem}.login-prompt-modal p{color:#6b7280;font-size:.95rem;margin-bottom:1.75rem}.prompt-actions{display:flex;gap:.85rem;justify-content:center}.btn-login{padding:.75rem 1.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s}.btn-login:hover{transform:translateY(-1px);box-shadow:0 6px 16px #667eea59}.btn-cancel{padding:.75rem 1.75rem;background:#f3f4f6;color:#6b7280;border:none;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s}.sell-hero{text-align:center;padding:2.25rem 1.5rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-radius:12px;margin-bottom:2rem}.sell-hero h1{font-size:2rem;margin-bottom:.6rem}.sell-hero p{font-size:1.05rem;opacity:.95}.welcome-seller{margin-top:.4rem;font-size:1rem;font-weight:600}.tab-navigation{display:flex;gap:1rem;margin-bottom:2rem;background:#fff;padding:.5rem;border-radius:10px;box-shadow:0 2px 6px #00000014}.tab-btn{flex:1;padding:.75rem 1.5rem;background:transparent;border:none;border-radius:8px;font-size:.95rem;font-weight:600;color:#6b7280;cursor:pointer;transition:all .3s}.tab-btn:hover{background:#f3f4f6;color:#374151}.tab-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.sell-content{display:grid;grid-template-columns:360px 1fr;gap:1.5rem}.sell-info{display:flex;flex-direction:column;gap:1.25rem}.sell-info>h2{font-size:1.5rem;color:#1f2937;margin-bottom:.4rem}.info-card{background:#fff;padding:1.25rem;border-radius:10px;box-shadow:0 2px 6px #00000014;transition:transform .3s}.info-card:hover{transform:translateY(-2px)}.info-icon{font-size:2.25rem;margin-bottom:.65rem}.info-card h3{font-size:1.1rem;color:#1f2937;margin-bottom:.4rem}.info-card p{color:#6b7280;font-size:.9rem;line-height:1.5}.selling-tips{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.25rem;border-radius:10px}.selling-tips h3{font-size:1.1rem;margin-bottom:.85rem}.selling-tips ul{list-style:none;padding:0;margin:0}.selling-tips li{padding:.4rem 0;font-size:.9rem;opacity:.95}.sell-form-container{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 6px #00000014}.sell-form-container h2{font-size:1.5rem;color:#1f2937;margin-bottom:1.5rem}.sell-form{display:flex;flex-direction:column;gap:1.25rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-weight:600;font-size:.875rem;color:#374151}.form-group input,.form-group select,.form-group textarea{padding:.7rem .85rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;transition:border-color .3s;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group select:disabled{background:#f3f4f6;cursor:not-allowed}.form-group textarea{resize:vertical;min-height:100px}.file-upload{border:1px dashed #d1d5db;border-radius:8px;padding:1.5rem;text-align:center;background:#f9fafb}.file-upload input[type=file]{margin-bottom:.4rem;font-size:.875rem}.file-help{color:#6b7280;font-size:.85rem;margin:.4rem 0 0}.btn-submit{padding:1rem 1.75rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;margin-top:.75rem}.btn-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 14px #10b98159}.btn-submit:disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);cursor:not-allowed;opacity:.7}.my-listings-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 6px #00000014}.listings-header{margin-bottom:2rem;text-align:center}.listings-header h2{font-size:1.75rem;color:#1f2937;margin-bottom:.5rem}.listings-header p{color:#6b7280;font-size:.95rem}.loading-state{text-align:center;padding:3rem 1rem}.spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.loading-state p{color:#6b7280;font-size:.95rem}.empty-listings{text-align:center;padding:4rem 2rem}.empty-icon{font-size:5rem;margin-bottom:1rem;opacity:.5}.empty-listings h3{font-size:1.5rem;color:#1f2937;margin-bottom:.5rem}.empty-listings p{color:#6b7280;font-size:.95rem;margin-bottom:1.5rem}.btn-list-first{padding:.85rem 1.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-list-first:hover{transform:translateY(-1px);box-shadow:0 6px 16px #667eea59}.listings-table-container{overflow-x:auto;background:#fff;border-radius:10px;border:1px solid #e5e7eb}.listings-table{width:100%;border-collapse:collapse;font-size:.9rem}.listings-table thead{background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-bottom:2px solid #e5e7eb}.listings-table th{padding:1rem 1.25rem;text-align:left;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.listings-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .2s}.listings-table tbody tr:hover{background-color:#f9fafb}.listings-table tbody tr:last-child{border-bottom:none}.listings-table td{padding:1rem 1.25rem;color:#1f2937;vertical-align:middle}.book-cell{min-width:220px}.book-info{display:flex;align-items:center;gap:.85rem}.book-image-small{width:40px;height:55px;flex-shrink:0;border-radius:6px;overflow:hidden;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);display:flex;align-items:center;justify-content:center;border:1px solid #e5e7eb}.book-image-small img{width:100%;height:100%;object-fit:cover}.book-icon{font-size:1.5rem}.book-title{font-weight:500;color:#1f2937;line-height:1.4}.condition-badge{display:inline-block;padding:.35rem .75rem;background:#f3f4f6;color:#374151;border-radius:6px;font-size:.85rem;font-weight:500;text-transform:capitalize}.price-cell{font-weight:700;color:#059669;font-size:1.05rem}.listings-table .status-badge{display:inline-block;padding:.35rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600}.listings-table .status-badge.active{background:#d1fae5;color:#059669}.listings-table .status-badge.sold{background:#fee2e2;color:#dc2626}.listings-table .status-badge.pending{background:#fef3c7;color:#d97706}.actions-cell{white-space:nowrap}.actions-cell button{padding:.5rem .65rem;border:none;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .2s;margin-right:.4rem}.actions-cell button:last-child{margin-right:0}.btn-edit-small{background:#f3f4f6;color:#374151}.btn-edit-small:hover{background:#e5e7eb;transform:scale(1.1)}.btn-delete-small{background:#fee2e2;color:#dc2626}.btn-delete-small:hover{background:#fecaca;transform:scale(1.1)}@media(max-width:1024px){.sell-content{grid-template-columns:1fr}.sell-info{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.sell-info>h2{grid-column:1 / -1}.selling-tips{grid-column:1 / -1}}@media(max-width:768px){.sell-hero{padding:1.75rem 1.25rem}.sell-hero h1{font-size:1.75rem}.sell-hero p{font-size:.95rem}.sell-info{grid-template-columns:1fr}.sell-form-container{padding:1.5rem}.form-row{grid-template-columns:1fr}.tab-navigation{flex-direction:column;gap:.5rem}.my-listings-section{padding:1.5rem}.listings-table-container{border-radius:0;border-left:none;border-right:none}.listings-table{font-size:.85rem}.listings-table th,.listings-table td{padding:.75rem .85rem}.book-cell{min-width:180px}.book-image-small{width:35px;height:48px}.book-icon{font-size:1.25rem}.listings-table th:nth-child(3),.listings-table td:nth-child(3),.listings-table th:nth-child(7),.listings-table td:nth-child(7){display:none}}@media(max-width:480px){.sell-book-page{padding:1rem 0}.sell-hero{padding:1.5rem 1rem}.sell-hero h1{font-size:1.5rem}.sell-form-container{padding:1.25rem}.btn-submit{padding:.875rem 1.5rem}.my-listings-section{padding:1.25rem}.listings-table{font-size:.8rem}.listings-table th,.listings-table td{padding:.65rem}.listings-table th:nth-child(4),.listings-table td:nth-child(4){display:none}.book-cell{min-width:140px}.book-info{gap:.5rem}.actions-cell button{padding:.4rem .5rem;font-size:.9rem}}.search-page{padding:2rem 0;min-height:60vh}.search-header{margin-bottom:2rem;text-align:center}.search-header h1{font-size:2.5rem;color:#1f2937;margin-bottom:.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.search-query{font-size:1.1rem;color:#6b7280}.search-query strong{color:#667eea;font-weight:600}.results-count{margin-bottom:1.5rem;padding:1rem;background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:10px;text-align:center;font-weight:600;color:#667eea;font-size:1.1rem}.search-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2rem;margin-bottom:3rem}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:1rem}.spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading p{color:#6b7280;font-size:1.1rem}.error-message{text-align:center;padding:3rem 2rem;background:#fef2f2;border-radius:12px;border:2px solid #fecaca}.error-message p{color:#ef4444;font-size:1.1rem;margin-bottom:1.5rem;font-weight:500}.btn-retry{padding:.75rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.btn-retry:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.no-results{text-align:center;padding:4rem 2rem}.no-results-icon{font-size:5rem;margin-bottom:1rem;opacity:.5}.no-results h2{font-size:2rem;color:#1f2937;margin-bottom:1rem}.no-results p{font-size:1.1rem;color:#6b7280;margin-bottom:2rem}.suggestions{max-width:500px;margin:0 auto;padding:2rem;background:#f9fafb;border-radius:15px;text-align:left}.suggestions h3{font-size:1.3rem;color:#1f2937;margin-bottom:1rem;text-align:center}.suggestions ul{list-style:none;padding:0}.suggestions li{color:#4b5563;font-size:1rem;position:relative;padding:.5rem 0 .5rem 1.5rem}.suggestions li:before{content:"✓";position:absolute;left:0;color:#667eea;font-weight:700}.suggestions a{color:#667eea;font-weight:600;text-decoration:underline}.suggestions a:hover{color:#764ba2}@media(max-width:768px){.search-header h1{font-size:2rem}.search-query{font-size:1rem}.search-results{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.no-results{padding:3rem 1rem}.no-results-icon{font-size:4rem}.no-results h2{font-size:1.5rem}}@media(max-width:480px){.search-header h1{font-size:1.75rem}.search-results{grid-template-columns:1fr;gap:1rem}.suggestions{padding:1.5rem}}.profile-page{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:1.5rem 0}.profile-layout{display:grid;grid-template-columns:260px 1fr;gap:1.5rem;align-items:start}.profile-sidebar{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #00000014;position:sticky;top:90px}.profile-header{text-align:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #f0f0f0}.profile-avatar{width:70px;height:70px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:2rem;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto .75rem;box-shadow:0 4px 12px #667eea4d}.profile-header h2{font-size:1.2rem;color:#1f2937;margin-bottom:.3rem}.profile-header p{color:#6b7280;font-size:.8rem}.profile-nav{display:flex;flex-direction:column;gap:.4rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:transparent;border:none;border-radius:8px;font-size:.9rem;color:#4b5563;cursor:pointer;transition:all .3s;text-align:left;font-weight:500}.nav-item:hover{background:#f3f4f6;color:#667eea;transform:translate(3px)}.nav-item.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.nav-item.active .nav-icon{transform:scale(1.1)}.nav-item.logout{margin-top:.75rem;color:#ef4444;border-top:1px solid #f0f0f0;padding-top:1rem}.nav-item.logout:hover{background:#fef2f2;color:#dc2626}.nav-icon{font-size:1.1rem;transition:transform .3s}.profile-content{background:#fff;border-radius:12px;padding:1.75rem;box-shadow:0 4px 12px #00000014;min-height:500px}.tab-content h1{font-size:1.5rem;color:#1f2937;margin-bottom:.3rem}.subtitle{color:#6b7280;font-size:.9rem;margin-bottom:1.5rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);padding:1.25rem;border-radius:12px;display:flex;align-items:center;gap:.85rem;color:#fff;box-shadow:0 4px 12px #667eea40;transition:transform .3s}.stat-card:hover{transform:translateY(-3px)}.stat-icon{font-size:2rem;opacity:.9}.stat-info h3{font-size:1.5rem;margin-bottom:.15rem;font-weight:700}.stat-info p{font-size:.8rem;opacity:.9}.recent-section h2{font-size:1.25rem;color:#1f2937;margin-bottom:1rem}.orders-list{display:flex;flex-direction:column;gap:.75rem}.order-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f9fafb;border-radius:10px;border:1px solid #e5e7eb;transition:all .3s}.order-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.order-info h3{font-size:.95rem;color:#1f2937;margin-bottom:.15rem;font-weight:600}.order-info p{color:#6b7280;font-size:.8rem}.order-status{text-align:right}.status-badge{display:inline-block;padding:.35rem .85rem;border-radius:18px;font-size:.75rem;font-weight:600;margin-bottom:.35rem}.status-badge.delivered{background:#d1fae5;color:#065f46}.status-badge.in-transit{background:#dbeafe;color:#1e40af}.status-badge.pending{background:#fef3c7;color:#92400e}.order-total{font-size:.95rem;font-weight:700;color:#667eea}.orders-full-list{display:flex;flex-direction:column;gap:1rem}.order-card{background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;transition:all .3s}.order-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1f}.order-card-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:#fff;border-bottom:1px solid #e5e7eb}.order-card-header h3{font-size:1rem;color:#1f2937;margin-bottom:.15rem;font-weight:600}.order-card-body{padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}.order-details p{margin-bottom:.35rem;color:#4b5563;font-size:.85rem}.order-actions{display:flex;gap:1rem}.wishlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}.wishlist-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014;transition:all .3s}.wishlist-card:hover{transform:translateY(-3px);box-shadow:0 4px 12px #0000001f}.wishlist-card img{width:100%;height:260px;object-fit:cover}.wishlist-info{padding:1.25rem}.wishlist-info h3{font-size:.95rem;color:#1f2937;margin-bottom:.35rem;font-weight:600}.book-author{color:#6b7280;font-size:.8rem;margin-bottom:.6rem}.book-price{font-size:1.1rem;font-weight:700;color:#667eea;margin-bottom:.85rem}.wishlist-actions{display:flex;gap:.6rem}.wishlist-actions .btn-primary{flex:1;font-size:.85rem;padding:.65rem 1rem}.btn-remove{padding:.65rem .85rem;background:#fef2f2;color:#ef4444;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .3s}.btn-remove:hover{background:#ef4444;color:#fff}.settings-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.btn-edit{padding:.6rem 1.1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .3s}.btn-edit:hover{transform:translateY(-2px);box-shadow:0 3px 10px #667eea4d}.settings-form{display:flex;flex-direction:column;gap:1.25rem}.form-section{background:#f9fafb;padding:1.25rem;border-radius:10px;border:1px solid #e5e7eb}.form-section h2{font-size:1.05rem;color:#1f2937;margin-bottom:1rem;font-weight:600}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.form-field{display:flex;flex-direction:column;gap:.4rem}.form-field.full-width{grid-column:1 / -1}.form-field label{font-weight:600;color:#374151;font-size:.8rem}.form-field input,.form-field textarea{padding:.7rem .85rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;transition:all .3s;font-family:inherit}.form-field input:focus,.form-field textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-field input:disabled,.form-field textarea:disabled{background:#f3f4f6;cursor:not-allowed}.form-actions{display:flex;gap:.75rem;margin-top:.75rem}.btn-save{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .3s}.btn-save:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-cancel{padding:.75rem 1.5rem;background:#f3f4f6;color:#6b7280;border:none;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .3s}.btn-cancel:hover{background:#e5e7eb}.btn-outline{padding:.65rem 1.25rem;background:#fff;color:#667eea;border:1px solid #667eea;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .3s}.btn-outline:hover{background:#667eea;color:#fff}.danger-zone{border-color:#fee2e2;background:#fef2f2}.danger-zone h2{color:#dc2626}.danger-actions{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#fff;border-radius:10px;margin-bottom:.75rem}.danger-actions:last-child{margin-bottom:0}.danger-actions h3{font-size:.95rem;color:#1f2937;margin-bottom:.15rem;font-weight:600}.danger-actions p{color:#6b7280;font-size:.8rem}.btn-danger{padding:.65rem 1.25rem;background:#ef4444;color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .3s}.btn-danger:hover{background:#dc2626;transform:translateY(-2px);box-shadow:0 3px 10px #ef44444d}@media(max-width:1024px){.profile-layout{grid-template-columns:1fr}.profile-sidebar{position:relative;top:0}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.profile-content{padding:1.5rem}.stats-grid{grid-template-columns:1fr}.order-card-body{flex-direction:column;align-items:flex-start;gap:1rem}.order-actions{width:100%;flex-direction:column}.order-actions button{width:100%}.wishlist-grid,.form-grid{grid-template-columns:1fr}.danger-actions{flex-direction:column;align-items:flex-start;gap:1rem}.danger-actions button{width:100%}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease-in}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:100%;box-shadow:0 10px 40px #0003;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:1.25rem;color:#1f2937;margin:0}.modal-close{background:none;border:none;font-size:1.75rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.modal-close:hover{background:#f3f4f6;color:#1f2937}.modal-body{padding:1.5rem}.modal-footer{display:flex;gap:.75rem;padding:1.25rem 1.5rem;border-top:1px solid #e5e7eb;justify-content:flex-end}.password-modal .form-field{margin-bottom:1rem}.password-modal .form-field:last-child{margin-bottom:0}.password-modal label{display:block;margin-bottom:.4rem;font-size:.875rem;font-weight:500;color:#374151}.password-modal input{width:100%;padding:.65rem .85rem;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;transition:all .2s;font-family:inherit}.password-modal input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.password-modal input:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.6}.alert{padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.875rem;font-weight:500}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.modal-footer .btn-cancel{padding:.65rem 1.25rem;border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.modal-footer .btn-cancel:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.modal-footer .btn-cancel:disabled{opacity:.5;cursor:not-allowed}.modal-footer .btn-primary{padding:.65rem 1.25rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.modal-footer .btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.modal-footer .btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}@media(max-width:768px){.modal-content{margin:1rem;max-width:calc(100% - 2rem)}.modal-footer{flex-direction:column}.modal-footer button{width:100%}}.orders-page{padding:3rem 0;min-height:80vh;background:linear-gradient(180deg,#f8f9ff,#fff);width:100%}.page-header{text-align:center;margin-bottom:3rem}.page-header h1{font-size:2.5rem;color:#1f2937;margin-bottom:.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800;letter-spacing:-.5px}.page-header p{color:#6b7280;font-size:1.1rem;font-weight:500}.orders-container{max-width:98%;width:100%;margin:0 auto;padding:0 10px}.table-responsive{width:100%;overflow-x:visible;-webkit-overflow-scrolling:touch;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;border:1px solid #e5e7eb}.orders-table{width:100%;border-collapse:collapse;background:#fff;min-width:auto;table-layout:fixed}.orders-table thead th{text-align:left;padding:14px 8px;background:linear-gradient(135deg,#667eea,#764ba2);font-weight:700;color:#fff;font-size:.75rem;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;position:sticky;top:0;z-index:10}.orders-table thead th:nth-child(1){width:8%}.orders-table thead th:nth-child(2){width:8%}.orders-table thead th:nth-child(3){width:10%}.orders-table thead th:nth-child(4){width:8%}.orders-table thead th:nth-child(5){width:12%}.orders-table thead th:nth-child(6){width:8%}.orders-table thead th:nth-child(7){width:6%}.orders-table thead th:nth-child(8){width:10%}.orders-table thead th:nth-child(9){width:7%}.orders-table thead th:nth-child(10){width:7%}.orders-table thead th:nth-child(11){width:5%}.orders-table thead th:nth-child(12){width:11%}.orders-table thead th:first-child{border-top-left-radius:16px}.orders-table thead th:last-child{border-top-right-radius:16px}.orders-table tbody td{padding:12px 8px;border-bottom:1px solid #f3f4f6;vertical-align:middle;color:#374151;font-size:.8rem;overflow:hidden;text-overflow:ellipsis}.orders-table tbody td>div{white-space:normal;word-wrap:break-word;overflow-wrap:break-word}.orders-table tbody tr{transition:all .2s ease}.orders-table tbody tr:hover{background:linear-gradient(90deg,#f8f9ff,#fff);transform:scale(1.002)}.orders-table tbody tr:last-child td{border-bottom:none}.orders-table .mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Roboto Mono,monospace;color:#667eea;font-weight:700;font-size:.75rem;background:#f0f4ff;padding:4px 8px;border-radius:6px;display:inline-block;word-break:break-all}.orders-table .actions-col{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.orders-table .actions-col .btn-secondary{background:#fff;color:#667eea;border:2px solid #667eea;padding:5px 8px;border-radius:6px;font-weight:600;font-size:.7rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;flex:1;min-width:50px}.orders-table .actions-col .btn-secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.orders-table .actions-col .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:5px 8px;border-radius:6px;font-weight:600;font-size:.7rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;box-shadow:0 2px 8px #667eea33;flex:1;min-width:70px}.orders-table .actions-col .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.orders-table tbody td img{border-radius:6px;border:2px solid #e5e7eb;transition:all .3s ease;box-shadow:0 2px 8px #0000001a;max-width:50px;height:auto}.orders-table tbody td img:hover{transform:scale(1.05);border-color:#667eea;box-shadow:0 4px 12px #667eea4d}@media(min-width:1400px){.orders-container{max-width:99%}.orders-table thead th{padding:16px 10px;font-size:.8rem}.orders-table tbody td{padding:14px 10px;font-size:.85rem}.orders-table .actions-col .btn-secondary,.orders-table .actions-col .btn-primary{padding:6px 10px;font-size:.75rem}}@media(min-width:1200px)and (max-width:1399px){.orders-container{max-width:98%}.orders-table thead th{padding:14px 8px;font-size:.75rem}.orders-table tbody td{padding:12px 8px;font-size:.8rem}}.order-box{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #00000014;border:1px solid #e5e7eb;transition:all .3s}.order-box:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1f}.order-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-bottom:1px solid #e5e7eb}.order-id-section h2{font-size:1.05rem;color:#1f2937;margin-bottom:.15rem;font-weight:600}.order-date{color:#6b7280;font-size:.8rem}.order-status-section{text-align:right}.status{display:inline-block;padding:.35rem .9rem;border-radius:20px;font-weight:600;font-size:.75rem;margin-bottom:.3rem}.status.delivered{background:#d1fae5;color:#065f46}.status.in-transit{background:#dbeafe;color:#1e40af}.status.pending{background:#fef3c7;color:#92400e}.status.cancelled{background:#fee2e2;color:#991b1b}.order-amount{font-size:1.1rem;font-weight:700;color:#667eea}.order-items{padding:1.25rem;display:flex;flex-direction:column;gap:.9rem}.order-item{display:flex;gap:1rem;align-items:center;padding:.75rem;background:#f9fafb;border-radius:8px;transition:all .3s}.order-item:hover{background:#f3f4f6}.order-item img{width:60px;height:85px;object-fit:cover;border-radius:6px;box-shadow:0 2px 6px #0000001a}.item-details{flex:1}.item-details h3{font-size:.95rem;color:#1f2937;margin-bottom:.15rem;font-weight:600}.item-details .author{color:#6b7280;font-size:.8rem;margin-bottom:.3rem}.item-details .quantity{color:#4b5563;font-size:.75rem;font-weight:600}.item-price{text-align:right}.item-price p{font-size:1rem;font-weight:700;color:#667eea}.order-details-summary{padding:1rem 1.25rem;background:#f9fafb;border-top:1px solid #e5e7eb}.order-info{display:flex;flex-direction:column;gap:.4rem}.order-info p{color:#4b5563;font-size:.85rem;margin:0}.order-info strong{color:#1f2937;font-weight:600}.order-footer{display:flex;gap:.75rem;padding:1rem 1.25rem;background:#f9fafb;border-top:1px solid #e5e7eb}.order-footer button{flex:1}.loading{text-align:center;padding:5rem;font-size:1.5rem;color:#667eea;font-weight:600}.loading:after{content:"...";animation:dots 1.5s steps(3,end) infinite}@keyframes dots{0%,20%{content:"."}40%{content:".."}60%,to{content:"..."}}.error-message{text-align:center;padding:2.5rem;background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border-radius:16px;margin:2rem 0;border:2px solid #fca5a5;font-weight:600;font-size:1.1rem}.no-orders{text-align:center;padding:5rem 2rem;background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;margin:2rem 0}.no-orders-icon{font-size:6rem;margin-bottom:1.5rem;opacity:.6;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.no-orders h2{font-size:2.2rem;color:#1f2937;margin-bottom:1rem;font-weight:700}.no-orders p{font-size:1.2rem;color:#6b7280;margin-bottom:2.5rem;font-weight:500}.no-orders .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:14px 32px;border-radius:12px;font-weight:700;font-size:1.1rem;text-decoration:none;display:inline-block;transition:all .3s ease;box-shadow:0 4px 16px #667eea4d}.no-orders .btn-primary:hover{transform:translateY(-3px);box-shadow:0 8px 24px #667eea66}@media(max-width:768px){.orders-page{padding:2rem 0}.page-header h1{font-size:2rem}.page-header p{font-size:1rem}.orders-container{padding:0 16px}.order-header{flex-direction:column;align-items:flex-start;gap:1rem}.order-status-section{text-align:left}.order-items{padding:1.5rem}.order-item{flex-direction:column;text-align:center}.order-item img{width:100px;height:150px}.item-price{text-align:center}.order-footer{flex-direction:column;padding:1rem}}@media(max-width:1024px){.orders-container{max-width:99%;padding:0 5px}.table-responsive{overflow-x:auto}.orders-table{table-layout:auto}.orders-table thead th{padding:12px 6px;font-size:.7rem}.orders-table tbody td{padding:10px 6px;font-size:.75rem}.orders-table .actions-col{flex-direction:column;gap:4px}.orders-table .actions-col .btn-secondary,.orders-table .actions-col .btn-primary{padding:4px 6px;font-size:.65rem;width:100%}}@media(max-width:720px){.table-responsive{border-radius:12px}.orders-table{min-width:100%}.orders-table thead{display:none}.orders-table tbody tr{display:block;margin-bottom:16px;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #00000014;border:1px solid #e5e7eb;background:#fff}.orders-table tbody td{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:14px 16px;border-bottom:1px solid #f3f4f6;gap:8px}.orders-table tbody td:before{content:attr(data-label);font-weight:700;color:#667eea;text-transform:uppercase;font-size:.75rem;letter-spacing:.5px;margin-bottom:4px}.orders-table tbody td:first-child{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:700;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.orders-table tbody td:first-child:before{color:#fff}.orders-table tbody td:first-child .mono{background:#fff3;color:#fff;text-align:center;display:inline-block;width:auto}.orders-table tbody td>div{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%}.orders-table .actions-col{display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;width:100%}.orders-table .actions-col .btn-secondary,.orders-table .actions-col .btn-primary{width:80%;max-width:200px;text-align:center}.orders-table .mono{font-size:.85rem;padding:4px 10px;text-align:center}.orders-table tbody td img{margin:0 auto;display:block}}.order-modal-overlay{position:fixed;inset:0;background:#111827b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1500;padding:20px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.order-modal-card{width:100%;max-width:800px;background:#fff;border-radius:20px;box-shadow:0 24px 80px #0000004d;overflow:hidden;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.order-modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;position:relative}.order-modal-header h3{margin:0;font-size:1.4rem;font-weight:700;letter-spacing:-.5px}.order-modal-body{padding:28px;display:flex;flex-direction:column;gap:20px;color:#374151;max-height:60vh;overflow-y:auto}.order-modal-section{padding:16px;background:#f8f9ff;border-radius:12px;border:1px solid #e5e7eb}.order-modal-section strong{color:#667eea;font-weight:700;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px}.order-modal-items{display:flex;flex-direction:column;gap:12px;margin-top:12px}.order-modal-item{display:flex;gap:16px;align-items:center;padding:12px;background:#fff;border-radius:10px;border:1px solid #e5e7eb;transition:all .3s ease}.order-modal-item:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translate(4px)}.order-modal-item img{width:70px;height:95px;object-fit:cover;border-radius:8px;border:2px solid #e5e7eb;box-shadow:0 2px 8px #0000001a}.order-modal-item-info{flex:1}.order-modal-item .title{font-weight:700;color:#1f2937;font-size:1rem;margin-bottom:6px}.order-modal-item .meta{font-size:.9rem;color:#6b7280;font-weight:500}.order-modal-footer{display:flex;gap:12px;justify-content:flex-end;padding:20px 28px;border-top:2px solid #f3f4f6;background:#f8f9ff}.order-modal-footer .btn-secondary{background:#fff;color:#667eea;border:2px solid #667eea;padding:12px 24px;border-radius:10px;font-weight:700;cursor:pointer;transition:all .3s ease}.order-modal-footer .btn-secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.order-modal-footer .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:12px 24px;border-radius:10px;font-weight:700;border:none;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.order-modal-footer .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.modal-close{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.3);color:#fff;font-size:24px;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:10px;transition:all .3s ease;font-weight:300}.modal-close:hover{background:#ffffff40;transform:rotate(90deg)}@media(max-width:480px){.order-modal-card{max-width:96%;border-radius:16px}.order-modal-header{padding:20px}.order-modal-header h3{font-size:1.2rem}.order-modal-body{padding:20px}.order-modal-item{flex-direction:column;text-align:center}.order-modal-item img{width:90px;height:120px}.order-modal-footer{flex-direction:column;padding:16px}.order-modal-footer button{width:100%}}.barter-requests-page.container{max-width:980px;margin:28px auto;padding:0 16px}.barter-requests-header{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}.barter-requests-header h2{margin:0;font-size:1.35rem;color:#0f172a}.barter-requests-header .subtitle{margin:0;color:#6b7280}.barter-requests-header .actions{margin-left:auto}.btn-refresh{background:#2563eb;color:#fff;border:none;padding:8px 12px;border-radius:8px;cursor:pointer}.barter-error{color:#ef4444;margin-top:12px}.barter-empty{color:#6b7280;margin-top:18px;text-align:center;padding:18px}.barter-list{display:flex;flex-direction:column;gap:14px;margin-top:18px}.barter-card{display:flex;gap:12px;background:#fff;border-radius:12px;padding:12px;box-shadow:0 8px 24px #0206170a}.barter-card .card-left img{width:92px;height:120px;object-fit:cover;border-radius:8px}.barter-card .card-right{flex:1;display:flex;flex-direction:column;gap:8px}.barter-card .card-top{display:flex;gap:12px;align-items:center}.book-name{margin:0;font-size:1.05rem;color:#0b1220}.status{margin-left:auto;padding:6px 10px;border-radius:999px;font-weight:700;text-transform:capitalize;font-size:.78rem}.status.pending{background:#f59e0b1f;color:#b45309}.status.approved{background:#10b9811f;color:#059669}.status.rejected{background:#ef444414;color:#b91c1c}.meta{display:flex;gap:16px;flex-wrap:wrap;color:#374151;font-size:.95rem}.address,.notes{color:#334155;font-size:.92rem}.card-footer{display:flex;gap:12px;color:#6b7280;font-size:.85rem;margin-top:6px}@media(max-width:720px){.barter-card{flex-direction:row}.barter-card .card-left img{width:72px;height:92px}}@media(max-width:720px){.barter-modal-card .body{grid-template-columns:1fr}}.barter-modal-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#02061780;z-index:1400;padding:20px}.barter-modal-card{width:100%;max-width:520px;background:#fff;border-radius:12px;box-shadow:0 18px 60px #0206174d;overflow:hidden}.barter-modal-card header{padding:12px 16px;background:linear-gradient(90deg,#2563eb,#60a5fa);color:#fff;display:flex;align-items:center;gap:12px;justify-content:space-between}.barter-modal-close{background:#ffffff1f;border:none;color:#fff;width:36px;height:36px;border-radius:8px;cursor:pointer;font-size:18px}.barter-modal-close:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0206171f}.barter-modal-card .body{padding:16px;display:flex;flex-direction:column;gap:10px}.barter-modal-card .body{padding:16px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-items:start}.barter-modal-card .body .row{display:flex;gap:10px;align-items:center}.barter-modal-card .body .row.full{grid-column:1 / -1}.barter-modal-card .actions{display:flex;gap:8px;justify-content:flex-end;padding:12px;border-top:1px solid #eef2f7;background:#fbfdff}.barter-modal-card .btn{padding:8px 12px;border-radius:8px;border:none;cursor:pointer}.barter-modal-card .btn.primary{background:#059669;color:#fff}.barter-modal-card .btn.danger{background:#ef4444;color:#fff}.barter-modal-card .btn.ghost{background:transparent;border:1px solid #e6edf3;color:#374151}.remarks-textarea{width:100%;min-height:88px;border:1px solid #e6edf3;border-radius:8px;padding:8px 10px;font-size:.95rem;background:#fbfdff}.barter-modal-card .status-pill{padding:6px 10px;border-radius:999px;font-weight:700;text-transform:capitalize}.status-pill.pending{background:#f59e0b1f;color:#b45309}.status-pill.approved{background:#10b9811f;color:#059669}.status-pill.rejected{background:#ef444414;color:#b91c1c}.barter-loading{display:flex;gap:12px;flex-direction:column;align-items:center;padding:24px 8px;color:#6b7280}.barter-skeleton{width:100%;max-width:920px;height:86px;border-radius:12px;background:linear-gradient(90deg,#f3f4f6 25%,#e6edf3 37%,#f3f4f6 63%);background-size:400% 100%;animation:shimmer 1.2s linear infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}:root{--bg:#f6f8fb;--card:#ffffff;--muted:#626677;--accent:#0b6efd;--accent-700:#095ed6;--radius:12px;--container:1100px}.static-page{background:var(--bg);padding:48px 0 80px;min-height:60vh;color:#223;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial}.page-hero{background:linear-gradient(90deg,#0b6efd14,#06b6d408);border-radius:var(--radius);padding:28px 22px;margin-bottom:22px;display:flex;flex-direction:column;gap:6px}.page-hero h1{font-size:28px;margin:0;color:var(--accent)}.page-hero .lead{color:var(--muted);font-size:15px;margin:0}.section.card{background:var(--card);border-radius:calc(var(--radius) - 2px);padding:20px;margin-bottom:18px;box-shadow:0 6px 18px #1218280f;transition:transform .22s ease,box-shadow .22s ease}.section.card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #12182814}.section.card h2{margin-top:0;color:#15233a}.section.card p,.section.card li{color:var(--muted);line-height:1.6}.small-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.contact-grid{display:grid;grid-template-columns:1fr 420px;gap:20px;align-items:start}.contact-form input,.contact-form textarea{width:100%;padding:12px 14px;margin-bottom:10px;border-radius:8px;border:1px solid #e6eef9;background:#fbfdff;color:#122233}.contact-form label{font-size:13px;color:var(--muted);display:block;margin-bottom:6px}.cta{text-align:center}.cta-actions{display:flex;gap:12px;justify-content:center;margin-top:14px}.btn{padding:10px 14px;border-radius:10px;border:1px solid rgba(2,6,23,.06);background:transparent;cursor:pointer;font-weight:600}.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent-700));color:#fff;border:none}.lead{font-size:15px;color:var(--muted)}@media(max-width:900px){.contact-grid{grid-template-columns:1fr}.page-hero h1{font-size:22px}}@media(max-width:520px){.page-hero{padding:18px}.section.card{padding:14px}.small-grid{gap:12px}}.muted{color:var(--muted)}.forgot-password-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.forgot-password-container{width:100%;max-width:420px}.forgot-password-card{background:#fff;border-radius:12px;padding:32px 28px;box-shadow:0 8px 30px #0000001f;text-align:center;animation:slideUp .4s ease}.forgot-password-icon{width:56px;height:56px;margin:0 auto 16px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.forgot-password-icon svg{width:32px;height:32px}.forgot-password-card h1{font-size:24px;font-weight:700;margin-bottom:8px;color:#2d3748}.forgot-password-subtitle{font-size:14px;color:#718096;margin-bottom:24px;line-height:1.5}.message-box{padding:12px 14px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;gap:10px;font-size:13px;animation:fadeIn .3s ease;text-align:left}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.message-box.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.message-box.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.message-box svg{flex-shrink:0}.forgot-password-form{text-align:left}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:13px;font-weight:600;color:#2d3748;margin-bottom:6px}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:12px;color:#a0aec0;pointer-events:none}.input-wrapper input{width:100%;padding:11px 11px 11px 40px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;transition:all .2s ease;outline:none}.input-wrapper input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input-wrapper input:disabled{background:#f7fafc;cursor:not-allowed}.input-wrapper input.error{border-color:#fc8181}.error-text{display:block;color:#e53e3e;font-size:12px;margin-top:4px}.btn-submit{width:100%;padding:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.btn-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 16px #667eea66}.btn-submit:disabled{opacity:.7;cursor:not-allowed}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.back-to-login{margin-top:20px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#667eea}.back-to-login a{color:#667eea;text-decoration:none;font-weight:600;transition:all .2s ease}.back-to-login a:hover{color:#764ba2;text-decoration:underline}.help-text{margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0}.help-text p{font-size:12px;color:#718096;margin:0}.help-text a{color:#667eea;text-decoration:none;font-weight:600}.help-text a:hover{text-decoration:underline}@media(max-width:640px){.forgot-password-card{padding:28px 24px}.forgot-password-card h1{font-size:22px}.forgot-password-subtitle{font-size:13px}.forgot-password-icon{width:52px;height:52px}.forgot-password-icon svg{width:28px;height:28px}}@media(max-width:480px){.forgot-password-page{padding:16px}.forgot-password-card{padding:24px 20px}.btn-submit{padding:11px;font-size:14px}}.chat-support-button{position:fixed;bottom:24px;right:24px;width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);border:none;cursor:pointer;box-shadow:0 4px 12px #667eea66;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .3s ease;z-index:998;animation:pulse 2s infinite}.chat-support-button:hover{transform:scale(1.1);box-shadow:0 6px 20px #667eea99}.chat-support-button.open{background:#e74c3c;animation:none}.chat-badge{position:absolute;top:-4px;right:-4px;background:#e74c3c;color:#fff;border-radius:50%;width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;border:2px solid white}@keyframes pulse{0%,to{box-shadow:0 4px 12px #667eea66}50%{box-shadow:0 4px 20px #667eea99,0 0 0 8px #667eea1a}}.chat-support-window{position:fixed;bottom:100px;right:24px;width:380px;height:480px;max-height:calc(100vh - 140px);background:#fff;border-radius:16px;box-shadow:0 8px 32px #00000026;display:flex;flex-direction:column;z-index:997;animation:slideUp .3s ease;overflow:hidden}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:16px;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.chat-header-info{display:flex;align-items:center;gap:12px}.chat-avatar{width:40px;height:40px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center}.chat-header h3{margin:0;font-size:16px;font-weight:600}.status-indicator{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.9}.status-dot{width:8px;height:8px;border-radius:50%;background:#2ecc71;animation:blink 2s infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.5}}.chat-minimize{background:#fff3;border:none;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:all .2s ease}.chat-minimize:hover{background:#ffffff4d}.chat-messages{flex:1;overflow-y:auto;padding:16px;background:#f8f9fa;display:flex;flex-direction:column;gap:12px}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-track{background:transparent}.chat-messages::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#ccc}.chat-message{display:flex;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.support-message{justify-content:flex-start}.user-message{justify-content:flex-end}.message-content{max-width:75%;padding:10px 14px;border-radius:12px;position:relative}.support-message .message-content{background:#fff;border:1px solid #e9ecef;border-radius:12px 12px 12px 4px}.user-message .message-content{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 4px}.message-content p{margin:0;font-size:14px;line-height:1.5;word-wrap:break-word}.message-time{font-size:11px;opacity:.7;display:block;margin-top:4px}.typing-indicator{display:flex;gap:4px;padding:12px 14px}.typing-indicator span{width:8px;height:8px;border-radius:50%;background:#aaa;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-8px)}}.quick-replies{padding:12px 16px;background:#fff;border-top:1px solid #e9ecef}.quick-replies-label{font-size:12px;color:#666;margin:0 0 8px;font-weight:500}.quick-replies-buttons{display:flex;flex-wrap:wrap;gap:8px}.quick-reply-btn{background:#f8f9fa;border:1px solid #e9ecef;border-radius:20px;padding:6px 14px;font-size:13px;cursor:pointer;transition:all .2s ease;color:#495057}.quick-reply-btn:hover{background:#667eea;color:#fff;border-color:#667eea}.chat-input-container{padding:16px;background:#fff;border-top:1px solid #e9ecef;display:flex;gap:8px}.chat-input{flex:1;border:1px solid #e9ecef;border-radius:24px;padding:10px 16px;font-size:14px;outline:none;transition:all .2s ease}.chat-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.chat-send-button{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.chat-send-button:hover:not(:disabled){transform:scale(1.1);box-shadow:0 4px 12px #667eea66}.chat-send-button:disabled{opacity:.5;cursor:not-allowed}.chat-footer{padding:8px 16px;background:#f8f9fa;text-align:center;font-size:11px;color:#999;border-top:1px solid #e9ecef}@media(max-width:768px){.chat-support-window{width:calc(100% - 24px);height:calc(100vh - 180px);max-height:450px;right:12px;bottom:90px}.chat-support-button{bottom:16px;right:16px;width:46px;height:46px}.message-content{max-width:80%}.quick-replies-buttons{flex-direction:column}.quick-reply-btn{width:100%;text-align:left}}@media(max-width:480px){.chat-support-window{width:calc(100vw - 16px);height:calc(100vh - 200px);max-height:calc(100vh - 200px);right:8px;bottom:80px;border-radius:12px}.chat-header{padding:12px;border-radius:12px 12px 0 0}.chat-header h3{font-size:14px}.status-indicator{font-size:11px}.chat-avatar{width:36px;height:36px}.chat-messages{padding:12px}.message-content{max-width:85%;font-size:13px}.message-content p{font-size:13px}.chat-support-button{bottom:12px;right:12px;width:44px;height:44px}.chat-input-container{padding:12px}.chat-input{font-size:13px;padding:8px 14px}.chat-send-button{width:38px;height:38px}.quick-replies{padding:10px 12px}.quick-reply-btn{font-size:12px;padding:6px 12px}}@media(max-width:360px){.chat-support-window{width:calc(100vw - 12px);height:calc(100vh - 180px);right:6px;bottom:75px}.chat-support-button{width:42px;height:42px;bottom:10px;right:10px}.message-content{max-width:88%}}@media(prefers-color-scheme:dark){.chat-support-window{background:#1e1e1e}.chat-messages{background:#2d2d2d}.support-message .message-content{background:#3a3a3a;border-color:#4a4a4a;color:#e0e0e0}.chat-input-container,.quick-replies,.chat-footer{background:#1e1e1e;border-color:#3a3a3a}.chat-input,.quick-reply-btn{background:#2d2d2d;border-color:#3a3a3a;color:#e0e0e0}.chat-footer{color:#666}}.app{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1}.main-content{background-color:#fbfdff}.main-content>*{animation:pageFadeIn .18s ease-in-out}@keyframes pageFadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
