:root{--color-bg-primary:rgb(255,255,248);--color-bg-secondary:rgb(235,235,225);--color-blue-primary:rgb(22,68,213);--color-blue-dark:rgb(19,38,68);--color-blue-light:rgba(139,195,222,0.54);--color-blue-light-solid:rgb(139,195,222);--color-accent-primary:rgb(225,255,103);--color-accent-dark:rgb(23,28,34);--gradient-primary:linear-gradient(135deg,rgb(225,255,103),rgb(139,195,222));--gradient-primary-reverse:linear-gradient(135deg,rgb(139,195,222),rgb(225,255,103));--gradient-blue:linear-gradient(135deg,rgb(22,68,213),rgb(139,195,222));--gradient-warm:linear-gradient(135deg,rgb(255,255,248),rgb(235,235,225));--font-primary:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--font-secondary:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--font-heading:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--font-body:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--font-ui:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--font-weight-light:300;--font-weight-regular:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--blur-none:blur(0px);--blur-sm:blur(4px);--blur-md:blur(8px);--blur-lg:blur(16px);--blur-xl:blur(24px);--blur-2xl:blur(40px);--blur-3xl:blur(64px);--spacing-0:0;--spacing-1:0.25rem;--spacing-2:0.5rem;--spacing-3:0.75rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-8:2rem;--spacing-10:2.5rem;--spacing-12:3rem;--spacing-16:4rem;--spacing-20:5rem;--spacing-24:6rem;--radius-sm:3px;--radius-md:4px;--radius-lg:6px;--radius-xl:8px;--radius-2xl:12px;--radius-3xl:16px;--radius-full:9999px;--shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);--shadow-md:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -2px rgba(0,0,0,0.1);--shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -4px rgba(0,0,0,0.1);--shadow-xl:0 20px 25px -5px rgba(0,0,0,0.1),0 8px 10px -6px rgba(0,0,0,0.1);--shadow-2xl:0 25px 50px -12px rgba(0,0,0,0.25);--shadow-blue:0 4px 14px 0 rgba(22,68,213,0.15);--shadow-accent:0 4px 14px 0 rgba(225,255,103,0.15);--transition-fast:150ms ease-in-out;--transition-normal:250ms ease-in-out;--transition-slow:350ms ease-in-out;--container-max-width:1340px}.project-chat{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:3px;overflow:hidden;font-family:Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.project-chat .chat-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border-bottom:1px solid hsla(0,0%,100%,.1)}.project-chat .chat-header .chat-user-info h3{margin:0;font-size:18px;font-weight:600}.project-chat .chat-header .chat-user-info .user-role{font-size:12px;opacity:.8;text-transform:uppercase;letter-spacing:.5px}.project-chat .chat-messages{flex:1 1;overflow-y:auto;padding:20px;background:#fff}.project-chat .chat-messages::-webkit-scrollbar{width:6px}.project-chat .chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.project-chat .chat-messages::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.project-chat .chat-messages::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.project-chat .chat-messages .loading-messages{display:flex;justify-content:center;align-items:center;height:100px;color:#64748b;font-style:italic}.project-chat .chat-messages .empty-messages{display:flex;justify-content:center;align-items:center;height:200px;color:#64748b;font-style:italic;text-align:center}.project-chat .chat-messages .empty-messages p{margin:0;font-size:16px}.project-chat .chat-messages .message{margin-bottom:16px;display:flex;align-items:flex-end;gap:8px}.project-chat .chat-messages .message.sent{justify-content:flex-end}.project-chat .chat-messages .message.sent .message-content{background:#ebebe1;color:#fff;border-radius:18px 18px 4px 18px;max-width:70%}.project-chat .chat-messages .message.sent .message-content .message-time{font-weight:600;color:#171c22}.project-chat .chat-messages .message.sent .message-avatar{order:2}.project-chat .chat-messages .message.received{justify-content:flex-start}.project-chat .chat-messages .message.received .message-content{background:#fff;color:#1e293b;border-radius:18px 18px 18px 4px;max-width:70%;box-shadow:0 2px 8px rgba(0,0,0,.1)}.project-chat .chat-messages .message.received .message-content .message-time{color:#64748b}.project-chat .chat-messages .message.received .message-content .unread-indicator{color:#28a745;font-weight:700;margin-left:8px}.project-chat .chat-messages .message.received .message-avatar{order:0}.project-chat .chat-messages .message .message-avatar{flex-shrink:0}.project-chat .chat-messages .message .message-avatar .avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,rgb(139,195,222),rgb(169,216,180));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.project-chat .chat-messages .message .message-content{padding:12px 16px;position:relative}.project-chat .chat-messages .message .message-content p{margin:0 0 4px;line-height:1.4;word-wrap:break-word}.project-chat .chat-messages .message .message-content .message-attachments{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}.project-chat .chat-messages .message .message-content .message-attachment{display:block;text-decoration:none;color:inherit}.project-chat .chat-messages .message .message-content .message-attachment--image img{display:block;max-width:220px;max-height:180px;border-radius:10px;object-fit:cover;border:1px solid rgba(0,0,0,.08)}.project-chat .chat-messages .message .message-content .message-attachment--pdf{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:hsla(0,0%,100%,.85);border:1px solid rgba(0,0,0,.08);max-width:100%}.project-chat .chat-messages .message .message-content .message-attachment--pdf .message-attachment__icon{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:28px;border-radius:6px;background:#ef4444;color:#fff;font-size:10px;font-weight:700}.project-chat .chat-messages .message .message-content .message-attachment--pdf .message-attachment__name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-chat .chat-messages .message .message-content .message-time{font-size:11px;display:flex;align-items:center;gap:4px}.project-chat .chat-messages .typing-indicator{padding:8px 16px;color:#666;font-size:12px;font-style:italic;background:hsla(0,0%,100%,.8);border-radius:12px;margin-bottom:8px;display:inline-block}.project-chat .chat-input-form{padding:16px 20px;background:#fff;border-top:0}.project-chat .chat-input-form .chat-pending-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.project-chat .chat-input-form .chat-pending-attachment{position:relative;width:72px;height:72px;border-radius:8px;overflow:hidden;border:1px solid #e2e8f0;background:#f8fafc}.project-chat .chat-input-form .chat-pending-attachment img{width:100%;height:100%;object-fit:cover}.project-chat .chat-input-form .chat-pending-attachment__label{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:8px;font-size:11px;font-weight:600;text-align:center;color:#334155;word-break:break-word}.project-chat .chat-input-form .chat-pending-attachment__remove{position:absolute;top:4px;right:4px;width:22px;height:22px;border:none;border-radius:50%;background:rgba(15,23,42,.75);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.project-chat .chat-input-form .chat-pending-attachment__remove svg{width:14px;height:14px}.project-chat .chat-input-form .chat-input-container{display:flex;gap:12px;align-items:center}.project-chat .chat-input-form .chat-input-container .chat-file-input{display:none}.project-chat .chat-input-form .chat-input-container .attach-btn{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e2e8f0;border-radius:3px;background:#fff;color:#475569;cursor:pointer;flex-shrink:0;transition:all .2s ease}.project-chat .chat-input-form .chat-input-container .attach-btn svg{width:20px;height:20px}.project-chat .chat-input-form .chat-input-container .attach-btn:hover:not(:disabled){border-color:#8bc3de;color:#1d4ed8}.project-chat .chat-input-form .chat-input-container .attach-btn:disabled{opacity:.5;cursor:not-allowed}.project-chat .chat-input-form .chat-input-container .chat-input{flex:1 1;padding:12px 16px;border:1px solid #e2e8f0;border-radius:3px;font-size:14px;outline:none;transition:border-color .2s ease;background:#fff}.project-chat .chat-input-form .chat-input-container .chat-input:focus{border-color:#8bc3de}.project-chat .chat-input-form .chat-input-container .chat-input:disabled{background-color:#f1f5f9;cursor:not-allowed}.project-chat .chat-input-form .chat-input-container .chat-input::placeholder{color:#94a3b8}.project-chat .chat-input-form .chat-input-container .send-btn{padding:12px 20px;background:#c5eb8e;color:#000;border:none;border-radius:3px;font-size:14px;font-weight:500;text-transform:uppercase;cursor:pointer;transition:all .2s ease;min-width:80px}.project-chat .chat-input-form .chat-input-container .send-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px rgba(40,167,69,.4)}.project-chat .chat-input-form .chat-input-container .send-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.project-chat .chat-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;color:#dc3545}.project-chat .chat-error p{margin-bottom:16px;font-size:16px}.project-chat .chat-error button{padding:8px 16px;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:all .25s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px rgba(220,53,69,.3)}.project-chat .chat-error button:hover{background:#c82333;transform:translateY(-2px);box-shadow:0 4px 12px rgba(220,53,69,.4)}.project-chat .chat-error button:active{transform:translateY(0);box-shadow:0 2px 4px rgba(220,53,69,.3)}@media(max-width:768px){.project-chat{max-height:80vh;border-radius:0}.project-chat .chat-header{padding:12px 16px}.project-chat .chat-header .chat-user-info h3{font-size:16px}.project-chat .chat-messages{padding:16px}.project-chat .chat-messages .message .message-content{max-width:85%}.project-chat .chat-input-form{padding:12px 16px}.project-chat .chat-input-form .chat-input-container{gap:8px}.project-chat .chat-input-form .chat-input-container .chat-input{padding:10px 14px;font-size:16px}.project-chat .chat-input-form .chat-input-container .send-btn{padding:10px 16px;min-width:70px}}