@layer components{.role-switcher-container{position:relative;z-index:10}.role-switcher-container[style*="display: none"]{display:none!important}.role-switcher{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:16px 20px;margin:16px;box-shadow:0 4px 6px rgba(0,0,0,.1);transition:all .3s ease}.role-switcher:hover{box-shadow:0 6px 12px rgba(0,0,0,.15)}.role-switcher-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.role-switcher-label{display:flex;align-items:center;gap:8px;color:#fff;font-size:14px;font-weight:500}.role-switcher-label svg{width:16px;height:16px}.role-switcher-info{background:rgba(255,255,255,.2);padding:4px 12px;border-radius:20px;backdrop-filter:blur(10px)}.database-role{color:#fff;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.role-switcher-buttons{display:flex;gap:8px;margin-bottom:12px}.role-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;background:rgba(255,255,255,.15);color:rgba(255,255,255,.9);border:2px solid transparent;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;backdrop-filter:blur(10px)}.role-btn svg{width:16px;height:16px}.role-btn:hover{background:rgba(255,255,255,.25);transform:translateY(-1px)}.role-btn.active{background:#fff;color:#667eea;border-color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}.role-btn.active:hover{transform:none}.role-switcher-status{text-align:center}.status-text{color:rgba(255,255,255,.95);font-size:13px}.status-text strong{color:#fff;font-weight:600;text-transform:capitalize}@media (max-width: 768px){.role-switcher{margin:12px;padding:14px 16px}.role-switcher-header{flex-direction:column;gap:8px;align-items:flex-start}.role-switcher-buttons{flex-direction:column}.role-btn{width:100%;justify-content:flex-start;padding:12px 16px}}@media (prefers-color-scheme: dark){.role-switcher{background:linear-gradient(135deg,#4a5568,#2d3748)}.role-btn.active{background:#e2e8f0;color:#2d3748}}.role-btn.switching{animation:roleSwitchPulse .3s ease}@media (max-height: 700px){.role-switcher{padding:12px 16px;margin:8px}.role-switcher-header,.role-switcher-buttons{margin-bottom:8px}.role-btn{padding:8px 12px;font-size:13px}}}@keyframes roleSwitchPulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}
