/* ========== ESTILOS GLOBAIS (mantidos do original) ========== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui, 'Segoe UI', 'Inter', 'Helvetica Neue', sans-serif; }
body { background: #E5E7EB; min-height: 100vh; padding: 2rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.card { background: white; border-radius: 2rem; box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1); padding: 2rem; transition: all 0.2s; }
.btn { border: none; padding: 0.5rem 1rem; border-radius: 60px; font-weight: 600; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; }
.btn-primary { background: #2563EB; color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-primary i { color: white; }
.btn-outline { background: transparent; border: 1px solid #E5E7EB; color: #111827; }
.btn-outline:hover { background: #E5E7EB; }
.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.7rem; }
.btn-waiting { background: #2563EB; color: white; }
.btn-waiting:hover { background: #1d4ed8; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }
.btn-success { background: #22C55E; color: white; }
.btn-success:hover { background: #16a34a; }
.app-header { text-align: center; margin-bottom: 2rem; position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.app-header h1 { font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif; font-weight: 800; font-size: 3rem; background: none; color: #111827; margin-top: 0; letter-spacing: -0.5px; cursor: pointer; transition: opacity 0.2s; }
.app-header h1:hover { opacity: 0.8; }
.app-header h1 .highlight-grupo { color: #2563EB; font-weight: 800; }
.app-header h1 .highlight-interrogacao { color: #2563EB; }
.slogan { font-size: 0.8rem; color: #4b5563; font-weight: 500; margin-top: 0.25rem; }
.user-info { display: flex; align-items: center; gap: 8px; background: #E5E7EB; border-radius: 40px; padding: 0.2rem 0.8rem; font-size: 0.75rem; font-weight: 500; color: #111827; position: relative; margin-left: auto; }
.admin-badge { background: #2563EB; color: white; padding: 0.1rem 0.5rem; border-radius: 40px; font-size: 0.65rem; margin-left: 0.5rem; }
.logout-btn, .profile-btn, .notification-btn { background: transparent; border: none; color: #111827; cursor: pointer; font-size: 0.9rem; margin-left: 0.5rem; position: relative; }
.logout-btn:hover, .profile-btn:hover, .notification-btn:hover { color: #2563EB; }
.notification-badge { position: absolute; top: -8px; right: -8px; background: #22C55E; color: white; border-radius: 20px; padding: 2px 5px; font-size: 0.6rem; font-weight: bold; min-width: 16px; text-align: center; }
.notif-dropdown { position: absolute; top: 40px; right: 0; background: white; border-radius: 1rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15); width: 320px; max-height: 400px; overflow-y: auto; z-index: 1000; display: none; flex-direction: column; border: 1px solid #E5E7EB; }
.notif-dropdown.show { display: flex; }
.notif-header { padding: 0.8rem 1rem; font-weight: 600; border-bottom: 1px solid #E5E7EB; background: #f8fafc; border-radius: 1rem 1rem 0 0; position: sticky; top: 0; z-index: 1; }
.notif-item { padding: 0.8rem 1rem; border-bottom: 1px solid #E5E7EB; display: flex; flex-direction: column; gap: 0.3rem; transition: background 0.1s; }
.notif-item:hover { background: #f8fafc; }
.notif-title { font-weight: 600; font-size: 0.8rem; }
.notif-details { font-size: 0.7rem; color: #4b5563; }
.notif-status { font-size: 0.65rem; font-weight: 500; margin-top: 0.2rem; }
.notif-status.pending { color: #f59e0b; }
.notif-status.accepted { color: #22C55E; }
.notif-status.declined { color: #ef4444; }
.notif-actions { display: flex; gap: 0.5rem; margin-top: 0.3rem; }
.notif-empty { padding: 1rem; text-align: center; color: #8aa9c9; font-size: 0.8rem; }
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: white; border-radius: 0.8rem; padding: 0.8rem 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 10px; animation: slideIn 0.2s ease-out; border-left: 4px solid; max-width: 350px; }
.toast.success { border-left-color: #22C55E; }
.toast.error { border-left-color: #ef4444; }
.toast.info { border-left-color: #2563EB; }
.toast i { font-size: 1.2rem; }
.toast.success i { color: #22C55E; }
.toast.error i { color: #ef4444; }
.toast.info i { color: #2563EB; }
.toast .message { flex: 1; font-size: 0.85rem; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
.confirm-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 10001; backdrop-filter: blur(4px); }
.confirm-modal { background: white; border-radius: 1.2rem; max-width: 400px; width: 90%; padding: 1.5rem; text-align: center; animation: modalFadeIn 0.2s ease-out; }
.confirm-modal .modal-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: #111827; }
.confirm-modal .modal-message { font-size: 0.9rem; color: #4b5563; margin-bottom: 1.5rem; }
.confirm-modal .modal-buttons { display: flex; justify-content: center; gap: 1rem; }
.filter-bar { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: center; flex-wrap: wrap; background: #f8fafc; padding: 0.5rem 1rem; border-radius: 2rem; }
.filter-bar label { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; cursor: pointer; }
.filter-bar input[type="radio"] { width: auto; margin: 0; }
.group-separator { margin-top: 0.5rem; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.8rem; color: #2563EB; background: #E5E7EB; padding: 0.2rem 0.8rem; border-radius: 20px; display: inline-block; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.dashboard-card { background: white; border-radius: 1.5rem; padding: 1.2rem; text-align: center; cursor: pointer; transition: 0.2s; border: 1px solid #E5E7EB; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.dashboard-card:hover { transform: translateY(-3px); box-shadow: 0 15px 20px -12px rgba(0,0,0,0.1); border-color: #2563EB; }
.dashboard-card i { font-size: 2rem; color: #2563EB; margin-bottom: 0.5rem; }
.dashboard-card h3 { font-size: 1rem; margin-bottom: 0.3rem; color: #111827; }
.dashboard-card p { font-size: 0.7rem; color: #4b5563; }
.group-list { display: flex; flex-direction: column; gap: 0.6rem; }
.group-item { border-radius: 1rem; padding: 0.8rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; cursor: pointer; transition: 0.2s; }
.group-item:hover { filter: brightness(0.97); }
.search-bar { margin-bottom: 1rem; }
.search-bar input { width: 100%; padding: 8px 12px; border: 1px solid #E5E7EB; border-radius: 60px; font-size: 0.85rem; }
.tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 2px solid #E5E7EB; }
.tab-btn { background: none; border: none; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; color: #4b5563; transition: 0.2s; }
.tab-btn.active { color: #2563EB; border-bottom: 2px solid #2563EB; margin-bottom: -2px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.ident-form { max-width: 500px; margin: 0 auto; }
.form-group { margin-bottom: 1rem; }
label { font-weight: 600; display: block; margin-bottom: 0.3rem; font-size: 0.8rem; color: #111827; }
input, select, textarea { width: 100%; padding: 8px 12px; border: 1px solid #E5E7EB; border-radius: 60px; font-size: 0.85rem; transition: 0.2s; }
textarea { border-radius: 1rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }
.password-wrapper { position: relative; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #4b5563; font-size: 0.9rem; }
.error-msg { color: #dc2626; font-size: 0.7rem; margin-top: 0.2rem; margin-left: 0.5rem; }
.checkbox-group { display: flex; align-items: center; gap: 8px; margin-top: -0.3rem; margin-bottom: 0.8rem; }
.checkbox-group input { width: auto; transform: scale(1); margin-right: 5px; }
.list-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; gap: 1rem; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.item-card { background: white; border-radius: 1.2rem; padding: 1rem; cursor: pointer; transition: 0.2s; border: 1px solid #E5E7EB; box-shadow: 0 4px 10px rgba(0,0,0,0.02); position: relative; }
.item-card:hover { transform: translateY(-3px); box-shadow: 0 15px 20px -12px rgba(0,0,0,0.1); border-color: #2563EB; }
.item-card .item-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #111827; }
.item-card .item-details { color: #4b5563; font-size: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; }
.item-card .item-details div { display: flex; align-items: center; gap: 0.5rem; }
.item-card .item-details i { width: 1rem; color: #2563EB; }
.delete-item { position: absolute; top: 8px; right: 8px; background: rgba(255,255,240,0.9); border: none; border-radius: 30px; width: 24px; height: 24px; cursor: pointer; color: #b91c1c; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.delete-item:hover { background: #fee2e2; transform: scale(1.05); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 1rem; cursor: pointer; color: #2563EB; font-weight: 600; font-size: 0.8rem; }
.groups-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.group-card-simple { border-radius: 1.2rem; padding: 1rem; cursor: pointer; transition: 0.2s; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 10px rgba(0,0,0,0.02); position: relative; }
.group-card-simple:hover { transform: translateY(-3px); box-shadow: 0 15px 20px -12px rgba(0,0,0,0.1); filter: brightness(0.97); }
.group-card-simple .group-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: #111827; }
.group-card-simple .group-meta { color: #4b5563; font-size: 0.7rem; display: flex; gap: 0.8rem; margin-top: 0.3rem; flex-wrap: wrap; }
.group-card-simple .badge { display: inline-block; background: rgba(0,0,0,0.1); border-radius: 40px; padding: 2px 8px; font-size: 0.65rem; font-weight: 600; margin-top: 0.3rem; backdrop-filter: blur(2px); }
footer { margin-top: 2rem; text-align: center; font-size: 0.75rem; color: #4b5563; font-style: italic; }
.view { display: none; }
.view.active { display: block; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(4px); }
.modal-container { background: white; border-radius: 1.2rem; max-width: 500px; width: 90%; padding: 1.5rem; box-shadow: 0 20px 35px -12px rgba(0,0,0,0.3); animation: modalFadeIn 0.2s ease-out; text-align: center; max-height: 80vh; overflow-y: auto; }
.modal-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: #111827; }
.modal-buttons { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1rem; }
.invite-details p { margin: 0.5rem 0; font-size: 0.9rem; }
.invites-list-modal { text-align: left; margin-top: 1rem; }
.invite-card-modal { background: #f8fafc; border-radius: 0.8rem; padding: 0.8rem; margin-bottom: 0.8rem; border-left: 3px solid #f59e0b; }
.invite-card-modal .invite-subject { font-weight: 700; margin-bottom: 0.3rem; }
.invite-card-modal .invite-actions { margin-top: 0.5rem; display: flex; gap: 0.5rem; justify-content: flex-end; }
.footer-admin-link { margin-top: 1.5rem; text-align: center; font-size: 0.7rem; border-top: 1px solid #E5E7EB; padding-top: 1rem; }
.footer-admin-link a { color: #4b5563; cursor: pointer; text-decoration: none; }
.footer-admin-link a:hover { color: #2563EB; text-decoration: underline; }
.profile-name-large { font-size: 2rem; font-weight: 700; color: #111827; margin-bottom: 1rem; text-align: center; }
.profile-info-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1rem; }
.profile-info-item { background: #E5E7EB; padding: 0.3rem 1rem; border-radius: 40px; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #111827; }
.profile-info-item i { color: #2563EB; width: 1.2rem; }
.skills-section { margin-top: 2rem; border-top: 1px solid #E5E7EB; padding-top: 1.5rem; }
.skills-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: #111827; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.8rem; margin-bottom: 1.5rem; }
.skill-toggle-item { border-radius: 1rem; padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; border: 1px solid #E5E7EB; transition: all 0.2s; }
.skill-toggle-item.skill-active { background: #d1fae5; border-color: #22C55E; }
.skill-toggle-item.skill-inactive { background: #fee2e2; border-color: #f87171; }
.skill-info { display: flex; align-items: center; gap: 0.6rem; }
.skill-info i { font-size: 1.2rem; color: #2563EB; width: 1.6rem; }
.skill-info span { font-size: 0.85rem; font-weight: 500; color: #111827; }
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #E5E7EB; transition: 0.3s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.3s; border-radius: 50%; }
input:checked + .slider { background-color: #22C55E; }
input:checked + .slider:before { transform: translateX(26px); }
.members-list, .waiting-list, .student-list-modern { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.member-row, .waiting-row, .student-row { background: white; border-radius: 0.8rem; padding: 0.5rem 1rem; border: 1px solid #E5E7EB; transition: all 0.2s; display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; align-items: center; gap: 1rem; }
.member-row:hover, .waiting-row:hover, .student-row:hover { background: #fafcff; border-color: #2563EB; }
.member-name { font-weight: 600; font-size: 0.9rem; color: #111827; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 6px; }
.member-name:hover { text-decoration: underline; color: #2563EB; }
.member-name i { font-size: 1.2rem; color: #2563EB; }
.member-reg { font-size: 0.7rem; color: #4b5563; font-family: monospace; }
.member-status { font-size: 0.7rem; border-radius: 20px; padding: 0.2rem 0.6rem; font-weight: 500; text-align: center; white-space: nowrap; }
.member-status.waiting { background: #fef3c7; color: #b45309; }
.member-status.ingroup { color: #111827; }
.member-actions { display: flex; gap: 0.4rem; justify-content: flex-end; }
@media (max-width: 768px) { .member-row, .waiting-row, .student-row { grid-template-columns: 1fr; gap: 0.4rem; } .member-actions { justify-content: flex-start; } }
.group-header-modern { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #E5E7EB; }
.group-title-area { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.group-name-modern { font-size: 1.2rem; font-weight: 700; color: #111827; margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.badge-creator { background: #E5E7EB; padding: 0.1rem 0.5rem; border-radius: 30px; font-size: 0.65rem; font-weight: 600; color: #2563EB; }
.info-badge { background: #E5E7EB; border-radius: 30px; padding: 0.2rem 0.7rem; font-size: 0.7rem; font-weight: 500; color: #2563EB; display: inline-flex; align-items: center; gap: 0.4rem; }
.group-actions { display: flex; gap: 0.3rem; align-items: center; }
.btn-icon { background: transparent; border: none; font-size: 1rem; cursor: pointer; color: #4b5563; padding: 0.3rem; border-radius: 50%; transition: 0.2s; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.btn-icon:hover { background: #E5E7EB; color: #2563EB; }
.btn-icon.danger { color: #b91c1c; }
.btn-icon.danger:hover { background: #fee2e2; color: #b91c1c; }
.group-action-buttons { display: flex; gap: 0.8rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.section-title { font-size: 0.9rem; font-weight: 600; margin: 1rem 0 0.6rem 0; display: flex; align-items: center; gap: 0.4rem; color: #111827; border-left: 3px solid #2563EB; padding-left: 0.6rem; }
.empty-members { text-align: center; padding: 1rem; background: #fafcff; border-radius: 0.8rem; color: #8aa9c9; font-style: italic; font-size: 0.75rem; }
.requests-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.request-card { background: #fefce8; border-left: 3px solid #f59e0b; border-radius: 0.6rem; padding: 0.6rem 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.request-actions { display: flex; gap: 0.4rem; }
.admin-add-waiting { margin-top: 0.8rem; text-align: right; }
.info-modal-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.info-modal-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.4rem 0; border-bottom: 1px solid #E5E7EB; }
.info-modal-row i { width: 1.6rem; color: #2563EB; }
.info-modal-row .label { font-weight: 600; width: 90px; font-size: 0.8rem; color: #111827; }
.info-modal-row .value { flex: 1; font-size: 0.85rem; color: #111827; }
.custom-tooltip { position: fixed; background: #1e293b; color: #f1f5f9; padding: 0.8rem 1rem; border-radius: 1rem; font-size: 0.75rem; max-width: 380px; width: max-content; z-index: 10000; box-shadow: 0 15px 30px -12px rgba(0,0,0,0.4); pointer-events: none; transition: opacity 0.15s; border: 1px solid #475569; backdrop-filter: blur(2px); }
.custom-tooltip .tooltip-title { font-weight: 800; font-size: 0.85rem; margin-bottom: 0.6rem; border-bottom: 1px solid #475569; display: inline-block; padding-bottom: 0.2rem; color: #ffffff; }
.custom-tooltip .tooltip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.4rem; }
.custom-tooltip .tooltip-col { display: flex; flex-direction: column; gap: 0.3rem; }
.custom-tooltip .tooltip-col-title { font-weight: 700; font-size: 0.7rem; color: #94a3b8; margin-bottom: 0.2rem; border-bottom: 1px dashed #334155; padding-bottom: 0.15rem; }
.custom-tooltip .tooltip-skill { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; line-height: 1.3; }
.custom-tooltip .tooltip-skill i { width: 0.9rem; font-size: 0.7rem; color: #94a3b8; }
.custom-tooltip .tooltip-empty { font-size: 0.65rem; color: #64748b; font-style: italic; padding: 0.2rem 0; }
.profile-avatar { text-align: center; margin-bottom: 1rem; }
.profile-avatar i { font-size: 80px; color: #2563EB; }
@media (max-width: 640px) { body { padding: 1rem; } .card { padding: 1rem; } .groups-header { flex-direction: column; align-items: stretch; gap: 0.8rem; } .app-header { flex-direction: column; gap: 0.3rem; } .user-info { margin-left: 0; } .app-header h1 { font-size: 2rem; } .profile-info-row { gap: 0.5rem; } .skills-grid { grid-template-columns: 1fr; } .notif-dropdown { width: 280px; right: -20px; } .filter-bar { flex-direction: column; align-items: flex-start; } .custom-tooltip { max-width: 300px; } .custom-tooltip .tooltip-grid { gap: 0.5rem; } }

/* ========== NOVO DESIGN DA TELA DE LOGIN ========== */
.login-hero {
  text-align: center;
  margin-bottom: 20px;
}
.login-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: #111827;
}
.login-hero h1 span {
  color: #5a5cff;
}
.login-subtitle {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 5px;
  color: #374151;
}
.login-description {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.login-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a5cff;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* Estilo para as novas imagens de avatar */
.avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover; /* Garante que a imagem preencha o círculo sem distorcer */
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.avatar-extra {
  width: 70px;
  height: 70px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-left: -5px;
}
.avatar-extra span {
  font-size: 14px;
  color: #111827;
}
.avatar-extra small {
  font-size: 10px;
  color: #6b7280;
}
.active-groups-badge {
  background: white;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  border: 1px solid #e5e7eb;
}
.active-groups-badge i {
  color: #5a5cff;
}
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  margin-left: 5px;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.5s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.login-card {
  background: white;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 20px 35px -8px rgba(0,0,0,0.1);
  max-width: 420px;
  margin: 0 auto;
}
.login-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
}
.login-tab {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0 12px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
}
.login-tab.active {
  color: #3b5bff;
  border-bottom: 2px solid #3b5bff;
  margin-bottom: -2px;
}
.login-pane {
  display: none;
}
.login-pane.active {
  display: block;
}
.login-card .form-group {
  margin-bottom: 1.2rem;
}
.login-card label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #1e293b;
}
.login-card input,
.login-card select {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  background: #fafbfc;
  transition: border 0.2s, box-shadow 0.2s;
}
.login-card input:focus,
.login-card select:focus {
  border-color: #5a5cff;
  box-shadow: 0 0 0 3px rgba(90, 92, 255, 0.1);
  outline: none;
}
.login-card small {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}
.btn-login-primary {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}
.btn-login-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.35);
}
.btn-login-primary i {
  color: white;
}
.login-info {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #059669;
}
.login-footer {
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid #eef2f6;
  padding-top: 16px;
}
.login-footer a {
  color: #475569;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}
.login-footer a:hover {
  color: #4f46e5;
}
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}
.password-wrapper .toggle-password {
  position: absolute;
  right: 14px;
  color: #64748b;
  cursor: pointer;
}
@media (max-width: 480px) {
  .login-hero h1 {
    font-size: 2rem;
  }
  .login-card {
    padding: 20px 16px;
  }
}