*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh}body{color:#0f172a;background-color:#eef4ff;background-image:radial-gradient(circle at 20% 20%,#2563eb2e,#0000 25%),radial-gradient(circle at 80% 30%,#06b6d426,#0000 30%),radial-gradient(circle at 50% 80%,#8b5cf61f,#0000 30%),none;background-position:0 0,0 0,0 0,0 0;background-repeat:repeat,repeat,repeat,repeat;background-size:200% 200%;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;font-family:Segoe UI,sans-serif;animation:18s infinite bgMove;overflow-x:hidden}@keyframes bgMove{0%{background-position:0%}50%{background-position:100%}to{background-position:0%}}body:before{content:"";opacity:.12;pointer-events:none;z-index:-1;background-image:radial-gradient(#60a5fa 1px,#0000 1px);background-size:40px 40px;position:fixed;inset:0}.logo-title{flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.logo-title h1{background:linear-gradient(90deg,#2563eb,#06b6d4);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin-bottom:10px;font-size:52px;font-weight:800}.logo-title p{color:#475569;margin-bottom:25px;font-size:18px}.auth-container{justify-content:center;width:100%;display:flex}.auth-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe0;border:1px solid #fff9;border-radius:28px;width:500px;padding:40px;box-shadow:0 20px 50px #0000001f}.auth-card h1{text-align:center;color:#2563eb;margin-bottom:10px}.auth-card h2{text-align:center;margin-bottom:25px}.auth-card input{background:#eef4ff;border:none;border-radius:14px;width:100%;margin-bottom:15px;padding:15px;font-size:15px}.auth-card input:focus{outline:none;box-shadow:0 0 0 3px #2563eb26}.auth-card button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#06b6d4);border:none;border-radius:14px;width:100%;padding:15px;font-weight:700}.auth-card button:hover{transform:translateY(-2px)}.auth-card p{text-align:center;margin-top:18px}.auth-card a{color:#2563eb;font-weight:700;text-decoration:none}.user-header{color:#fff;background:linear-gradient(135deg,#0f172a,#1e3a8a);justify-content:space-between;align-items:center;padding:25px 40px;display:flex;box-shadow:0 10px 30px #0000001f}.user-header h3{font-size:30px}.user-header p{color:#cbd5e1;margin-top:8px}.user-header button{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:12px;padding:14px 22px;font-weight:700}.crm-container{gap:25px;padding:30px;display:flex}.form-panel{flex:2}.ai-panel{flex:1}.form-panel,.ai-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-radius:24px;padding:25px;box-shadow:0 15px 40px #00000014}.form-panel h2,.ai-panel h3{margin-bottom:25px}.form-group{margin-bottom:18px}.form-group label{margin-bottom:8px;font-weight:600;display:block}.form-group input,.form-group textarea,.form-group select{color:#0f172a;background:#f1f5f9;border:none;border-radius:12px;width:100%;padding:13px}.form-group textarea{resize:vertical;min-height:100px}.row{gap:15px;display:flex}.row .form-group{flex:1}.chat-box textarea{background:#f1f5f9;border:none;border-radius:14px;width:100%;height:250px;padding:15px}.ai-panel button{color:#fff;background:linear-gradient(135deg,#2563eb,#06b6d4);border:none;border-radius:14px;width:100%;margin-top:15px;padding:15px;font-weight:700}.tools-box{background:#f8fafc;border-radius:16px;margin-top:20px;padding:20px}.tools-box ul{padding-left:20px}.tools-box li{margin-bottom:6px}.action-buttons{gap:12px;margin-top:20px;display:flex}.action-buttons button{color:#fff;cursor:pointer;border:none;border-radius:12px;flex:1;padding:15px;font-weight:700}.save-btn{background:#16a34a}.history-btn{background:#f59e0b}.logout-btn{background:#ef4444}.history-page{padding:30px}.history-header{background:#fff;border-radius:24px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:25px;display:flex;box-shadow:0 15px 40px #00000014}.history-header h2{color:#1e293b;margin-bottom:8px}.history-header p{color:#64748b}.history-actions{gap:10px;display:flex}.history-actions button{color:#fff;cursor:pointer;border:none;border-radius:10px;padding:12px 18px;font-weight:700}.history-actions button:first-child{background:#2563eb}.history-actions button:nth-child(2){background:#dc2626}.history-actions button:nth-child(3){background:#16a34a}.history-actions button:nth-child(4){background:#64748b}.search-box{background:#fff;border:none;border-radius:12px;width:100%;margin-bottom:20px;padding:14px;box-shadow:0 5px 20px #0000000d}.history-table{border-collapse:collapse;background:#fff;border-radius:20px;width:100%;overflow:hidden;box-shadow:0 15px 40px #00000014}.history-table thead{color:#fff;background:linear-gradient(135deg,#0f172a,#1e3a8a)}.history-table th,.history-table td{text-align:left;padding:16px}.history-table tbody tr{border-bottom:1px solid #e5e7eb}.history-table tbody tr:nth-child(2n){background:#f8fafc}.history-table tbody tr:hover .pagination{justify-content:center;align-items:center;gap:15px;margin-top:25px;display:flex}.pagination button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;padding:12px 20px}.footer{text-align:center;color:#fff;background:#0f172a;margin-top:40px;padding:25px}.footer-content{flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;margin-bottom:15px;display:flex}.footer-content a{color:#38bdf8;font-weight:600;text-decoration:none}.footer-content a:hover{color:#fff}@media (width<=900px){.crm-container,.row,.action-buttons{flex-direction:column}.history-header{flex-direction:column;align-items:flex-start;gap:15px}.history-actions{flex-wrap:wrap}.history-table{display:block;overflow-x:auto}.auth-card{width:95%}.user-header{text-align:center;flex-direction:column;gap:15px}.logo-title h1{font-size:36px}}body{background:#f4f7fc;margin:0;font-family:Segoe UI,sans-serif}
