Brandex Dashboard :root { –green: #1db954; –green-dark: #17a349; –green-light: #e8f8ee; –green-glow: rgba(29,185,84,0.15); –bg: #f4f5f7; –sidebar-bg: #ffffff; –card-bg: #ffffff; –text-primary: #111827; –text-secondary: #6b7280; –text-muted: #9ca3af; –border: #e5e7eb; –red: #ef4444; –red-light: #fef2f2; –shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04); –shadow-md: 0 4px 12px rgba(0,0,0,0.08); –shadow-lg: 0 8px 32px rgba(0,0,0,0.1); –radius: 14px; –sidebar-w: 240px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: ‘DM Sans’, sans-serif; background: var(–bg); color: var(–text-primary); min-height: 100vh; display: flex; flex-direction: column; } /* ── TOP NAV ── */ .topnav { height: 60px; background: #fff; border-bottom: 1px solid var(–border); display: flex; align-items: center; padding: 0 24px; gap: 16px; position: sticky; top: 0; z-index: 100; box-shadow: var(–shadow-sm); } .logo { display: flex; align-items: center; gap: 8px; font-family: ‘Sora’, sans-serif; font-weight: 700; font-size: 1.2rem; color: var(–text-primary); text-decoration: none; min-width: var(–sidebar-w); } .logo-icon { width: 28px; height: 28px; background: var(–green); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; } .search-bar { flex: 1; max-width: 420px; position: relative; } .search-bar input { width: 100%; padding: 8px 16px 8px 38px; border: 1.5px solid var(–border); border-radius: 10px; font-family: ‘DM Sans’, sans-serif; font-size: 0.875rem; background: var(–bg); color: var(–text-primary); outline: none; transition: border-color 0.2s; } .search-bar input:focus { border-color: var(–green); } .search-bar svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(–text-muted); } .nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; } .btn-studio { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(–border); border-radius: 9px; background: white; font-family: ‘DM Sans’, sans-serif; font-size: 0.85rem; font-weight: 500; cursor: pointer; color: var(–text-primary); transition: border-color 0.2s, background 0.2s; } .btn-studio:hover { border-color: var(–green); background: var(–green-light); } .btn-custom { display: flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(–green); border: none; border-radius: 9px; font-family: ‘DM Sans’, sans-serif; font-size: 0.85rem; font-weight: 600; color: white; cursor: pointer; transition: background 0.2s, transform 0.1s; position: relative; } .btn-custom:hover { background: var(–green-dark); transform: translateY(-1px); } .badge-new { position: absolute; top: -7px; right: -6px; background: #ef4444; color: white; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 20px; letter-spacing: 0.04em; } .btn-credits { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(–border); border-radius: 9px; background: white; font-family: ‘DM Sans’, sans-serif; font-size: 0.85rem; font-weight: 500; cursor: pointer; color: var(–text-primary); transition: border-color 0.2s; } .btn-credits:hover { border-color: var(–green); } .nav-icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(–border); background: white; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: border-color 0.2s; } .nav-icon-btn:hover { border-color: var(–green); } .notif-dot { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: var(–green); border-radius: 50%; font-size: 0.65rem; font-weight: 700; color: white; display: flex; align-items: center; justify-content: center; border: 2px solid white; } .avatar { width: 36px; height: 36px; background: var(–text-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: ‘Sora’, sans-serif; font-weight: 600; font-size: 0.85rem; cursor: pointer; } /* ── LAYOUT ── */ .layout { display: flex; flex: 1; overflow: hidden; } /* ── SIDEBAR ── */ .sidebar { width: var(–sidebar-w); background: var(–sidebar-bg); border-right: 1px solid var(–border); display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 60px; height: calc(100vh – 60px); overflow-y: auto; } .sidebar-section-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(–text-muted); padding: 0 10px; margin: 16px 0 6px; } .sidebar-section-label:first-child { margin-top: 0; } .nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; font-size: 0.9rem; font-weight: 500; color: var(–text-secondary); transition: all 0.15s; text-decoration: none; position: relative; } .nav-item:hover { background: var(–bg); color: var(–text-primary); } .nav-item.active { background: var(–green-light); color: var(–green-dark); font-weight: 600; } .nav-item.active svg { color: var(–green); } .nav-credit-badge { margin-left: auto; background: var(–green-light); color: var(–green-dark); font-size: 0.72rem; font-weight: 600; padding: 2px 7px; border-radius: 20px; } .sidebar-spacer { flex: 1; } .sidebar-upsell { background: linear-gradient(135deg, #0f2010 0%, #1a3d1a 100%); border-radius: 14px; padding: 18px; color: white; margin-top: 12px; } .sidebar-upsell h4 { font-family: ‘Sora’, sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; } .sidebar-upsell p { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 14px; line-height: 1.4; } .btn-buy-credits { width: 100%; background: var(–green); border: none; border-radius: 9px; color: white; font-family: ‘DM Sans’, sans-serif; font-weight: 600; font-size: 0.875rem; padding: 9px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background 0.2s, transform 0.1s; } .btn-buy-credits:hover { background: var(–green-dark); transform: translateY(-1px); } .credit-meter { margin-bottom: 12px; } .credit-meter-label { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: 5px; } .credit-meter-bar { height: 5px; background: rgba(255,255,255,0.15); border-radius: 10px; overflow: hidden; } .credit-meter-fill { height: 100%; background: var(–green); border-radius: 10px; width: 18%; /* 9 of 50 */ transition: width 1s ease; } /* ── MAIN ── */ .main { flex: 1; padding: 32px; overflow-y: auto; } .page-header { text-align: center; margin-bottom: 28px; animation: fadeDown 0.5s ease both; } .page-header h1 { font-family: ‘Sora’, sans-serif; font-size: 1.75rem; font-weight: 700; color: var(–text-primary); } .page-header p { color: var(–text-secondary); font-size: 0.9rem; margin-top: 4px; } /* ── STATS ROW ── */ .stats-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 20px; animation: fadeUp 0.5s ease 0.1s both; } .stat-card { background: var(–card-bg); border-radius: var(–radius); padding: 20px 22px; box-shadow: var(–shadow-sm); border: 1px solid var(–border); transition: box-shadow 0.2s, transform 0.2s; } .stat-card:hover { box-shadow: var(–shadow-md); transform: translateY(-2px); } .stat-card.credits-card { background: linear-gradient(135deg, #1db954 0%, #0e9e42 100%); color: white; border: none; position: relative; overflow: hidden; } .stat-card.credits-card::before { content: ”; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; background: rgba(255,255,255,0.08); border-radius: 50%; } .stat-card.credits-card::after { content: ”; position: absolute; bottom: -40px; right: 20px; width: 130px; height: 130px; background: rgba(255,255,255,0.05); border-radius: 50%; } .credits-label { font-size: 0.78rem; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; } .credits-amount { font-family: ‘Sora’, sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 12px; } .btn-buy-small { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.35); border-radius: 8px; color: white; font-family: ‘DM Sans’, sans-serif; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: background 0.2s; backdrop-filter: blur(4px); } .btn-buy-small:hover { background: rgba(255,255,255,0.3); } .stat-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 1.1rem; } .stat-icon.blue { background: #eff6ff; color: #3b82f6; } .stat-icon.purple { background: #f5f3ff; color: #8b5cf6; } .stat-icon.orange { background: #fff7ed; color: #f97316; } .stat-number { font-family: ‘Sora’, sans-serif; font-size: 1.7rem; font-weight: 700; line-height: 1; margin-bottom: 4px; } .stat-label { font-size: 0.82rem; color: var(–text-secondary); } /* ── MIDDLE ROW ── */ .middle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; animation: fadeUp 0.5s ease 0.2s both; } .section-card { background: var(–card-bg); border-radius: var(–radius); padding: 22px; box-shadow: var(–shadow-sm); border: 1px solid var(–border); } .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .section-title { display: flex; align-items: center; gap: 8px; font-family: ‘Sora’, sans-serif; font-size: 0.95rem; font-weight: 700; } .section-title-icon { width: 26px; height: 26px; background: var(–green-light); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; } .link-btn { font-size: 0.8rem; color: var(–text-muted); cursor: pointer; border: 1px solid var(–border); padding: 4px 10px; border-radius: 7px; background: none; font-family: ‘DM Sans’, sans-serif; transition: all 0.15s; } .link-btn:hover { border-color: var(–green); color: var(–green); background: var(–green-light); } /* Purchases */ .purchase-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; border: 1px solid var(–border); margin-bottom: 8px; transition: background 0.15s; gap: 12px; } .purchase-item:last-child { margin-bottom: 0; } .purchase-item:hover { background: var(–bg); } .purchase-icon { width: 32px; height: 32px; background: var(–green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; } .purchase-info { flex: 1; } .purchase-name { font-size: 0.875rem; font-weight: 600; color: var(–text-primary); } .purchase-date { font-size: 0.75rem; color: var(–text-muted); margin-top: 1px; } .purchase-right { text-align: right; } .purchase-amount { font-size: 0.875rem; font-weight: 600; } .status-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; } .status-failed { background: var(–red-light); color: var(–red); } .status-completed { background: var(–green-light); color: var(–green-dark); } .retry-link { font-size: 0.72rem; color: var(–green); cursor: pointer; text-decoration: underline; margin-top: 2px; display: block; } .retry-link:hover { color: var(–green-dark); } /* Downloads */ .download-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(–border); } .download-item:last-child { border-bottom: none; } .download-thumb { width: 44px; height: 44px; border-radius: 9px; background: var(–bg); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 1px solid var(–border); } .download-info { flex: 1; } .download-name { font-size: 0.85rem; font-weight: 600; line-height: 1.3; } .download-date { font-size: 0.73rem; color: var(–text-muted); margin-top: 2px; } .price-tag { font-size: 0.8rem; font-weight: 700; flex-shrink: 0; } .price-tag.free { color: var(–green); } .price-tag.credits { color: #8b5cf6; } /* ── FILES SECTION ── */ .files-section { animation: fadeUp 0.5s ease 0.3s both; } .files-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; } .files-search { display: flex; align-items: center; gap: 8px; } .files-search-input { position: relative; } .files-search-input input { padding: 7px 14px 7px 34px; border: 1.5px solid var(–border); border-radius: 9px; font-family: ‘DM Sans’, sans-serif; font-size: 0.85rem; background: var(–card-bg); outline: none; width: 200px; transition: border-color 0.2s; } .files-search-input input:focus { border-color: var(–green); } .files-search-input svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(–text-muted); } .filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; } .filter-tab { padding: 6px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 500; cursor: pointer; border: 1.5px solid var(–border); background: var(–card-bg); color: var(–text-secondary); transition: all 0.15s; font-family: ‘DM Sans’, sans-serif; } .filter-tab:hover { border-color: var(–green); color: var(–green); } .filter-tab.active { background: var(–green); border-color: var(–green); color: white; } .files-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } .file-card { background: var(–card-bg); border-radius: var(–radius); overflow: hidden; box-shadow: var(–shadow-sm); border: 1px solid var(–border); transition: box-shadow 0.2s, transform 0.2s; } .file-card:hover { box-shadow: var(–shadow-md); transform: translateY(-3px); } .file-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, #e8f4eb, #d1ead8); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; position: relative; overflow: hidden; } .file-thumb img { width: 100%; height: 100%; object-fit: cover; } .file-body { padding: 13px; } .file-name { font-size: 0.85rem; font-weight: 600; color: var(–text-primary); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-date { font-size: 0.72rem; color: var(–text-muted); margin-bottom: 10px; } .file-footer { display: flex; align-items: center; justify-content: space-between; } .file-tags { display: flex; gap: 5px; flex-wrap: wrap; } .file-tag { font-size: 0.68rem; font-weight: 600; padding: 2px 7px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.04em; } .tag-mockup { background: #ecfdf5; color: #059669; } .tag-premium { background: #fdf4ff; color: #9333ea; } .tag-free { background: #f0fdf4; color: #16a34a; } .tag-video { background: #fff7ed; color: #c2410c; } .btn-download { display: flex; align-items: center; gap: 5px; padding: 6px 12px; background: var(–green); border: none; border-radius: 8px; color: white; font-family: ‘DM Sans’, sans-serif; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap; } .btn-download:hover { background: var(–green-dark); } /* ── ANIMATIONS ── */ @keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } /* ── SCROLLBAR ── */ ::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
Available Balance
9 Credits