:root { --bg: #f6f8fc; --panel: #ffffff; --panel-soft: #f9fbff; --text: #101827; --muted: #657085; --line: #e6eaf2; --dark: #0b1728; --dark2: #111f35; --accent: #e83282; --accent2: #9b5cff; --blue: #4aa3df; --green: #58b9a8; --yellow: #f5b642; --danger: #ef4444; --shadow: 0 18px 50px rgba(15, 23, 42, .08); --radius: 18px; } * { box-sizing: border-box; } body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); } .hidden { display: none !important; } button, input, select, textarea { font: inherit; } button { cursor: pointer; } .login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; background: radial-gradient(circle at 20% 20%, rgba(232, 50, 130, .20), transparent 32%), radial-gradient(circle at 80% 70%, rgba(74, 163, 223, .20), transparent 30%), linear-gradient(135deg, #081425 0%, #111d32 45%, #f6f8fc 45%, #f6f8fc 100%); } .login-brand { color: white; padding: 64px; display: flex; flex-direction: column; justify-content: center; } .login-brand img { width: 210px; height: auto; object-fit: contain; margin-bottom: 32px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); } .login-brand h1 { font-size: 48px; margin: 0 0 12px; letter-spacing: -1.5px; } .login-brand p { max-width: 520px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; } .login-card-wrap { display: flex; align-items: center; justify-content: center; padding: 40px; } .login-card { width: min(430px, 100%); background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.75); box-shadow: var(--shadow); border-radius: 28px; padding: 34px; backdrop-filter: blur(18px); } .login-card .brand-badge { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; font-weight: 900; margin-bottom: 18px; } .login-card h1 { margin: 0 0 8px; font-size: 30px; } .login-card p { margin: 0 0 26px; color: var(--muted); } .login-card label { display: block; font-weight: 700; font-size: 13px; margin: 14px 0 8px; } .login-card input { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; outline: none; background: #fff; } .login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 50, 130, .10); } .login-card button, .primary-btn { border: 0; border-radius: 14px; padding: 13px 18px; color: white; background: linear-gradient(135deg, var(--accent), #b73592); box-shadow: 0 12px 30px rgba(232, 50, 130, .22); font-weight: 800; } .login-card button { width: 100%; margin-top: 20px; } .error, .form-error { color: var(--danger); font-size: 13px; margin-top: 12px; } .app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr) 310px; min-height: 100vh; } .sidebar { background: linear-gradient(180deg, #071322 0%, #0c1c31 100%); color: white; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow: auto; } .sidebar-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 4px 6px; } .sidebar-brand img { width: 44px; height: 44px; object-fit: contain; } .sidebar-brand strong { font-size: 23px; color: #f2529c; letter-spacing: -.5px; } .user-box { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.06); margin-bottom: 22px; } .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, var(--accent), var(--blue)); color: white; } .user-box small { display: block; color: rgba(255,255,255,.62); margin-top: 2px; } .nav-title { color: rgba(255,255,255,.42); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 22px 10px 10px; } .nav-btn { width: 100%; border: 0; background: transparent; color: rgba(255,255,255,.82); display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 12px; text-align: left; margin: 3px 0; } .nav-btn:hover { background: rgba(255,255,255,.07); color: white; } .nav-btn.active { background: linear-gradient(135deg, var(--accent), #bf3aa0); color: white; box-shadow: 0 12px 28px rgba(232, 50, 130, .24); } .storage-card { margin-top: 26px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); } .storage-card span { display: block; color: rgba(255,255,255,.62); font-size: 13px; margin-top: 4px; } .progress { height: 8px; background: rgba(255,255,255,.18); border-radius: 99px; margin-top: 12px; overflow: hidden; } .progress > div { height: 100%; width: 12%; background: linear-gradient(90deg, var(--accent), var(--blue)); } .main { padding: 22px 34px 40px; min-width: 0; } .topbar { height: 56px; display: grid; grid-template-columns: minmax(240px, 520px) 1fr auto; gap: 16px; align-items: center; margin-bottom: 28px; } .searchbar { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); border-radius: 15px; padding: 0 14px; height: 46px; } .searchbar input { border: 0; outline: 0; width: 100%; } .header h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.6px; } .header p { margin: 0; color: var(--muted); } .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 26px 0; } .stat-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15,23,42,.045); padding: 20px; display: flex; gap: 15px; align-items: center; } .stat-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(232,50,130,.11); color: var(--accent); font-weight: 900; } .stat-card strong { display: block; font-size: 22px; margin-top: 4px; } .stat-card span { color: var(--muted); font-size: 13px; } .filters, .card, .panel-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15,23,42,.045); } .filters { padding: 18px; display: grid; grid-template-columns: 1.1fr 1fr 1.1fr auto auto; gap: 16px; align-items: end; margin-bottom: 22px; } .field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; } .field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: white; outline: none; } .secondary-btn, .ghost-btn, .danger-btn { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 11px 14px; font-weight: 800; color: var(--text); } .danger-btn { color: var(--danger); border-color: rgba(239,68,68,.25); } .toolbar { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; } .view-toggle { display: flex; gap: 8px; } .view-toggle button { border: 1px solid var(--line); background: white; border-radius: 12px; width: 42px; height: 38px; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 16px; } .photo-card { height: 165px; border-radius: 16px; overflow: hidden; position: relative; background: #dce4f2; box-shadow: 0 12px 28px rgba(15,23,42,.08); } .photo-card img, .photo-card video { width: 100%; height: 100%; object-fit: cover; } .photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62) 100%); } .photo-info { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; color: white; font-size: 13px; } .tag { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: rgba(232,50,130,.12); color: #be2c72; font-size: 12px; font-weight: 800; margin: 2px; } .rightbar { padding: 22px 22px 40px 0; } .panel-card { padding: 20px; margin-bottom: 18px; } .panel-card h3 { margin: 0 0 14px; font-size: 18px; } .list-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); } .list-row:last-child { border-bottom: 0; } .list-row small { color: var(--muted); } .table-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,.045); } table { width: 100%; border-collapse: collapse; } th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; } th { background: #f9fbff; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; } .modal-backdrop { position: fixed; inset: 0; background: rgba(5, 12, 24, .55); display: grid; place-items: center; z-index: 100; } .modal { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: white; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); padding: 24px; } .modal h2 { margin: 0 0 18px; } .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; } .account-card { max-width: 720px; } @media (max-width: 1180px) { .app-shell { grid-template-columns: 230px 1fr; } .rightbar { display: none; } .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .filters { grid-template-columns: 1fr 1fr; } } @media (max-width: 760px) { .login-shell { grid-template-columns: 1fr; background: var(--bg); } .login-brand { display: none; } .app-shell { grid-template-columns: 1fr; } .sidebar { position: relative; height: auto; } .topbar, .filters, .stats { grid-template-columns: 1fr; } .main { padding: 20px; } }