.notification-popup{position:fixed;top:20px;right:20px;z-index:9999;min-width:300px;max-width:400px;animation:slideInRight .3s ease-out;box-shadow:0 4px 12px #00000026;border-radius:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.notification-content{display:flex;align-items:center;padding:16px 20px;border-radius:8px;position:relative}.notification-icon{font-size:20px;margin-right:12px;flex-shrink:0}.notification-message{flex:1;font-size:14px;font-weight:500;line-height:1.4;color:#fff}.notification-close{background:none;border:none;color:#fffc;font-size:20px;font-weight:700;cursor:pointer;padding:0;margin-left:12px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;flex-shrink:0}.notification-close:hover{background-color:#fff3;color:#fff}.notification-popup.success{background:linear-gradient(135deg,#28a745,#20c997)}.notification-popup.success .notification-content{border-left:4px solid #1e7e34}.notification-popup.error{background:linear-gradient(135deg,#dc3545,#e74c3c)}.notification-popup.error .notification-content{border-left:4px solid #c82333}.notification-popup.warning{background:linear-gradient(135deg,#ffc107,#f39c12)}.notification-popup.warning .notification-content{border-left:4px solid #e0a800}.notification-popup.warning .notification-message{color:#2c3e50}.notification-popup.warning .notification-close{color:#2c3e50cc}.notification-popup.warning .notification-close:hover{background-color:#2c3e501a;color:#2c3e50}.notification-popup.info{background:linear-gradient(135deg,#17a2b8,#3498db)}.notification-popup.info .notification-content{border-left:4px solid #138496}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.notification-popup.closing{animation:slideOutRight .3s ease-in forwards}@media (max-width: 768px){.notification-popup{top:10px;right:10px;left:10px;min-width:auto;max-width:none}.notification-content{padding:14px 16px}.notification-message{font-size:13px}}.notification-popup+.notification-popup{top:90px}.notification-popup+.notification-popup+.notification-popup{top:160px}.notification-popup+.notification-popup+.notification-popup+.notification-popup{top:230px}body{margin:0;padding:0;font-family:Segoe UI,sans-serif;position:relative;background-image:url(/logo.png);background-repeat:no-repeat;background-position:center center;background-size:600px;background-attachment:fixed;background-color:#f8f9fa}#root{padding-top:0;position:relative;z-index:1}.navbar{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important;background-color:#1a1a1a!important;height:60px!important;display:flex!important;align-items:stretch!important;box-shadow:0 4px 12px #00000026}html,body{height:100%}html,body,#root{margin:0;padding:0;width:100%;height:100%;overflow-x:auto}.main-content{width:100%;max-width:100%;box-sizing:border-box;min-height:calc(100vh - 60px);margin-top:60px!important;position:relative;z-index:1;background-color:#fffc;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);overflow-x:auto}.main-content.compact{min-height:calc(100vh - 120px);padding-bottom:10px}.wrapper-auth-page{display:flex;justify-content:center;align-items:center;height:100vh;width:100%;background-color:#fffc;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.auth-page{width:400px;margin:auto;padding:30px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;text-align:center}.auth-page h2{margin-bottom:30px;color:#333}.auth-page form{display:flex;flex-direction:column;gap:20px}.auth-page form div{display:flex;flex-direction:column;text-align:left}.auth-page label{margin-bottom:5px;font-weight:500;color:#555}.auth-page input{padding:12px;border:1px solid #ddd;border-radius:4px;font-size:16px}.auth-page input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.auth-page button{padding:12px 20px;background-color:#007bff;color:#fff;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:background-color .2s}.auth-page button:hover{background-color:#0056b3}.auth-page button[type=button]{background-color:#6c757d}.auth-page button[type=button]:hover{background-color:#545b62}.navbar{display:flex;align-items:stretch;min-height:44px;font-family:Segoe UI,sans-serif;position:fixed;top:0;left:0;right:0;z-index:1000;box-shadow:0 2px 4px #0000001a;border-bottom:2px solid #333}.logo-section{display:flex;align-items:center;background-color:#f3f4f6;padding:0 50px;min-width:80px}.logo{width:50px;height:50px;margin-right:8px}.company-name{font-size:20px!important;font-weight:700!important;color:#2f52b9!important;margin-top:-14px!important;letter-spacing:3px!important;display:block!important;line-height:1!important}.nav-links{display:-webkit-box;display:-webkit-flex;display:flex;flex:1;justify-content:flex-start;align-items:center;background-color:#200583;padding:0 10px;gap:14px;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;min-width:0;width:100%;scrollbar-width:thin}.nav-links::-webkit-scrollbar{height:6px;background:transparent}.nav-links::-webkit-scrollbar-thumb{background:#333;border-radius:3px}.nav-links>*{flex-shrink:0}.nav-links a{color:#fff;text-decoration:none;font-size:16px;transition:color .3s ease;padding:5px 10px;border-radius:4px}.nav-links a:hover{color:#6fa8dc;background-color:#ffffff1a}.logout-button{background-color:#e74c3c;color:#fff;border:none;padding:5px 10px;border-radius:5px;cursor:pointer;transition:background .3s ease;font-size:13px;height:30px}.logout-button:hover{background-color:#c0392b}@media (max-width: 768px){.nav-links{gap:10px;padding:0 6px}.nav-links a{font-size:13px;padding:4px 7px}.logo-section{min-width:60px;padding:0 6px}.logo{width:22px;height:22px}}.hamburger{display:none;background:none;border:none;font-size:2em;color:#fff;cursor:pointer}@media (max-width: 768px){.hamburger{display:block;position:absolute;top:12px;right:16px;z-index:1001}.nav-links{display:none}.nav-links.open{display:flex}}.dashboard-container{padding:20px}.kpi-row{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px}.kpi{background:#f5f5f5;padding:10px 15px;border-radius:8px;font-weight:700}.charts-row{display:flex;gap:40px;flex-wrap:wrap;margin-bottom:30px}.chart-box{background:#fff;padding:10px;border:1px solid #eee;border-radius:10px}.section{margin-top:30px}.tasks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:15px;margin-top:15px}.task-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:15px;box-shadow:0 2px 4px #0000001a}.task-card h4{margin:0 0 10px;color:#333;font-size:16px}.task-card p{margin:5px 0;font-size:14px;color:#666}.task-card strong{color:#333}.gantt-wrapper{overflow-x:auto}.gantt-table{width:max-content;border-collapse:collapse}.gantt-table th,.gantt-table td{border:1px solid #ccc;padding:5px;min-width:120px;text-align:center}.gantt-container{padding:20px}.gantt-chart{margin-top:20px;border-top:1px solid #ccc}.gantt-row{display:flex;align-items:center;margin-bottom:12px}.gantt-label{width:180px;font-weight:700}.gantt-bar{height:20px;border-radius:4px;transition:.3s}.gantt-dates{margin-left:10px;font-size:.9em;color:gray}.chat-container{padding:20px;max-width:1200px;margin:0 auto;background-color:#f8f9fa;min-height:calc(100vh - 80px)}.chat-header{color:#2c3e50;margin-bottom:20px;font-size:28px;font-weight:600}.chat-type-container{margin-bottom:20px;background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 10px #0000001a}.chat-type-buttons{display:flex;gap:10px;margin-bottom:15px}.chat-type-button{padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;transition:all .3s ease;display:flex;align-items:center;gap:8px}.chat-type-button.active{background-color:#007bff;color:#fff;box-shadow:0 2px 8px #007bff4d}.chat-type-button.inactive{background-color:#6c757d;color:#fff}.chat-type-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.project-selector{padding:12px;border-radius:8px;border:2px solid #e9ecef;font-size:16px;min-width:300px;background-color:#fff;transition:border-color .3s ease}.project-selector:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.chat-messages-container{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden;margin-bottom:20px}.chat-messages{height:500px;overflow-y:auto;padding:20px;background:linear-gradient(135deg,#f8f9fa,#fff)}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.message-container{margin-bottom:20px;display:flex;align-items:flex-start;gap:12px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-content{flex:1;min-width:0}.message-header{display:flex;align-items:center;gap:10px;margin-bottom:8px}.message-user{font-weight:600;color:#2c3e50;font-size:14px}.message-time{font-size:12px;color:#6c757d}.message-bubble{padding:12px 16px;border-radius:18px;max-width:70%;word-wrap:break-word;line-height:1.4;position:relative;box-shadow:0 1px 3px #0000001a}.message-bubble.own{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;margin-left:auto;border-bottom-right-radius:6px}.message-bubble.other{background:#fff;color:#333;border:1px solid #e9ecef;border-bottom-left-radius:6px}.file-attachment{margin-top:10px;border-radius:8px;cursor:pointer;transition:transform .2s ease;max-width:200px}.file-attachment:hover{transform:scale(1.02)}.file-attachment img{max-width:200px;max-height:200px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.file-attachment.pdf{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;padding:12px;display:flex;align-items:center;gap:10px;box-shadow:0 2px 8px #dc35454d}.file-attachment.document{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff;padding:12px;display:flex;align-items:center;gap:10px;box-shadow:0 2px 8px #6c757d4d}.mention-dropdown{position:absolute;bottom:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 12px #00000026;max-height:200px;overflow-y:auto;z-index:1000;margin-bottom:8px}.mention-option{display:flex;align-items:center;padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .2s}.mention-option:hover{background-color:#f8f9fa}.mention-option:last-child{border-bottom:none}.mention-option span{margin-left:8px;font-size:14px;color:#333}.mention-option .avatar{flex-shrink:0}.message-input-container{position:relative;display:flex;align-items:flex-end;gap:10px;padding:15px;background:#f8f9fa;border-top:1px solid #e9ecef}.message-textarea{flex:1;min-height:40px;max-height:120px;padding:10px 15px;border:1px solid #ddd;border-radius:20px;resize:none;font-family:inherit;font-size:14px;outline:none;transition:border-color .3s}.message-textarea:focus{border-color:#007bff}.emoji-picker{position:absolute;bottom:100%;left:0;background:#fff;border:1px solid #ddd;border-radius:12px;padding:15px;max-width:320px;max-height:240px;overflow-y:auto;z-index:1000;box-shadow:0 8px 25px #00000026;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.emoji-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.emoji-button{border:none;background:none;font-size:20px;cursor:pointer;padding:8px;border-radius:6px;transition:background-color .2s ease}.emoji-button:hover{background-color:#f8f9fa}.action-buttons{display:flex;gap:8px}.action-button{padding:16px;border:none;border-radius:12px;cursor:pointer;font-size:18px;transition:all .3s ease;display:flex;align-items:center;justify-content:center;min-width:50px}.action-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.emoji-button-action{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff}.file-button-action{background:linear-gradient(135deg,#28a745,#1e7e34);color:#fff}.send-button{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;padding:16px 32px;font-weight:600;min-width:100px}.send-button:disabled{background:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}.selected-file{margin-top:15px;padding:12px;background:#e9ecef;border-radius:8px;display:flex;align-items:center;gap:10px;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.selected-file-name{flex:1;font-size:14px;color:#495057}.remove-file-button{border:none;background:none;color:#dc3545;cursor:pointer;font-size:18px;padding:4px;border-radius:4px;transition:background-color .2s ease}.remove-file-button:hover{background-color:#f8d7da}.hidden-file-input{display:none}@media (max-width: 768px){.chat-container{padding:10px}.chat-type-buttons{flex-direction:column}.chat-type-button{width:100%;justify-content:center}.project-selector{width:100%;min-width:auto}.message-input-form{flex-direction:column;align-items:stretch}.action-buttons{justify-content:center}.message-bubble{max-width:85%}.chat-messages{height:400px}}.loading-overlay{position:absolute;inset:0;background:#fffc;display:flex;align-items:center;justify-content:center;z-index:100}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.task-management-container{padding:20px;max-width:1200px;margin:0 auto}.task-management-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e0e0e0}.back-button{padding:10px 20px;background-color:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;text-decoration:none}.back-button:hover{background-color:#5a6268}.message{padding:10px;margin-bottom:20px;border-radius:4px;font-weight:500}.message.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.message.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.task-statistics{margin-bottom:30px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-top:15px}.stat-item{padding:15px;border:1px solid #dee2e6;border-radius:6px;text-align:center;background-color:#fff;box-shadow:0 2px 4px #0000001a}.stat-number{display:block;font-size:24px;font-weight:700;color:#007bff;margin-bottom:5px}.stat-label{font-size:14px;color:#6c757d;text-transform:uppercase;letter-spacing:.5px}.assign-task-section{margin-bottom:30px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.assign-task-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;align-items:end;margin-top:15px}.form-select,.form-input{padding:10px;border:1px solid #ced4da;border-radius:4px;font-size:14px}.form-select:focus,.form-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.assign-button{padding:10px 20px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s}.assign-button:hover{background-color:#0056b3}.task-list-section{background-color:#fff;border-radius:8px;border:1px solid #e9ecef;overflow:hidden}.task-list-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background-color:#f8f9fa;border-bottom:1px solid #e9ecef}.filter-select{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px}.task-list{padding:20px}.task-item{border:1px solid #dee2e6;border-radius:6px;padding:20px;margin-bottom:15px;background-color:#fff;box-shadow:0 2px 4px #0000000d;transition:box-shadow .2s}.task-item:hover{box-shadow:0 4px 8px #0000001a}.task-info h4{margin:0 0 15px;color:#212529;font-size:18px}.task-info p{margin:8px 0;color:#6c757d;font-size:14px}.task-info strong{color:#495057}.task-status{display:flex;align-items:center;gap:15px;margin-top:15px}.status-badge{padding:6px 12px;border-radius:20px;color:#fff;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-select{padding:6px 10px;border:1px solid #ced4da;border-radius:4px;font-size:12px;background-color:#fff}.no-tasks{text-align:center;padding:40px 20px;color:#6c757d;font-style:italic}@media (max-width: 768px){.task-management-header{flex-direction:column;gap:15px;align-items:stretch}.assign-task-form{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.task-list-header{flex-direction:column;gap:10px}}.admin-create-user-container{max-width:420px;margin:40px auto;padding:32px 28px 24px;background:#fff;border-radius:14px;box-shadow:0 4px 24px #283c5a1c,0 1.5px 4px #0000000a;font-family:Segoe UI,Arial,sans-serif}.admin-create-user-container h2{margin-bottom:24px;text-align:center;font-weight:700;font-size:1.5rem;color:#222b45;letter-spacing:.03em}.admin-create-user-container form{display:flex;flex-direction:column;gap:13px}.admin-create-user-container input,.admin-create-user-container select{padding:10px 12px;border:1px solid #dde2e6;border-radius:6px;font-size:1rem;background:#f7f9fc;transition:border .2s}.admin-create-user-container input:focus,.admin-create-user-container select:focus{outline:none;border-color:#3f8cff;background:#fff}.admin-create-user-container label{margin-top:6px;font-size:.97rem;color:#6a7685;font-weight:600}.admin-create-user-container button[type=submit]{margin-top:8px;padding:10px 0;font-size:1.07rem;border:none;background:#3f8cff;color:#fff;font-weight:600;border-radius:7px;cursor:pointer;transition:background .2s}.admin-create-user-container button[type=submit]:hover{background:#2956be}.admin-create-user-container p{text-align:center;margin-top:16px;font-size:1.05rem}.ticket-management-container{background:linear-gradient(135deg,#f8fafc,#e2e8f0);min-height:100vh;padding:2rem}.ticket-header{background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;padding:2rem;border-radius:1rem;margin-bottom:2rem;box-shadow:0 10px 25px #3b82f64d}.ticket-title{font-size:2.5rem;font-weight:800;margin-bottom:.5rem;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.ticket-subtitle{font-size:1.1rem;opacity:.9}.filter-section{background:linear-gradient(135deg,#dbeafe,#e0e7ff);border:2px solid #3b82f6;border-radius:1rem;padding:1.5rem;margin-bottom:2rem;box-shadow:0 8px 20px #3b82f633}.filter-section h3{color:#1e40af;font-weight:700;margin-bottom:1rem;font-size:1.2rem}.filter-section select{background:#fff;border:2px solid #3b82f6;border-radius:.5rem;padding:.75rem;font-weight:600;color:#1e40af;transition:all .3s ease}.filter-section select:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #3b82f633}.refresh-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:.5rem;padding:.75rem 1.5rem;font-weight:700;transition:all .3s ease;box-shadow:0 4px 12px #1026b94d}.refresh-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1026b966}.tickets-table-container{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #10b981;border-radius:1rem;overflow:hidden;box-shadow:0 10px 25px #10b98133}.table-header{background:linear-gradient(135deg,#8b5cf6,#3b82f6);color:#fff;padding:1.5rem;font-weight:700;font-size:1.2rem}.status-pending{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:.5rem 1rem;border-radius:2rem;font-weight:700;text-transform:uppercase;font-size:.8rem;box-shadow:0 4px 12px #fbbf244d}.status-approved{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.5rem 1rem;border-radius:2rem;font-weight:700;text-transform:uppercase;font-size:.8rem;box-shadow:0 4px 12px #10b9814d}.status-rejected{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:.5rem 1rem;border-radius:2rem;font-weight:700;text-transform:uppercase;font-size:.8rem;box-shadow:0 4px 12px #ef44444d}.action-btn{padding:.5rem 1rem;border-radius:.5rem;font-weight:700;transition:all .3s ease;border:none;cursor:pointer;margin:0 .25rem}.btn-view{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 4px 12px #3b82f64d}.btn-view:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3b82f666}.btn-approve{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 4px 12px #10b9814d}.btn-approve:hover{transform:translateY(-2px);box-shadow:0 6px 16px #10b98166}.btn-reject{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 4px 12px #ef44444d}.btn-reject:hover{transform:translateY(-2px);box-shadow:0 6px 16px #ef444466}.professional-modal{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal-content{background:#fff;border-radius:1.5rem;box-shadow:0 25px 50px #0000004d;max-width:4xl;max-height:90vh;overflow:hidden;width:100%}.modal-header{background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;padding:2rem;border-radius:1.5rem 1.5rem 0 0}.modal-title{font-size:1.5rem;font-weight:800;margin-bottom:.5rem}.modal-subtitle{opacity:.9;font-size:1rem}.modal-close{background:#fff3;border:none;color:#fff;font-size:1.5rem;padding:.5rem;border-radius:.5rem;cursor:pointer;transition:all .3s ease}.modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.modal-body{padding:2rem;max-height:calc(90vh - 120px);overflow-y:auto}.info-card{border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 8px 20px #0000001a;transition:all .3s ease}.info-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px #00000026}.card-status{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:2px solid #10b981}.card-employee{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:2px solid #3b82f6}.card-department{background:linear-gradient(135deg,#e9d5ff,#ddd6fe);border:2px solid #8b5cf6}.card-description{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border:2px solid #6b7280}.card-details{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);border:2px solid #6366f1}.card-attachments{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b}.card-approvals{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:2px solid #10b981}.card-comments{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border:2px solid #6b7280}.card-actions{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:2px solid #3b82f6}.section-header{font-size:1.25rem;font-weight:700;margin-bottom:1rem;display:flex;align-items:center}.section-dot{width:.5rem;height:.5rem;border-radius:50%;margin-right:.75rem}.dot-blue{background:#3b82f6}.dot-green{background:#10b981}.dot-purple{background:#8b5cf6}.dot-gray{background:#6b7280}.dot-amber{background:#f59e0b}.dot-indigo{background:#6366f1}.file-attachment{background:#fff;border:2px solid #f59e0b;border-radius:.75rem;padding:1rem;margin-bottom:.75rem;transition:all .3s ease;display:flex;align-items:center;text-decoration:none;color:inherit}.file-attachment:hover{transform:translateY(-2px);box-shadow:0 8px 20px #f59e0b33;border-color:#d97706}.file-icon{width:2rem;height:2rem;background:#f59e0b;border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:#fff;margin-right:1rem;font-weight:700}.approval-item{background:#fff;border:2px solid #10b981;border-radius:.75rem;padding:1.5rem;margin-bottom:1rem;transition:all .3s ease}.approval-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px #10b98133}.approver-avatar{width:2rem;height:2rem;background:#10b981;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;margin-right:.75rem}.approval-badge{padding:.5rem 1rem;border-radius:2rem;font-weight:700;font-size:.8rem;text-transform:uppercase}.badge-approved{background:#d1fae5;color:#065f46;border:2px solid #10b981}.badge-rejected{background:#fee2e2;color:#991b1b;border:2px solid #ef4444}.comment-item{background:#fff;border:2px solid #6b7280;border-radius:.75rem;padding:1.5rem;margin-bottom:1rem;transition:all .3s ease}.comment-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6b728033}.comment-avatar{width:2rem;height:2rem;background:#6b7280;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;margin-right:.75rem}.modal-action-btn{padding:1rem 2rem;border-radius:.75rem;font-weight:700;font-size:1rem;transition:all .3s ease;border:none;cursor:pointer;margin:0 .5rem;box-shadow:0 8px 20px #0003}.modal-approve-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.modal-approve-btn:hover{transform:translateY(-3px);box-shadow:0 12px 25px #10b98166}.modal-reject-btn{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.modal-reject-btn:hover{transform:translateY(-3px);box-shadow:0 12px 25px #ef444466}@media (max-width: 768px){.ticket-management-container{padding:1rem}.ticket-title{font-size:2rem}.modal-content{margin:1rem;max-height:calc(100vh - 2rem)}.modal-body{padding:1rem}}.self-service-container{background:linear-gradient(135deg,#f8fafc,#e2e8f0);min-height:100vh;padding:2rem}.self-service-header{background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;padding:2rem;border-radius:1rem;margin-bottom:2rem;box-shadow:0 10px 25px #3b82f64d}.self-service-title{font-size:2.5rem;font-weight:800;margin-bottom:.5rem;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.self-service-subtitle{font-size:1.1rem;opacity:.9}.tab-navigation{background:#fff;border-radius:1rem;box-shadow:0 8px 20px #0000001a;margin-bottom:2rem;overflow:hidden}.tab-button{padding:1rem 2rem;font-weight:600;transition:all .3s ease;border:none;background:transparent;cursor:pointer;position:relative}.tab-button.active{background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff}.tab-button:not(.active):hover{background:#f3f4f6;color:#3b82f6}.service-type-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}.service-type-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 8px 20px #0000001a;transition:all .3s ease;cursor:pointer;border:2px solid transparent}.service-type-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #00000026;border-color:#3b82f6}.service-type-card.selected{border-color:#3b82f6;background:linear-gradient(135deg,#dbeafe,#e0e7ff)}.service-type-icon{width:3rem;height:3rem;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:.75rem;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.5rem;margin-bottom:1rem}.service-type-name{font-size:1.25rem;font-weight:700;color:#1e40af;margin-bottom:.5rem}.service-type-description{color:#6b7280;line-height:1.5}.request-form-container{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 8px 20px #0000001a;margin-bottom:2rem}.form-section{margin-bottom:2rem}.form-section-title{font-size:1.25rem;font-weight:700;color:#1e40af;margin-bottom:1rem;display:flex;align-items:center}.form-section-dot{width:.5rem;height:.5rem;background:#3b82f6;border-radius:50%;margin-right:.75rem}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-weight:600;color:#374151;margin-bottom:.5rem}.form-input{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:.5rem;font-size:1rem;transition:all .3s ease}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-textarea{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:.5rem;font-size:1rem;min-height:100px;resize:vertical;transition:all .3s ease}.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-select{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:.5rem;font-size:1rem;background:#fff;transition:all .3s ease}.form-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.file-upload-area{border:2px dashed #d1d5db;border-radius:.75rem;padding:2rem;text-align:center;transition:all .3s ease;cursor:pointer}.file-upload-area:hover{border-color:#3b82f6;background:#f8fafc}.file-upload-area.dragover{border-color:#3b82f6;background:#dbeafe}.file-upload-icon{font-size:2rem;color:#6b7280;margin-bottom:1rem}.file-upload-text{color:#6b7280;font-weight:600}.file-upload-hint{color:#9ca3af;font-size:.875rem;margin-top:.5rem}.action-buttons{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;padding:.75rem 2rem;border-radius:.5rem;font-weight:700;border:none;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #3b82f64d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3b82f666}.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-secondary{background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;padding:.75rem 2rem;border-radius:.5rem;font-weight:700;border:none;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #6b72804d}.btn-secondary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6b728066}.my-tickets-container{background:#fff;border-radius:1rem;box-shadow:0 8px 20px #0000001a;overflow:hidden}.tickets-header{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:1.5rem;font-weight:700;font-size:1.2rem}.tickets-table{width:100%;background:#fff}.tickets-table th{background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#166534;font-weight:700;padding:1rem;border-bottom:2px solid #10b981}.tickets-table td{padding:1rem;border-bottom:1px solid #e5e7eb;transition:background-color .3s ease}.tickets-table tr:hover td{background-color:#f0fdf4}.status-badge{padding:.5rem 1rem;border-radius:2rem;font-weight:700;text-transform:uppercase;font-size:.8rem;display:inline-block}.status-pending{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;box-shadow:0 4px 12px #fbbf244d}.status-approved{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 4px 12px #10b9814d}.status-rejected{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 4px 12px #ef44444d}.loading-spinner{display:inline-block;width:1rem;height:1rem;border:2px solid #f3f4f6;border-radius:50%;border-top-color:#3b82f6;animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{color:#6b7280;font-style:italic}.message-success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;padding:1rem;border-radius:.5rem;border:2px solid #10b981;margin-bottom:1rem}.message-error{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;padding:1rem;border-radius:.5rem;border:2px solid #ef4444;margin-bottom:1rem}@media (max-width: 768px){.self-service-container{padding:1rem}.self-service-title{font-size:2rem}.service-type-grid{grid-template-columns:1fr}.action-buttons{flex-direction:column}.tickets-table{font-size:.875rem}.tickets-table th,.tickets-table td{padding:.5rem}}.custom-field-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1rem}.custom-field-item{background:#f8fafc;border:2px solid #e5e7eb;border-radius:.5rem;padding:1rem;transition:all .3s ease}.custom-field-item:focus-within{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.custom-field-label{font-weight:600;color:#374151;margin-bottom:.5rem;display:block}.custom-field-input{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:all .3s ease}.custom-field-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.time-field-group{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.time-field-label{font-weight:600;color:#374151;margin-bottom:.5rem;display:block}.time-field-input{width:100%;padding:.5rem;border:2px solid #e5e7eb;border-radius:.5rem;font-size:1rem;transition:all .3s ease}.time-field-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.letter-creator-container{padding:20px;max-width:1400px;margin:0 auto;background:#fff;min-height:100vh}.letter-creator-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #e5e7eb}.letter-creator-header h2{font-size:28px;font-weight:700;color:#1f2937;margin:0;display:flex;align-items:center;gap:10px}.letter-creator-actions{display:flex;gap:12px}.letter-creator-actions button{background:#3b82f6;color:#fff;border:none;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s;display:flex;align-items:center;gap:6px}.letter-creator-actions button:hover{background:#2563eb;transform:translateY(-1px)}.letter-creator-actions button.export-pdf{background:#059669}.letter-creator-actions button.export-pdf:hover{background:#047857}.letter-creator-actions button.preview-button{background:#7c3aed}.letter-creator-actions button.preview-button:hover{background:#6d28d9}.letter-creator-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:30px}.letter-form-section{background:#f9fafb;border-radius:12px;padding:25px;border:1px solid #e5e7eb}.letter-form-container h3{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e5e7eb}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:14px}.form-group input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.letter-number-display{background:#3b82f6;color:#fff;padding:4px 8px;border-radius:4px;font-weight:700;font-size:12px}.tiptap-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px;padding:15px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a}.toolbar-section{display:flex;align-items:center;gap:4px;padding:6px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;min-height:36px}.tiptap-toolbar button{background:#fff;border:1px solid #d1d5db;padding:8px;border-radius:4px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;color:#6b7280}.tiptap-toolbar button:hover{background:#f3f4f6;border-color:#9ca3af;color:#374151}.tiptap-toolbar button.is-active{background:#3b82f6;border-color:#3b82f6;color:#fff}.tiptap-toolbar button.is-active:hover{background:#2563eb;border-color:#2563eb}.tiptap-editor-container{border:1px solid #d1d5db;border-radius:8px;overflow:hidden;background:#fff}.tiptap-editor{min-height:400px;padding:20px;font-size:14px;line-height:1.6}.tiptap-editor .ProseMirror{outline:none;min-height:360px}.tiptap-editor .ProseMirror p{margin:0 0 1em}.tiptap-editor .ProseMirror h1,.tiptap-editor .ProseMirror h2,.tiptap-editor .ProseMirror h3{margin:1em 0 .5em;font-weight:600}.tiptap-editor .ProseMirror h1{font-size:1.5em}.tiptap-editor .ProseMirror h2{font-size:1.3em}.tiptap-editor .ProseMirror h3{font-size:1.1em}.tiptap-editor .ProseMirror ul,.tiptap-editor .ProseMirror ol{margin:0 0 1em;padding-left:1.5em}.tiptap-editor .ProseMirror li{margin:.25em 0}.tiptap-editor .ProseMirror blockquote{margin:1em 0;padding:.5em 1em;border-left:3px solid #e5e7eb;background:#f9fafb;font-style:italic}.tiptap-editor .ProseMirror code{background:#f3f4f6;padding:.2em .4em;border-radius:3px;font-family:Courier New,monospace;font-size:.9em}.tiptap-editor .ProseMirror pre{background:#1f2937;color:#f9fafb;padding:1em;border-radius:6px;overflow-x:auto;margin:1em 0}.tiptap-editor .ProseMirror pre code{background:none;padding:0;color:inherit}.tiptap-editor .ProseMirror hr{border:none;border-top:1px solid #e5e7eb;margin:2em 0}.tiptap-editor .ProseMirror table{border-collapse:collapse;margin:1em 0;width:100%}.tiptap-editor .ProseMirror table td,.tiptap-editor .ProseMirror table th{border:1px solid #d1d5db;padding:.5em;text-align:left}.tiptap-editor .ProseMirror table th{background:#f9fafb;font-weight:600}.tiptap-editor .ProseMirror img{max-width:100%;height:auto;border-radius:4px}.tiptap-editor .ProseMirror a{color:#3b82f6;text-decoration:underline}.tiptap-editor .ProseMirror a:hover{color:#2563eb}.save-button{background:#059669;color:#fff;border:none;padding:12px 24px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;transition:all .2s;display:flex;align-items:center;gap:8px;width:100%;justify-content:center}.save-button:hover{background:#047857;transform:translateY(-1px)}.save-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.letter-preview-section{background:#f9fafb;border-radius:12px;padding:25px;border:1px solid #e5e7eb}.letter-preview-container h3{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e5e7eb}.letter-preview-content{background:#fff;padding:15px;border-radius:8px;box-shadow:0 4px 6px #0000001a;min-height:600px}.letterhead{background:#fff;padding:-5px 20px 5px;position:relative;margin-bottom:-10px}.letterhead:after{content:"";position:absolute;bottom:25px;left:0;width:100%;height:1px;background:#87ceeb}.letterhead-content{display:flex;justify-content:space-between;align-items:center;gap:0px;direction:ltr}.company-name{font-size:14px;font-weight:0;color:#04469b;margin:-30px 0 10px;text-transform:uppercase;letter-spacing:0px;text-align:left}.company-subtitle{font-size:12px;color:#04469b;margin:0;font-weight:400;text-transform:uppercase;letter-spacing:.2px}.company-logo{width:120px;height:120px;object-fit:contain;margin:-10px auto 0;border-radius:0;display:block;text-align:center;position:relative;left:40%;transform:translate(-50%)}.arabic-name{font-size:16px;font-weight:700;color:#04469b;text-align:right;direction:rtl;line-height:1.2;margin:-40px 0 3px}.arabic-subtitle{font-size:14px;color:#04469b;margin:0 40px 0 0;text-align:right;direction:rtl;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.letter-content{margin-bottom:30px}.letter-meta{margin-bottom:25px}.letter-meta p{margin:8px 0;font-size:14px;color:#374151;line-height:1.6}.letter-body{margin-bottom:25px;line-height:1.6;color:#1f2937}.letter-signature{margin-top:30px;padding-top:20px;border-top:1px solid #e5e7eb}.letter-signature p{margin:0;font-size:14px;color:#374151}.e-signature{background:#f0f8ff;padding:15px;border-radius:0;margin:20px 0;border-top:2px solid #04469b}.e-signature p{margin:5px 0;font-size:12px;color:#6b7280;font-style:italic;text-align:center}.e-signature p:last-child{font-size:11px;color:#9ca3af}.letter-footer{background:#fff;padding:15px 20px;border-top:2px solid #04469b;margin-top:auto;position:sticky;bottom:0}.footer-content{display:flex;justify-content:space-between;gap:30px;position:relative;direction:ltr}.footer-content:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);width:1px;height:100%;background:#6b7280}.footer-left,.footer-right{flex:1}.footer-right{text-align:right}.footer-content p{margin:4px 0;font-size:12px;color:#04469b;line-height:1.4;font-weight:500}.footer-right p{direction:rtl;text-align:right}.letters-list{background:#f9fafb;border-radius:12px;padding:25px;border:1px solid #e5e7eb}.letters-list h3{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e5e7eb}.letters-container{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000001a}.letters-header{background:#3b82f6;color:#fff;padding:15px 20px;font-weight:600;font-size:14px}.letters-empty{padding:40px 20px;text-align:center;color:#6b7280}.letters-empty-icon{font-size:48px;margin-bottom:15px}.letters-empty p:last-child{font-size:12px;color:#9ca3af;margin-top:10px}.letters-table{width:100%;border-collapse:collapse}.letters-table thead{background:#f9fafb}.letters-table th{padding:12px 15px;text-align:left;font-weight:600;font-size:12px;color:#374151;border-bottom:1px solid #e5e7eb}.letters-table td{padding:12px 15px;font-size:13px;color:#6b7280;border-bottom:1px solid #f3f4f6}.letters-table .letter-number{font-weight:600;color:#3b82f6;font-family:monospace}.letters-table .letter-date,.letters-table .letter-author{font-size:12px;color:#9ca3af}.pdf-actions{text-align:center}.download-pdf-btn{background:#059669;color:#fff;border:none;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:12px;font-weight:500;transition:all .2s;display:inline-flex;align-items:center;gap:4px}.download-pdf-btn:hover{background:#047857;transform:translateY(-1px);box-shadow:0 2px 4px #0596694d}.no-pdf{color:#9ca3af;font-size:12px;font-style:italic}@media (max-width: 768px){.letter-creator-layout{grid-template-columns:1fr}.letter-creator-header{flex-direction:column;gap:15px;align-items:flex-start}.letter-creator-actions{width:100%;justify-content:space-between}.letterhead-content,.footer-content{flex-direction:column;gap:15px}.footer-right{text-align:left}.tiptap-toolbar{flex-direction:column;gap:10px}.toolbar-section{justify-content:center;flex-wrap:wrap}}.tiptap-editor .ProseMirror:focus{outline:none}.tiptap-editor .ProseMirror p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.auth-container{display:flex;justify-content:center;align-items:center;height:90vh}.auth-form{width:320px;padding:30px;border-radius:8px;background-color:#fff;box-shadow:0 0 10px #0000001a;text-align:center}.auth-form input{display:block;width:100%;margin:10px 0;padding:10px}.auth-form button{width:100%;padding:10px;margin-top:10px}.switch-button{background:transparent;border:none;color:#00f;text-decoration:underline;cursor:pointer}
