:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Arial,sans-serif}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}@media (width<=480px){.auth-card{padding:28px 22px}}*{box-sizing:border-box}.auth-container{background:#f4f6fb;justify-content:center;align-items:center;min-height:100vh;padding:30px 20px;font-family:Arial,sans-serif;display:flex}.auth-card{background:#fff;border-radius:16px;width:100%;max-width:440px;padding:40px;box-shadow:0 8px 30px #00000014}.auth-brand{justify-content:center;align-items:center;gap:12px;margin-bottom:32px;display:flex}.brand-icon{color:#fff;background:#3157d5;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:24px;font-weight:700;display:flex}.auth-brand h1{color:#202b46;margin:0;font-size:24px}.auth-heading{text-align:center;margin-bottom:28px}.auth-heading h2{color:#202b46;margin-bottom:10px;font-size:25px}.auth-heading p{color:#7b8498;margin:0;font-size:14px;line-height:1.6}.form-group{margin-bottom:20px}.form-group label{color:#303b54;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.form-group input{border:1px solid #dce1eb;border-radius:8px;outline:none;width:100%;padding:13px 14px;font-size:14px;transition:border-color .2s}.form-group input:focus{border-color:#3157d5}.auth-button{color:#fff;cursor:pointer;background:#3157d5;border:none;border-radius:8px;width:100%;margin-top:8px;padding:14px;font-size:15px;font-weight:600;transition:background .2s}.auth-button:hover{background:#2445b5}.auth-footer{color:#7b8498;text-align:center;margin-top:24px;font-size:14px}.auth-footer a{color:#3157d5;font-weight:600;text-decoration:none}.auth-footer a:hover{text-decoration:underline}@media (width<=480px){.auth-card{padding:28px 22px}}.error-message{color:#c62828;background:#fff1f1;border:1px solid #f3b7b7;border-radius:8px;margin-bottom:18px;padding:12px 14px;font-size:13px}.error-message p{margin:4px 0}.auth-button:disabled{opacity:.7;cursor:not-allowed}.dashboard-container{color:#202b46;background:#f4f6fb;min-height:100vh;font-family:Arial,sans-serif}.dashboard-header{background:#fff;justify-content:space-between;align-items:center;gap:20px;min-height:78px;padding:16px 6%;display:flex;box-shadow:0 2px 12px #0000000a}.dashboard-brand,.dashboard-user{align-items:center;gap:12px;display:flex}.dashboard-brand h1{margin:0;font-size:22px}.dashboard-user{color:#59647a;font-size:14px;font-weight:600}.logout-button{color:#3157d5;cursor:pointer;background:#fff;border:1px solid #dce1eb;border-radius:8px;padding:10px 18px;font-weight:600}.logout-button:hover{background:#f0f3ff}.dashboard-content{width:100%;max-width:1200px;margin:0 auto;padding:45px 24px}.dashboard-welcome{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.dashboard-welcome h2{margin:0 0 10px;font-size:30px}.dashboard-welcome p,.links-section-header p{color:#7b8498;margin:0;font-size:14px;line-height:1.6}.add-link-button{color:#fff;cursor:pointer;background:#3157d5;border:none;border-radius:9px;padding:13px 20px;font-size:14px;font-weight:600;transition:background .2s,transform .2s}.add-link-button:hover{background:#2445b5;transform:translateY(-1px)}.add-link-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:35px;display:grid}.stat-card{background:#fff;border:1px solid #edf0f6;border-radius:13px;padding:24px;box-shadow:0 4px 16px #202b4608}.stat-label{color:#7b8498;margin-bottom:12px;font-size:14px;display:block}.stat-card strong{color:#3157d5;font-size:30px}.links-section{background:#fff;border:1px solid #edf0f6;border-radius:14px;padding:26px;box-shadow:0 4px 16px #202b4608}.links-section-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.links-section-header h3{margin:0 0 8px;font-size:20px}.category-filter{color:#303b54;cursor:pointer;background:#fff;border:1px solid #dce1eb;border-radius:8px;outline:none;min-width:170px;padding:11px 13px;font-size:14px}.category-filter:focus{border-color:#3157d5}.links-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.link-card{background:#fff;border:1px solid #e8ebf2;border-radius:12px;min-width:0;padding:20px;transition:box-shadow .2s,transform .2s}.link-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #202b4614}.link-card-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.link-category{color:#3157d5;background:#edf1ff;border-radius:20px;padding:6px 11px;font-size:12px;font-weight:600}.link-card-icon{font-size:20px}.link-card h3{overflow-wrap:anywhere;margin:0 0 12px;font-size:17px}.saved-link-url{color:#7b8498;overflow-wrap:anywhere;margin-bottom:20px;font-size:13px;line-height:1.6;text-decoration:none;display:block}.saved-link-url:hover{color:#3157d5;text-decoration:underline}.link-card-actions{border-top:1px solid #edf0f6;gap:10px;padding-top:15px;display:flex}.edit-link-button,.delete-link-button{cursor:pointer;background:#fff;border:1px solid #dce1eb;border-radius:7px;flex:1;padding:9px;font-size:13px;font-weight:600}.edit-link-button{color:#3157d5}.edit-link-button:hover{background:#f0f3ff}.delete-link-button{color:#d04444}.delete-link-button:hover{background:#fff1f1}.empty-state{text-align:center;padding:55px 20px}.empty-icon{margin-bottom:15px;font-size:42px}.empty-state h3{margin:0 0 10px;font-size:19px}.empty-state p{color:#7b8498;max-width:430px;margin:0 auto 22px;font-size:14px;line-height:1.7}.dashboard-alert{border-radius:8px;margin-bottom:20px;padding:13px 16px;font-size:14px}.error-message{color:#c62828;background:#fff1f1;border:1px solid #f3b7b7}.success-message{color:#24743b;background:#effaf2;border:1px solid #b8e3c5}.dashboard-loading{color:#7b8498;background:#f4f6fb;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:100vh;display:flex}.loading-spinner{border:4px solid #dce4ff;border-top-color:#3157d5;border-radius:50%;width:38px;height:38px;animation:.8s linear infinite dashboard-spin}@keyframes dashboard-spin{to{transform:rotate(360deg)}}.modal-overlay{z-index:10;background:#141e377a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.link-modal{background:#fff;border-radius:15px;width:100%;max-width:500px;max-height:90vh;padding:28px;overflow-y:auto;box-shadow:0 15px 50px #00000029}.modal-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.modal-header h2{margin:0;font-size:22px}.modal-close{color:#59647a;cursor:pointer;background:#f1f3f8;border:none;border-radius:8px;width:34px;height:34px;font-size:23px}.link-modal .form-group{margin-bottom:18px}.link-modal .form-group label{color:#303b54;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.link-modal .form-group input{border:1px solid #dce1eb;border-radius:8px;outline:none;width:100%;padding:13px;font-size:14px}.link-modal .form-group input:focus{border-color:#3157d5}.modal-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.cancel-button{color:#59647a;cursor:pointer;background:#fff;border:1px solid #dce1eb;border-radius:8px;padding:12px 18px;font-weight:600}@media (width<=900px){.links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.dashboard-header{padding:15px 18px}.dashboard-brand h1{font-size:18px}.dashboard-user{gap:8px;font-size:12px}.logout-button{padding:9px 11px;font-size:12px}.dashboard-content{padding:30px 16px}.dashboard-welcome{flex-direction:column;align-items:flex-start}.dashboard-welcome h2{font-size:25px}.dashboard-stats{gap:10px}.stat-card{padding:17px}.stat-card strong{font-size:25px}.links-section{padding:18px}.links-section-header{flex-direction:column;align-items:flex-start}.category-filter{width:100%}.links-grid{grid-template-columns:1fr}.link-modal{padding:22px}}.delete-modal>p{color:#59647a;font-size:14px;line-height:1.7}.delete-modal>p strong{color:#202b46}.delete-modal .delete-link-button{color:#fff;background:#d04444;border-color:#d04444}.delete-modal .delete-link-button:hover{background:#b83232}.delete-modal .delete-link-button:disabled{opacity:.7;cursor:not-allowed}.dashboard-brand .brand-icon{color:#fff;background:#3157d5;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:20px;font-weight:700;display:flex}
