:root { --surface-bg: #1a1a1f; --surface-muted: rgba(0, 0, 0, 0.15); --surface-elevated: rgba(0, 0, 0, 0.2); --surface-border: rgba(255, 255, 255, 0.08); --text-primary: #ffffff; --text-muted: #8b949e; --accent: #00aeef; --danger: #f85149; } @import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap'); .archivo-black { font-family: "Archivo Black", sans-serif; font-weight: 400; } * { box-sizing: border-box; margin: 0; padding: 0; } body { min-height: 100vh; background-color: #1d1e1f; color: #c9d1d9; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; } .app-viewport { width: 100%; padding: 2rem 1rem; display: block !important; min-height: 100vh !important; } .app-viewport > * { display: block !important; width: 100% !important; } .app-content { display: block !important; width: 100% !important; max-width: 1280px !important; margin: 0 auto !important; } .footer-container { margin-top: 2rem !important; } .spinner { border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: #00aeef; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; } .spinner.lg { width: 42px; height: 42px; border-width: 4px; } .spinner.sm { width: 14px; height: 14px; border-width: 2px; } .btn-spinner { margin-right: 8px; vertical-align: middle; border-top-color: #ffffff; } @keyframes spin { to { transform: rotate(360deg); } } .global-loader-wrapper { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 50vh; } button, .btn-login-action { padding: 0.6rem 1.2rem; background: #00aeef; color: #ffffff; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: opacity 0.2s; display: inline-flex; align-items: center; justify-content: center; } button:hover, .btn-login-action:hover { opacity: 0.9; } button:disabled, .btn-login-action:disabled { opacity: 0.6; cursor: not-allowed; } .btn-login-action { width: 100%; } .login-wrapper { max-width: 420px; margin: 4rem auto; width: 100%; } .settings-container { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1280px; margin: 0 auto; width: 100%; } .settings-sidebar, .settings-panel { background-color: var(--surface-bg); border: 1px solid var(--surface-border); border-radius: 6px; overflow: hidden; } .settings-sidebar { height: max-content; } .sidebar-header, .panel-header { padding: 0.85rem 1rem; font-size: 1.1rem; border-bottom: 1px solid var(--surface-border); background-color: var(--surface-muted); color: var(--text-primary); } .user-badge { padding: 0.75rem 1rem; background: var(--surface-elevated); border-bottom: 1px solid var(--surface-border); display: flex; flex-direction: column; } .user-name { color: #ffffff; font-weight: 600; font-size: 0.9rem; } .user-email { color: #8b949e; font-size: 0.8rem; } .sidebar-menu { display: flex; flex-direction: column; } .nav-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #8b949e; text-align: left; font-size: 0.95rem; width: 100%; cursor: pointer; } .logout-btn { color: #f85149; } .logout-btn:hover { background: rgba(248, 81, 73, 0.1); } .active-nav { background: rgba(0, 174, 239, 0.1); border-left: 3px solid #00aeef; color: #00aeef; font-weight: 600; padding-left: calc(1rem - 3px); } .settings-main-content { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; } .panel-header { padding: 0.85rem 1.25rem; } .panel-body { padding: 1.5rem; } .grid-layout { display: flex; flex-direction: column; gap: 1.5rem; align-items: stretch; } .welcome-left-col { display: flex; flex-direction: column; align-items: center; } .image-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; margin-bottom: 1.25rem; } .welcome-image { max-width: 100%; max-height: 680px; object-fit: contain; border-radius: 8px; box-shadow: none; } .welcome-text { font-size: 1.5rem; color: #ffffff; font-weight: 400; text-align: center; width: 100%; } .welcome-text em { color: #00aeef; font-style: italic; } .logins-right-col { display: flex; flex-direction: column; height: 100%; } .logins-card { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; display: flex; flex-direction: column; max-height: 100%; overflow: hidden; } .logins-header { padding: 0.75rem 1rem; font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background-color: rgba(0, 0, 0, 0.2); color: #8b949e; } .logins-list { list-style: none; overflow-y: auto; margin: 0; padding: 0; } .login-item { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 0.85rem; } .login-item:last-child { border-bottom: none; } .login-user { color: #ffffff; font-weight: 600; } .login-details { color: #8b949e; font-size: 0.78rem; margin-top: 2px; } .login-time { color: #00aeef; } @media (min-width: 768px) { .settings-container { flex-direction: row; align-items: flex-start; } .settings-sidebar { width: 280px; flex-shrink: 0; } } @media (min-width: 900px) { .grid-layout { display: grid; grid-template-columns: 1fr 300px; align-items: stretch; } } .grid-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; padding: 1.5rem; } @media (max-width: 850px) { .grid-layout { grid-template-columns: 1fr; } } .welcome-image { max-width: 100%; border-radius: 8px; object-fit: cover; } .welcome-text { margin-top: 1rem; color: #f0f6fc; } .logins-card { background: #0d1117; border: 1px solid #30363d; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; } .logins-header { background: #161b22; padding: 0.75rem 1rem; font-size: 0.85rem; color: #8b949e; border-bottom: 1px solid #30363d; } .view-all-link { color: #58a6ff; font-size: 0.75rem; text-decoration: none; font-family: inherit; } .view-all-link:hover { text-decoration: underline; } .logins-list { list-style: none; margin: 0; padding: 0; } .action-item { padding: 0.75rem 1rem; border-bottom: 1px solid #21262d; cursor: pointer; transition: background 0.15s ease; } .action-item:hover { background: #161b22; } .action-item:last-child { border-bottom: none; } .action-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; } .user-block { display: flex; align-items: center; gap: 0.4rem; } .avatar-xs { width: 20px; height: 20px; border-radius: 50%; background: #21262d; } .editor-name { font-weight: 600; font-size: 0.825rem; color: #f0f6fc; } .action-time { font-size: 0.725rem; color: #8b949e; } .action-summary { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; } .target-name { font-size: 0.8rem; color: #8b949e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .changes-tags { display: flex; gap: 0.25rem; } .change-chip { background: #21262d; border: 1px solid #30363d; color: #58a6ff; padding: 0.1rem 0.4rem; border-radius: 10px; font-size: 0.68rem; } .badge-ban { background: #490202; border: 1px solid #8b0000; color: #ff7b72; padding: 0.1rem 0.4rem; border-radius: 10px; font-size: 0.68rem; font-weight: bold; } .loading-state, .empty-state { padding: 2rem 1rem; text-align: center; color: #8b949e; font-size: 0.85rem; } .card-footer { padding: 0.75rem; background: #161b22; border-top: 1px solid #30363d; } .btn-action.secondary { background: transparent; border: 1px solid #30363d; color: #c9d1d9; border-radius: 6px; padding: 0.4rem; font-size: 0.75rem; font-weight: 600; cursor: pointer; } .btn-action.secondary:hover { background: #21262d; }