html{font-family:Inter,Arial,sans-serif}body{margin:0}*{box-sizing:border-box}:root{color:#1f2937;font-synthesis:none;background-color:#f8fafc;font-family:Inter,Arial,sans-serif}body{color:#1f2937;background-color:#f8fafc;min-width:320px;min-height:100vh;margin:0}#root{width:100%;min-height:100vh}h1,h2,h3{color:#111827;line-height:1.3}h1{font-size:28px}h2{font-size:22px}h3{font-size:18px}p{line-height:1.6}a{color:#2563eb}a:hover{color:#1d4ed8}button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:500;transition:background-color .2s}button:hover{background-color:#1d4ed8}button:disabled{cursor:not-allowed;background-color:#9ca3af}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #2563eb}form{flex-direction:column;gap:14px;display:flex}input,select,textarea{color:#111827;width:100%;max-width:100%;font:inherit;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px;font-size:14px}input:focus,select:focus,textarea:focus{border-color:#2563eb;outline:none}input[type=file]{cursor:pointer}label{color:#374151;font-weight:500}.auth-container,.login-container,.register-container{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;max-width:440px;margin:80px auto;padding:32px;box-shadow:0 4px 16px #0000000d}.auth-container h1,.login-container h1,.register-container h1{text-align:center;margin-top:0}.auth-container button,.login-container button,.register-container button{width:100%}.dashboard{width:100%;max-width:1200px;margin:0 auto;padding:24px}.dashboard-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.dashboard-header h1{color:#111827;margin:0}.dashboard-header button{background-color:#ef4444}.dashboard-header button:hover{background-color:#dc2626}.dashboard-nav{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:12px;margin-bottom:24px;padding-bottom:16px;display:flex}.dashboard-nav button{color:#374151;background-color:#e5e7eb;border-radius:8px;padding:12px 20px;font-weight:500}.dashboard-nav button:hover{background-color:#d1d5db}.dashboard-nav button.active{color:#fff;background-color:#2563eb}.dashboard-nav button.active:hover{background-color:#1d4ed8}.panel{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;margin-bottom:24px;padding:28px;box-shadow:0 2px 8px #00000008}.panel h2{margin-top:0;margin-bottom:18px}.panel p{color:#475569}.dashboard-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px;display:grid}.overview-card{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.overview-card h3{margin-top:0;margin-bottom:12px}.overview-card p{color:#64748b;margin-bottom:20px}.resume-upload{flex-direction:column;gap:16px;display:flex}.resume-upload input[type=file]{background-color:#f8fafc;border:1px dashed #94a3b8;padding:12px}.resume-upload button{align-self:flex-start}.resume-list{flex-direction:column;gap:16px;display:flex}.resume-card{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;padding:20px;display:flex}.resume-card h3{overflow-wrap:anywhere;margin:0;font-size:16px}.resume-actions{flex-wrap:wrap;flex-shrink:0;gap:10px;display:flex}.resume-actions button{padding:9px 14px}.resume-actions button:last-child{background-color:#ef4444}.resume-actions button:last-child:hover{background-color:#dc2626}.panel ul{padding-left:22px}.panel li{overflow-wrap:anywhere;margin-bottom:8px;line-height:1.6}.panel h3{margin-top:22px;margin-bottom:8px}.job-search-form{flex-direction:column;gap:16px;margin-bottom:24px;display:flex}.job-search-form label{margin-bottom:6px;display:block}.job-search-form select{width:100%}.job-search-form button{align-self:flex-start}.job-results{flex-direction:column;gap:18px;margin-top:24px;display:flex}.job-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000008}.job-card-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;display:flex}.job-card h3{color:#111827;margin:0 0 8px;font-size:18px}.job-card p{color:#475569}.match-score{color:#1d4ed8;white-space:nowrap;background-color:#dbeafe;border-radius:8px;flex-shrink:0;padding:8px 12px;font-size:14px;font-weight:700;display:inline-block}.job-description{color:#475569;overflow-wrap:anywhere;margin:16px 0;line-height:1.7}.job-link{color:#fff;background-color:#2563eb;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:500;text-decoration:none;display:inline-block}.job-link:hover{color:#fff;background-color:#1d4ed8}.error-message{color:#b91c1c;background-color:#fef2f2;border-radius:8px;margin:12px 0;padding:12px 16px}.success-message{color:#15803d;background-color:#f0fdf4;border-radius:8px;margin:12px 0;padding:12px 16px}.loading-message{color:#64748b;font-style:italic}@media (width<=900px){.dashboard{padding:20px}.resume-card{flex-direction:column;align-items:flex-start}.resume-actions{width:100%}}@media (width<=768px){.dashboard{padding:16px}.dashboard-header{gap:12px}.dashboard-header h1{font-size:22px}.dashboard-nav{gap:8px}.dashboard-nav button{white-space:nowrap;flex:1;padding:11px 8px;font-size:13px}.dashboard-overview{grid-template-columns:1fr}.overview-card,.panel{padding:18px}.panel h2{font-size:20px}.resume-card{padding:16px}.resume-actions{flex-direction:column}.resume-actions button{width:100%}.job-card{padding:18px}.job-card-header{flex-direction:column;gap:12px}.match-score{align-self:flex-start}.job-search-form button{width:100%}.auth-container,.login-container,.register-container{width:calc(100% - 32px);margin:24px auto;padding:20px}}@media (width<=400px){.dashboard-header h1{font-size:19px}.dashboard-nav button{padding:10px 6px;font-size:12px}.panel,.overview-card{padding:14px}}.modal-overlay{z-index:1000;background:#0f172aa6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-content{color:#1e293b;background:#fff;border-radius:16px;width:100%;max-width:850px;max-height:85vh;padding:32px;position:relative;overflow-y:auto;box-shadow:0 20px 60px #00000040}.modal-close{float:right;color:#334155;cursor:pointer;z-index:10;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-top:-14px;margin-right:-18px;font-size:26px;line-height:1;display:flex;position:sticky;top:0}.modal-close:hover{background:#e2e8f0}.modal-analysis h2{margin-top:0;padding-right:45px}.modal-analysis h3{margin-top:24px;margin-bottom:8px}.modal-analysis p,.modal-analysis li{line-height:1.7}.modal-content .panel{box-shadow:none;background:0 0;border:none;margin:0;padding:0}@media (width<=600px){.modal-overlay{padding:10px}.modal-content{border-radius:12px;max-height:92vh;padding:24px 18px}}.location-selector{width:100%;position:relative}.job-search-form .location-trigger{color:#1e293b;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:12px 14px;display:flex}.location-dropdown{z-index:100;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:8px;position:absolute;top:100%;left:0;right:0;box-shadow:0 12px 30px #0000001f}.location-dropdown input{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:10px}.location-options{max-height:240px;margin-top:8px;overflow-y:auto}.job-search-form .location-option{color:#334155;text-align:left;width:100%;box-shadow:none;background:#fff;border:none;border-radius:6px;margin:0;padding:10px 12px;font-size:14px;font-weight:400;display:block}.job-search-form .location-option:hover{color:#1e293b;background:#f1f5f9}.job-search-form .location-option.selected{color:#2563eb;background:#eff6ff;font-weight:600}.tailored-resume-preview{color:#111827;box-sizing:border-box;overflow-wrap:anywhere;background:#fff;border:1px solid #e5e7eb;width:100%;max-width:794px;margin:24px auto;padding:48px 56px;font-family:Arial,Helvetica,sans-serif;line-height:1.4;box-shadow:0 4px 18px #00000014}.tailored-resume-header{text-align:center;margin-bottom:24px}.tailored-resume-header h1{color:#111827;margin:0 0 8px;font-size:26px;font-weight:700}.tailored-resume-header p{color:#374151;margin:0;font-size:12px}.tailored-resume-section{margin-top:20px}.tailored-resume-section h2{color:#111827;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #111827;margin:0 0 12px;padding-bottom:5px;font-size:14px;font-weight:700}.tailored-resume-section p{margin:4px 0 8px;font-size:12px}.tailored-resume-entry-header{justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;display:flex}.tailored-resume-entry-header span{text-align:right}.tailored-resume-section strong{font-size:12px}.tailored-resume-section ul{margin:6px 0 14px;padding-left:20px}.tailored-resume-section li{margin-bottom:5px;font-size:12px}@media (width<=600px){.tailored-resume-preview{padding:24px 20px}.tailored-resume-entry-header{flex-direction:column;gap:2px}}.tailored-preview-container{box-sizing:border-box;border-top:1px solid #e5e7eb;width:100%;margin-top:20px;padding-top:20px}.tailored-preview-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.tailored-preview-toolbar h3{margin:0}.tailored-preview-container .tailored-resume-preview{max-width:100%;margin:0 auto}.tailored-resume-downloads{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.download-error{color:#dc2626;width:100%;font-size:14px}.tailored-cv-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.tailored-cv-actions{align-items:center;gap:10px;display:flex}.tailored-resume-downloads{align-items:center;gap:10px;margin:0;display:flex}.tailored-resume-downloads button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:10px;padding:12px 16px;font-size:14px;font-weight:600}.tailored-resume-downloads button:hover{background-color:#1d4ed8}.tailored-resume-downloads button:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.tailored-cv-header,.tailored-cv-actions{flex-wrap:wrap}}.tailored-preview-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.tailored-preview-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tailored-preview-actions .tailored-resume-downloads{align-items:center;gap:10px;margin:0;display:flex}.tailored-preview-actions button{white-space:nowrap}@media (width<=700px){.tailored-preview-toolbar{align-items:flex-start}.tailored-preview-actions{width:100%}}.job-card .job-link{margin-right:10px}.auth-container h2{margin-bottom:24px}@media (width<=480px){.auth-container{margin:24px auto;padding:20px}}.auth-container{box-sizing:border-box;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;width:calc(100% - 32px);max-width:420px;margin:60px auto;padding:30px}.auth-container h2{text-align:center;margin-top:0;margin-bottom:24px}.auth-container form{flex-direction:column;gap:16px;display:flex}.auth-container input{box-sizing:border-box;width:100%}.auth-container button{width:100%}.auth-container p{text-align:center;margin-top:16px}@media (width<=480px){.auth-container{margin:24px auto;padding:20px}}.auth-container>div{width:100%}.auth-container .auth-switch-button{color:#2563eb;cursor:pointer;background-color:#0000;border:1px solid #2563eb;border-radius:8px;width:100%;margin-top:16px;padding:12px}.auth-container .auth-switch-button:hover{background-color:#eff6ff}h1{text-align:center;margin-top:70px;margin-bottom:0}
