@tailwind base;@tailwind components;@tailwind utilities;:root{--foreground-rgb:0,0,0;--background-start-rgb:214,219,220;--background-end-rgb:255,255,255}@media (prefers-color-scheme:dark){:root{--foreground-rgb:255,255,255;--background-start-rgb:0,0,0;--background-end-rgb:0,0,0}}body{color:#333;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;padding:0;margin:0}a{color:inherit;text-decoration:none}.App{text-align:center;min-height:100vh;display:flex;flex-direction:column}.App-header{background:linear-gradient(135deg,#667eea,#764ba2);color:white;padding:2rem 0;margin-bottom:2rem}.App-header h1{color:white;text-shadow:0 2px 4px rgba(0,0,0,.3)}.App-header p{color:rgba(255,255,255,.95);text-shadow:0 1px 2px rgba(0,0,0,.2)}.header-container{display:flex;justify-content:space-between;align-items:flex-start;width:100%;max-width:1200px;margin:0 auto;padding:0 20px;flex-wrap:wrap;gap:1rem}.header-content{flex:1 1;min-width:250px}.header-language-selector{flex:0 0 auto;align-self:flex-start}.App-header h1{margin:0 0 .5rem;font-size:2.5rem;font-weight:700}.App-header p{font-size:1.1rem;opacity:.9;max-width:600px;margin:0 auto}main{flex:1 1;padding:0 1rem;max-width:1400px;margin:0 auto;width:100%}footer{background-color:#f8f9fa;color:#6c757d;padding:2rem 0;margin-top:3rem;border-top:1px solid #e9ecef}.footer-container{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.footer-left{display:flex;flex-direction:column;gap:4px}.footer-brand{font-weight:600;color:#495057}.footer-copy{font-size:12px}.footer-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.footer-link{color:#007bff;text-decoration:none}.footer-link:hover{text-decoration:underline}.footer-link-button{color:#007bff;text-decoration:none;background:none;border:none;cursor:pointer;font-size:inherit;font-family:inherit;padding:0}.footer-link-button:hover{text-decoration:underline}.footer-separator{color:#adb5bd}.card{background:white;border-radius:12px;padding:2rem;box-shadow:0 4px 20px rgba(0,0,0,.1);margin-bottom:2rem}.card,.card h1,.card h2,.card h3,.card h4,.card h5,.card h6{color:#333}.card p{color:#555}.category-tabs{display:flex!important;flex-direction:row!important;gap:8px;margin-bottom:2rem;justify-content:center;flex-wrap:wrap!important;align-items:center;min-height:auto;width:100%}.category-tab{display:inline-flex!important;align-items:center;padding:12px 20px;border:2px solid #e9ecef;background:white;border-radius:8px;cursor:pointer;transition:all .2s ease;font-size:14px;font-weight:500;flex-shrink:0!important;white-space:nowrap;width:auto!important;min-width:-moz-fit-content;min-width:fit-content;color:#495057}.category-tab:hover{border-color:#007bff;background:#f8f9fa;color:#007bff}.category-tab.active{background:#007bff;color:white;border-color:#007bff}.category-error{color:#dc3545;text-align:center;padding:2rem;font-size:18px;font-weight:500}.converter-container{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:center;margin-top:24px;flex-direction:row}.converter-input-group{display:flex;align-items:center;gap:12px}.converter-equals{font-size:24px;font-weight:700;color:#007bff;margin:0 8px}.converter-swap-button{padding:12px 16px;font-size:16px;border:2px solid #e9ecef;border-radius:8px;background-color:white;color:#333;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.converter-swap-button:hover{background-color:#f8f9fa;border-color:#007bff}.converter-error{color:#dc3545;text-align:center;margin-top:16px;font-size:14px}.converter-toolbar{display:flex;gap:10px;justify-content:center;margin-top:16px;flex-wrap:wrap}.toolbar-button{padding:8px 12px;border:2px solid #e9ecef;border-radius:8px;background-color:white;color:#333;cursor:pointer;transition:all .2s ease;font-size:14px}.toolbar-button .button-icon{margin-right:6px;display:inline-block;vertical-align:middle}.toolbar-button:hover{background-color:#f8f9fa;border-color:#007bff}.favorites{margin-top:16px}.favorites-title{text-align:left;font-weight:700;margin:16px 0 10px}.chip-list{display:flex;justify-content:left;flex-wrap:wrap;gap:8px}.chip{gap:6px;padding:6px 10px;background-color:#f8f9fa;border:1px solid #e9ecef;color:#007bff;text-decoration:none;font-size:12px}.chip,.chip .chip-remove{display:inline-flex;align-items:center;border-radius:999px}.chip .chip-remove{justify-content:center;width:16px;height:16px;line-height:1;background:#e9ecef;color:#6c757d;font-weight:700;cursor:pointer}.chip .chip-remove:hover{background:#dee2e6;color:#495057}.result-display,.value-input{width:120px;padding:12px 16px;font-size:16px;border:2px solid #e9ecef;border-radius:8px;text-align:center;font-weight:500}.value-input{background-color:#ecf4ff;color:#333;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;border-color:#b6d4fe}.value-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px rgba(0,123,255,.15)}.value-input:hover{border-color:#9ec5fe;background-color:#e2efff}.result-display{background-color:#eaf2ff;color:#495057;min-height:48px;display:flex;align-items:center;justify-content:center;border-color:#cfe2ff}.unit-select{padding:12px 16px;font-size:16px;border-radius:8px;background-color:#ecf4ff;min-width:140px;color:#333;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;border:2px solid #b6d4fe}.unit-select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px rgba(0,123,255,.15)}.unit-select:hover{border-color:#9ec5fe;background-color:#e2efff}.converter-swap-button,.converter-toolbar .toolbar-button{background-color:#f0f6ff;border-color:#cfe2ff;color:#0d6efd}.converter-swap-button:hover,.converter-toolbar .toolbar-button:hover{background-color:#e2efff;border-color:#9ec5fe}.desktop-only{display:block}.mobile-only{display:none}@media (max-width:768px){.desktop-only{display:none!important}.mobile-only{display:block!important}.App-header{padding:1.5rem 0}.App-header h1{font-size:1.8rem;margin-bottom:.3rem}.App-header p{font-size:.9rem;padding:0 1rem}.card{padding:1.5rem;margin:0 .5rem 1.5rem}.footer-container{flex-direction:column;align-items:center;gap:.5rem}.footer-left{text-align:center}.footer-left,.footer-right{align-items:center;width:100%}.footer-right{display:flex;flex-direction:column;justify-content:center;gap:6px}.footer-separator{display:none}.category-tabs{gap:6px;padding:0 .5rem;flex-wrap:wrap!important;flex-direction:row!important}.category-tab{padding:8px 12px;font-size:12px;min-width:80px}.category-tab span:first-child{margin-right:4px}.header-container{flex-direction:column!important;align-items:center!important;gap:1rem!important}.header-content{text-align:center;flex:none!important;min-width:auto!important}.header-language-selector{flex:none!important;align-self:center!important;display:flex!important}.header-language-selector,.language-selector-mobile{justify-content:center!important;width:100%!important;max-width:300px!important}.language-selector-mobile{align-items:center!important;margin:0 auto!important}.language-selector-mobile .language-button .language-name{display:none!important}.language-selector-mobile .language-button{min-width:35px!important;max-width:40px!important;padding:4px!important;flex:0 0 auto!important}.language-selector-mobile .language-button.active{min-width:60px!important;max-width:none!important}.language-selector-mobile .language-button.active .language-name{display:inline!important;font-size:10px!important}div.language-selector-mobile button.language-button span.language-name{display:none!important}div.language-selector-mobile button.language-button.active span.language-name{display:inline!important;font-size:10px!important}@media (max-width:768px){.App-header>div{justify-content:center!important;align-items:center!important}.App-header>div>div:last-child{margin:0 auto!important;display:flex!important;justify-content:center!important}}.converter-container{flex-direction:column!important;gap:20px!important}.converter-container>div{width:100%;display:flex;flex-direction:column;gap:12px}.result-display,.value-input{width:100%!important;max-width:200px;margin:0 auto}.unit-select{max-width:300px}.converter-swap-button,.unit-select{width:100%!important;margin:0 auto;font-size:16px!important;padding:16px 20px!important}.converter-swap-button{max-width:200px;justify-content:center}}@media (max-width:480px){.App-header h1{font-size:1.5rem}.App-header p{font-size:.8rem}.card{padding:1rem;margin:0 .25rem 1rem}.category-tabs{gap:4px;flex-wrap:wrap!important;flex-direction:row!important}.category-tab{padding:6px 8px;font-size:11px;min-width:70px}.header-container{gap:.75rem!important}.App-header h1{margin-bottom:.2rem}.language-selector-mobile{max-width:250px!important}.language-selector-mobile .language-button{min-width:30px!important;max-width:35px!important;padding:3px!important}.language-selector-mobile .language-button .language-name{font-size:9px!important}.mobile-only{margin-bottom:1.5rem}.mobile-only button{box-shadow:0 2px 8px rgba(0,123,255,.15)}.mobile-only button:hover{box-shadow:0 4px 12px rgba(0,123,255,.25)}.converter-container{gap:16px!important}.result-display,.value-input{max-width:180px}.unit-select{max-width:250px}.converter-swap-button,.unit-select{font-size:14px!important;padding:14px 16px!important}.converter-swap-button{max-width:180px}}@media (max-width:360px){.language-selector-mobile{max-width:200px!important}.language-selector-mobile .language-button{min-width:25px!important;max-width:30px!important;padding:2px!important}.converter-container{gap:16px!important}.result-display,.value-input{max-width:180px}.unit-select{max-width:250px}.converter-swap-button,.unit-select{font-size:14px!important;padding:14px 16px!important}.converter-swap-button{max-width:180px}}@media (prefers-color-scheme:dark){html{color-scheme:dark}}.landing-loader{display:flex;justify-content:center;align-items:center;height:100vh}.landing-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.2);border-top-color:#ffffff;border-radius:50%;animation:landing-spin 1s linear infinite;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}@keyframes landing-spin{to{transform:rotate(1turn)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cookie-banner{position:fixed;left:0;right:0;bottom:0;background:#ffffff;border-top:1px solid #e9ecef;box-shadow:0 -8px 24px rgba(0,0,0,.08);z-index:9999}.cookie-banner__inner{max-width:1200px;margin:0 auto;padding:16px 20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.cookie-banner__text{flex:1 1 260px;min-width:260px}.cookie-banner__title{font-size:16px;font-weight:600;color:#212529;margin:0 0 4px}.cookie-banner__message{font-size:14px;line-height:1.5;color:#495057}.cookie-banner__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cookie-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #dee2e6;background:#ffffff;color:#212529;padding:10px 14px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease}.cookie-btn:hover{background:#f8f9fa;border-color:#ced4da}.cookie-btn--primary{background:#0d6efd;border-color:#0d6efd;color:#ffffff}.cookie-btn--primary:hover{background:#0b5ed7;border-color:#0a58ca}.cookie-btn--secondary{background:#f1f3f5;border-color:#dee2e6;color:#343a40}.cookie-btn--secondary:hover{background:#e9ecef;border-color:#ced4da}.cookie-link{background:transparent;border:none;color:#0d6efd;padding:10px 0;font-size:14px;font-weight:500;cursor:pointer}.cookie-link:hover{text-decoration:underline}@media (max-width:768px){.cookie-banner__inner{align-items:flex-start}.cookie-banner__actions{width:100%;justify-content:stretch}.cookie-btn,.cookie-btn--primary,.cookie-btn--secondary,.cookie-link{flex:1 1 auto;text-align:center}}.cookie-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:16px}.cookie-modal{width:100%;max-width:640px;background:#ffffff;border:1px solid #e9ecef;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.2);display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.cookie-modal__header{padding:12px 16px;border-bottom:1px solid #f1f3f5;display:flex;align-items:center;justify-content:space-between}.cookie-modal__title{font-size:18px;font-weight:600;color:#212529}.cookie-modal__close{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:#6c757d;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.cookie-modal__close:hover{background:#f1f3f5;color:#343a40}.cookie-modal__content{padding:16px;overflow:auto}.cookie-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:#f8f9fa;border-radius:10px}.cookie-option__text{padding-right:8px}.cookie-option__title{font-weight:600;color:#212529;margin-bottom:4px}.cookie-option__desc{font-size:13px;line-height:1.5;color:#495057}.cookie-switch{position:relative;width:44px;height:24px}.cookie-switch input{position:absolute;opacity:0;width:0;height:0}.cookie-switch__track{position:absolute;inset:0;background:#dee2e6;border-radius:999px;transition:background-color .15s ease}.cookie-switch__thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;background:#ffffff;border-radius:999px;transition:transform .15s ease;box-shadow:0 1px 2px rgba(0,0,0,.15)}.cookie-switch input:checked+.cookie-switch__track{background:#0d6efd}.cookie-switch input:checked+.cookie-switch__track+.cookie-switch__thumb{transform:translateX(20px)}.cookie-modal__footer{padding:12px 16px;border-top:1px solid #f1f3f5;background:#f8f9fa;display:flex;gap:8px;justify-content:flex-end}