.app-header{background:linear-gradient(90deg,rgba(15,23,42,.95) 0%,rgba(30,41,59,.95) 100%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.15);padding:0 2rem;position:sticky;top:0;z-index:1000;box-shadow:0 4px 12px #0000001a}.header-content{display:flex;justify-content:space-between;align-items:center;height:64px}.header-brand{display:flex;align-items:center}.header-title{font-size:1.4rem;font-weight:700;color:#f1f5f9;margin:0;letter-spacing:.5px;text-shadow:0 2px 4px rgba(0,0,0,.2);transition:color .2s ease,text-shadow .2s ease}.header-title:hover{color:#fff;text-shadow:0 0 8px rgba(96,165,250,.6);cursor:pointer}.header-nav{display:flex;gap:1.25rem;align-items:center}.nav-button{padding:.6rem 1.25rem;border-radius:10px;border:1px solid rgba(100,100,110,.5);background:linear-gradient(145deg,#263238,#1c2a35);color:#cbd5e1;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .25s cubic-bezier(.25,.46,.45,.94);position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff1a,0 2px 4px #0000001a}.nav-button:active{transform:translateY(1px);box-shadow:inset 0 1px 2px #0003,0 1px 2px #0000001a}.nav-button:hover{background:linear-gradient(145deg,#374146,#2a3742);color:#e2e8f0;border-color:#787882b3;box-shadow:inset 0 1px #ffffff26,0 4px 8px #00000026}.nav-button:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;box-shadow:0 0 10px #60a5fa00;transition:box-shadow .3s ease;pointer-events:none}.nav-button:hover:after{box-shadow:0 0 10px #60a5fa4d}.nav-button:focus{outline:none;border-color:#60a5fa;box-shadow:inset 0 1px #ffffff1a,0 0 0 3px #60a5fa4d}.logout-button{padding:.6rem 1.25rem;border-radius:10px;border:1px solid rgba(220,38,38,.5);background:linear-gradient(145deg,#4b1d1d,#3c1414);color:#fca5a5;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .25s cubic-bezier(.25,.46,.45,.94);box-shadow:inset 0 1px #ffffff1a,0 2px 4px #0000001a}.logout-button:active{transform:translateY(1px);box-shadow:inset 0 1px 2px #0003,0 1px 2px #0000001a}.logout-button:hover{background:linear-gradient(145deg,#652e2e,#522424);color:#fecaca;border-color:#f87171b3;box-shadow:inset 0 1px #ffffff26,0 4px 8px #dc262633}.logout-button:focus{outline:none;border-color:#f87171;box-shadow:inset 0 1px #ffffff1a,0 0 0 3px #f871714d}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e293b,#0f172a);padding:1rem;font-family:Inter,sans-serif}.auth-card{width:100%;max-width:400px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);color:#e2e8f0}.auth-title{font-size:1.75rem;font-weight:600;color:#f8fafc;text-align:center;margin-bottom:.5rem}.auth-subtitle{color:#94a3b8;text-align:center;margin-bottom:1.5rem;font-size:.9rem}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.auth-input-group{display:flex;flex-direction:column}.auth-label{color:#cbd5e1;margin-bottom:.5rem;font-size:.9rem;font-weight:500}.auth-input{padding:.875rem 1.125rem;border-radius:8px;border:1px solid #475569;background-color:#1e293b;color:#f1f5f9;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}.auth-input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa33}.auth-button{padding:.875rem 1.25rem;background-color:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,transform .1s ease;display:flex;align-items:center;justify-content:center}.auth-button:hover:not(:disabled){background-color:#2563eb}.auth-button:active:not(:disabled){transform:scale(.99)}.auth-button:disabled{opacity:.6;cursor:not-allowed}.templates-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;flex-direction:column}.main-content{display:flex;flex-direction:column;flex:1;margin-top:5rem}.templates-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:.5rem 1rem;flex-wrap:wrap;gap:1rem;border-bottom:1px solid rgba(255,255,255,.1)}.templates-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin:0}.add-template-button{padding:.75rem 1.5rem;background-color:#3b82f6;color:#fff;text-decoration:none;border-radius:8px;font-weight:500;transition:background-color .2s ease;display:inline-flex;align-items:center}.add-template-button:hover{background-color:#2563eb}.loading-spinner-full{width:3rem;height:3rem;border:3px solid transparent;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:4rem auto}.empty-state{text-align:center;padding:4rem 1rem;color:#94a3b8}.empty-title{font-size:1.5rem;font-weight:500;margin-bottom:.5rem}.empty-subtitle{font-size:1rem;margin:0}.templates-layout{display:flex;gap:1.5rem;flex:1;min-height:0;padding:0 1rem 1rem;position:relative}.templates-list-panel{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;justify-items:center;width:100%;overflow-y:auto;flex-grow:1;padding-bottom:1rem}.template-card{background:rgba(30,41,59,.8);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease;width:100%;height:200px;justify-content:space-between;overflow:hidden;position:relative;box-sizing:border-box}.template-card .preview-button.active{background-color:#7c3aed;box-shadow:0 0 0 2px #8b5cf6}.template-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #0003}.template-info{display:flex;flex-direction:column;justify-content:center;flex-grow:1;padding-bottom:.5rem;overflow:hidden}.template-name{font-size:1.125rem;font-weight:500;color:#f1f5f9;margin:0;word-break:break-word;text-align:center;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}.template-actions{display:flex;justify-content:center;gap:.5rem;margin-top:auto;flex-shrink:0}.action-button{padding:.5rem;border:none;border-radius:6px;cursor:pointer;transition:background-color .2s ease,transform .1s ease;display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0}.action-button:hover{transform:scale(1.05)}.action-icon{width:1.25rem;height:1.25rem;color:#fff}.preview-button{background-color:#8b5cf6}.preview-button:hover{background-color:#7c3aed}.edit-button{background-color:#f59e0b}.edit-button:hover{background-color:#d97706}.delete-button{background-color:#ef4444}.delete-button:hover{background-color:#dc2626}.preview-panel{width:calc(66.6666% - 1rem);min-width:300px;background:rgba(30,41,59,.8);border:1px solid rgba(255,255,255,.1);border-radius:12px;display:flex;flex-direction:column;position:absolute;top:0;right:0;height:calc(100% - 2rem)}.preview-header{padding:1rem;border-bottom:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;align-items:center;flex-shrink:0;height:4rem;box-sizing:border-box}.preview-title{font-size:1.25rem;font-weight:600;color:#f8fafc;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.close-preview-button{background:none;border:none;color:#94a3b8;font-size:1.5rem;cursor:pointer;padding:.25rem;border-radius:4px;transition:color .2s ease,background-color .2s ease}.close-preview-button:hover{color:#f8fafc;background-color:#ffffff1a}.preview-content{display:flex;align-items:center;justify-content:center;padding:1rem;box-sizing:border-box;height:calc(100% - 6rem)}.preview-image{width:100%;height:100%;object-fit:contain;border-radius:8px;box-shadow:0 4px 6px #0000001a;display:block;min-width:0;min-height:0}.preview-error{color:#ef4444;text-align:center;font-style:italic}.add-template-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.add-template-card{width:100%;max-width:1200px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}.add-template-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin-bottom:2rem;text-align:center}.dropzone{border:2px dashed #475569;border-radius:12px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:border-color .2s ease,background-color .2s ease;background-color:#1e293b80;margin-bottom:1.5rem}.dropzone-icon{width:3rem;height:3rem;margin:0 auto 1rem;color:#94a3b8}.file-name{color:#f1f5f9;font-weight:500}.button-group{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.upload-button,.cancel-button{padding:.875rem 1.25rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,transform .1s ease;display:flex;align-items:center;justify-content:center;border:none}.upload-button{background-color:#3b82f6;color:#fff}.upload-button:hover:not(:disabled){background-color:#2563eb}.upload-button:active:not(:disabled){transform:scale(.99)}.cancel-button{background-color:transparent;color:#94a3b8;border:1px solid #475569}.cancel-button:hover{background-color:#475569;color:#f1f5f9}.loading-spinner{width:1rem;height:1rem;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite;margin-right:.5rem}.parsing-state{text-align:center;padding:2rem}.preview-and-settings{display:flex;flex-direction:row;gap:2rem;width:100%;flex-grow:1;min-height:400px}.settings-section{flex:0 0 350px;display:flex;flex-direction:column}.settings-section h2{margin-bottom:1.5rem;flex-shrink:0}.settings-container.unified-scroll{flex-grow:1;overflow-y:auto;padding-right:.5rem;margin-bottom:1.5rem}.settings-container.unified-scroll>.setting-block{margin-bottom:.5rem}.settings-container.unified-scroll>.setting-block:last-child{margin-bottom:0}.input-group{display:flex;flex-direction:column;gap:.125rem;flex-shrink:0}.input-group input{padding:.5rem;border-radius:.375rem;border:1px solid #475569;background-color:#1e293b;color:#f1f5f9;font-size:.875rem;transition:border-color .2s ease,box-shadow .2s ease}.input-group input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 2px #60a5fa33}.preview-image{display:block;margin:0 auto;max-width:100%;max-height:100%;height:auto;object-fit:contain}.divider{border:0;border-top:1px solid #475569;height:0;margin:1rem 0;width:100%;box-sizing:border-box}.bottom-buttons{display:flex;justify-content:center;width:100%;padding:.25rem 0;margin-top:.25rem;box-sizing:border-box}.wide-button{width:100%;padding:.875rem 1.25rem}.bottom-buttons .button-group{display:flex;flex-direction:column;gap:1rem;width:300px;margin-top:0}.bottom-buttons .button-group .wide-button{width:100%}.edit-template-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.edit-template-card{width:100%;max-width:1200px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1)}.edit-template-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin-bottom:2rem;text-align:center}.preview-and-settings{display:flex;flex-direction:row;gap:2rem;width:100%;height:calc(100vh - 200px)}.preview-section{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center}.preview-section h2{align-self:flex-start;margin-bottom:1rem}.settings-section{flex:0 0 350px;display:flex;flex-direction:column;gap:.75rem}.settings-section h2{margin-bottom:0}.settings-container{display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;padding-right:.5rem;flex-grow:1}.setting-block{background-color:#1e293bb3;border:1px solid rgba(255,255,255,.1);border-radius:8px;overflow:hidden;flex-shrink:0}.setting-title{padding:.75rem;margin:0;background-color:#0f172ae6;cursor:pointer;font-weight:500;-webkit-user-select:none;user-select:none;display:block}.setting-block[open] .setting-title{border-bottom:1px solid rgba(255,255,255,.1)}.setting-fields{padding:1rem;display:flex;flex-direction:column;gap:.375rem}.setting-block>summary{list-style:none}.setting-block>summary::-webkit-details-marker{display:none}.setting-block>summary:after{content:"▶";float:right;transition:transform .2s ease}.setting-block[open]>summary:after{transform:rotate(90deg)}.field-group{display:flex;flex-direction:column;gap:.125rem}.field-group label{font-size:.875rem;color:#cbd5e1}.param-input,.param-input-color{padding:.5rem;border-radius:.375rem;border:1px solid #475569;background-color:#1e293b;color:#f1f5f9;font-size:.875rem}.param-input-color{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:30px;padding:0;border:none;cursor:pointer;border-radius:.375rem}.param-input-color::-webkit-color-swatch{border:none;border-radius:.375rem}.param-input-color::-moz-color-swatch{border:none;border-radius:.375rem}.param-input:focus,.param-input-color:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 2px #60a5fa33}.input-group{margin-bottom:.375rem;display:flex;flex-direction:column;gap:.125rem}.input-group label{font-size:.875rem;color:#cbd5e1;margin-bottom:0}.input-group input:disabled{background-color:#334155;color:#94a3b8;cursor:not-allowed}.settings-section .button-group{margin-top:.375rem;gap:.375rem;flex-shrink:0}.preview-image{display:block;margin:0 auto;max-width:100%;max-height:60vh;height:auto}.preview-loading{color:#94a3b8;text-align:center;padding:1rem}.preview-error{color:#ef4444;text-align:center;padding:1rem;font-style:italic}.error-message{color:#ef4444;text-align:center;padding:2rem;font-style:italic}.faq-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.faq-card{width:100%;max-width:800px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1)}.faq-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin-bottom:2rem;text-align:center;border-bottom:2px solid #475569;padding-bottom:1rem}.faq-section{margin-bottom:2rem}.faq-section h2{font-size:1.25rem;font-weight:500;color:#cbd5e1;margin-bottom:1rem;padding-left:.5rem;border-left:3px solid #3b82f6}.faq-section ul,.faq-section ol{padding-left:1.5rem;margin-bottom:1rem}.faq-section li{margin-bottom:.5rem;line-height:1.6}.faq-section strong{color:#f1f5f9;font-weight:600}.faq-section em{color:#a3b3cc;font-style:italic}.faq-section code{background-color:#1e293b;padding:.125rem .375rem;border-radius:.25rem;font-family:Monaco,Consolas,monospace;font-size:.875rem;color:#bfdbfe}.faq-section a{color:#60a5fa;text-decoration:none}.faq-section a:hover{text-decoration:underline;color:#93c5fd}.icons-page-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.icons-page-card{width:100%;max-width:1200px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}.icons-page-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin-bottom:1rem;text-align:center}.upload-icons-button{padding:.875rem 2rem;border-radius:8px;border:1px solid #3b82f6;background-color:#3b82f6;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,border-color .2s ease;width:100%;max-width:300px}.upload-icons-button:hover{background-color:#2563eb;border-color:#1d4ed8}.icons-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;width:100%;padding-bottom:1rem}.icon-card{background:rgba(15,23,42,.5);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;align-items:center;transition:background-color .2s ease,border-color .2s ease}.icon-card:hover{background:rgba(30,41,59,.7);border-color:#fff3}.icon-image-container{width:100%;aspect-ratio:1 / 1;display:flex;justify-content:center;align-items:center;margin-bottom:1rem;overflow:hidden;border-radius:8px;background-color:#1e293b4d}.icon-image{width:100%;height:100%;object-fit:contain;display:block}.icon-placeholder{width:100%;height:100%;display:flex;justify-content:center;align-items:center;color:#94a3b8;font-size:.875rem;text-align:center;padding:1rem;box-sizing:border-box}.icon-actions{width:100%;display:flex;justify-content:flex-end}.add-icon-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.add-icon-card{width:100%;max-width:800px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:1.5rem}.add-icon-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin:0;text-align:center}.dropzone{border:2px dashed #475569;border-radius:12px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:border-color .2s ease,background-color .2s ease;background-color:#1e293b80;display:flex;justify-content:center;align-items:center}.files-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;width:100%}.file-preview-card{background-color:#0f172ab3;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:.75rem;display:flex;flex-direction:column;align-items:center;gap:.5rem}.file-preview-image-container{width:100%;aspect-ratio:1 / 1;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:6px;background-color:#1e293b4d}.file-name{font-size:.75rem;color:#cbd5e1;word-break:break-all;flex-grow:1}.flags-page-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.flags-page-card{width:100%;max-width:1200px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}.flags-page-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin-bottom:1rem;text-align:center}.upload-flags-button{padding:.875rem 2rem;border-radius:8px;border:1px solid #3b82f6;background-color:#3b82f6;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,border-color .2s ease;width:100%;max-width:300px}.upload-flags-button:hover{background-color:#2563eb;border-color:#1d4ed8}.flags-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;width:100%;padding-bottom:1rem}.flag-card{background:rgba(15,23,42,.5);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;align-items:center;transition:background-color .2s ease,border-color .2s ease}.flag-card:hover{background:rgba(30,41,59,.7);border-color:#fff3}.flag-image-container{width:100%;aspect-ratio:1 / 1;display:flex;justify-content:center;align-items:center;margin-bottom:1rem;overflow:hidden;border-radius:8px;background-color:#1e293b4d}.flag-image{width:100%;height:100%;object-fit:contain;display:block}.flag-placeholder{width:100%;height:100%;display:flex;justify-content:center;align-items:center;color:#94a3b8;font-size:.875rem;text-align:center;padding:1rem;box-sizing:border-box}.flag-name-container{width:100%;display:flex;justify-content:center;align-items:center;margin-bottom:.5rem}.flag-name-label{font-size:.875rem;color:#cbd5e1;text-align:center;word-break:break-all;padding:.25rem .5rem;background-color:#1e293b80;border-radius:4px;max-width:100%;overflow-wrap:break-word}.flag-actions{width:100%;display:flex;justify-content:flex-end}.add-flag-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.add-flag-card{width:100%;max-width:1000px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:1.5rem}.add-flag-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin:0;text-align:center}.dropzone{border:2px dashed #475569;border-radius:12px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:border-color .2s ease,background-color .2s ease;background-color:#1e293b80;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem}.dropzone-active{border-color:#60a5fa;background-color:#60a5fa1a}.dropzone-icon{width:3rem;height:3rem;color:#94a3b8}.dropzone-text{color:#94a3b8;font-size:1rem;margin:0}.files-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;width:100%}.file-preview-card{background:rgba(15,23,42,.7);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;align-items:center;gap:.75rem}.file-preview-image-container{width:100%;aspect-ratio:1 / 1;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:8px;background-color:#1e293b4d}.file-preview-image{width:100%;height:100%;object-fit:contain;display:block}.file-preview-info{width:100%;display:flex;justify-content:space-between;align-items:center;gap:.5rem}.file-name{font-size:.875rem;color:#cbd5e1;word-break:break-all;flex-grow:1}.remove-file-button{background:none;border:1px solid #dc2626;color:#fca5a5;border-radius:50%;width:1.5rem;height:1.5rem;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:1rem;padding:0;transition:background-color .2s ease,color .2s ease}.remove-file-button:hover{background-color:#dc26261a;color:#fecaca}.country-selection{width:100%;display:flex;flex-direction:column;gap:.25rem}.country-selection label{font-size:.875rem;color:#94a3b8}.country-select-input{padding:.5rem;border-radius:8px;border:1px solid #475569;background-color:#1e293b;color:#f1f5f9;font-size:.875rem;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}.country-select-input:hover{background-color:#334155}.country-select-input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 2px #60a5fa33}.upload-button-container{display:flex;justify-content:center;width:100%}.upload-button{padding:.875rem 2rem;border-radius:8px;border:1px solid #3b82f6;background-color:#3b82f6;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,border-color .2s ease;width:100%;max-width:300px}.upload-button:hover:not(:disabled){background-color:#2563eb;border-color:#1d4ed8}.upload-button:disabled{opacity:.6;cursor:not-allowed}.fonts-page-container{min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b);padding:2rem 1rem;color:#e2e8f0;font-family:Inter,sans-serif;display:flex;justify-content:center;align-items:flex-start}.fonts-page-card{width:100%;max-width:1200px;background:rgba(30,41,59,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem 2rem;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}.fonts-page-title{font-size:1.75rem;font-weight:600;color:#f8fafc;margin-bottom:1rem;text-align:center}.upload-button-container{display:flex;justify-content:center;margin-bottom:1.5rem}.upload-fonts-button{padding:.875rem 2rem;border-radius:8px;border:1px solid #3b82f6;background-color:#3b82f6;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,border-color .2s ease;width:100%;max-width:300px}.upload-fonts-button:hover{background-color:#2563eb;border-color:#1d4ed8}.empty-state{flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#94a3b8}.empty-title{font-size:1.25rem;font-weight:500;margin-bottom:.5rem}.empty-subtitle{font-size:1rem;color:#64748b}.fonts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;width:100%;padding-bottom:1rem}.font-card{background:rgba(15,23,42,.5);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;align-items:center;transition:background-color .2s ease,border-color .2s ease}.font-card:hover{background:rgba(30,41,59,.7);border-color:#fff3}.font-display-container{width:100%;aspect-ratio:4 / 1;display:flex;justify-content:center;align-items:center;margin-bottom:1rem;overflow:hidden;border-radius:8px;background-color:#1e293b4d;border:1px solid rgba(255,255,255,.1)}.font-display-text{font-size:1.5rem;font-weight:400;color:#f1f5f9;text-align:center;padding:0 1rem;word-break:break-word}.font-actions{width:100%;display:flex;justify-content:flex-end}.action-button{padding:.5rem;border-radius:8px;border:1px solid #475569;background-color:#1e293b80;color:#cbd5e1;cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease;display:flex;align-items:center;justify-content:center}.action-button:hover:not(:disabled){background-color:#475569;color:#f1f5f9;border-color:#64748b}.action-button:disabled{opacity:.5;cursor:not-allowed}.delete-button{border-color:#dc2626;color:#fca5a5}.delete-button:hover:not(:disabled){background-color:#dc26261a;color:#fecaca;border-color:#f87171}.action-icon{width:1.25rem;height:1.25rem}.loading-spinner{width:1rem;height:1rem;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite;margin-right:.25rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-spinner-full{width:3rem;height:3rem;border:3px solid transparent;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:2rem auto}@tailwind base;@tailwind components;@tailwind utilities;body{font-family:Inter,sans-serif;background-color:#111827;color:#e5e7eb}
