@keyframes spin{to{transform:rotate(1turn)}}@keyframes pulse{50%{opacity:.5}}.error-container,.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#f8fafc}.spinner{width:3rem;height:3rem;border-color:#4f46e5 transparent;border-style:solid;border-width:4px;border-radius:50%;animation:spin 1s linear infinite}.error-container p{font-size:1.125rem;color:#475569}.page-wrapper{min-height:100vh;background-color:#f1f5f9;color:#1e293b;padding:1rem;font-family:system-ui,-apple-system,sans-serif;direction:rtl}@media (min-width:768px){.page-wrapper{padding:2rem}}.welcome-header{background:linear-gradient(90deg,#4f46e5,#9333ea);border-radius:1.5rem;padding:2rem;margin-bottom:2rem;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);color:white;position:relative;overflow:hidden}.welcome-header h1{font-size:1.875rem;font-weight:700;margin-bottom:.5rem;position:relative;z-index:10}@media (min-width:768px){.welcome-header h1{font-size:2.25rem}}.welcome-header p{color:#e0e7ff;font-size:1.125rem;position:relative;z-index:10}.welcome-header p span{font-weight:700;color:white}.header-glow-1,.header-glow-2{position:absolute;width:16rem;height:16rem;border-radius:50%;filter:blur(40px)}.header-glow-1{top:-5rem;right:-5rem;background-color:rgba(255,255,255,.1)}.header-glow-2{bottom:-5rem;left:-5rem;background-color:rgba(0,0,0,.1)}.main-grid{display:grid;grid-template-columns:1fr;gap:2rem}@media (min-width:1024px){.main-grid{grid-template-columns:repeat(3,1fr)}.col-span-2{grid-column:span 2/span 2}}.card{background-color:white;border-radius:1.5rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);border:1px solid #e2e8f0;padding:1.5rem}.profile-card{display:flex;flex-direction:column;align-items:center;text-align:center;transition:transform .3s ease}.profile-card:hover{transform:translateY(-4px)}.avatar{width:6rem;height:6rem;border-radius:50%;background:linear-gradient(to top right,#6366f1,#a855f7);display:flex;align-items:center;justify-content:center;color:white;font-size:1.875rem;font-weight:700;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);margin-bottom:1rem}.profile-name{font-size:1.5rem;font-weight:700;color:#1e293b}.status-badge{margin-top:.5rem;display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .75rem;border-radius:9999px;font-size:.875rem;font-weight:500;background-color:#d1fae5;color:#047857}.status-dot{width:.5rem;height:.5rem;border-radius:50%;background-color:#10b981;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.contact-info{width:100%;margin-top:2rem;display:flex;flex-direction:column;gap:1rem;text-align:right}.contact-item{display:flex;align-items:center;background-color:#f8fafc;padding:.75rem;border-radius:1rem;color:#475569}.contact-icon{color:#6366f1;margin-left:.75rem;display:flex}.contact-text{font-weight:500;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dir-ltr{direction:ltr}.stats-column{display:flex;flex-direction:column;gap:2rem}.stats-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width:640px){.stats-grid{grid-template-columns:repeat(2,1fr)}}.stat-card{display:flex;align-items:center;gap:1rem}.stat-icon{padding:1rem;border-radius:1rem;display:flex}.stat-icon.blue{background-color:#dbeafe;color:#2563eb}.stat-icon.purple{background-color:#f3e8ff;color:#9333ea}.stat-title{font-size:.875rem;color:#64748b;margin-bottom:.25rem}.stat-value{font-size:1.125rem;font-weight:600;color:#1e293b}.roles-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid #f1f5f9;padding-bottom:1rem}.roles-header h3{font-size:1.25rem;font-weight:700;color:#1e293b}.roles-list{display:flex;flex-wrap:wrap;gap:.75rem}.role-item{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:1rem;transition:background-color .2s}.role-item:hover{background-color:#f1f5f9}.role-dot{width:.625rem;height:.625rem;border-radius:50%;background-color:#6366f1}.role-dot.superadmin{background-color:#f43f5e;box-shadow:0 0 8px rgba(244,63,94,.6)}.role-name{font-weight:500;color:#334155}.empty-roles{text-align:center;padding:2rem 0;color:#64748b;background-color:#f8fafc;border-radius:1rem;border:1px dashed #cbd5e1}svg{width:1.25rem;height:1.25rem}.roles-header svg{width:1.5rem;height:1.5rem}