:root {
    --primary: #00c2c7;
    --primary-hover: #00a0a5;
    --bg-dark: #0f111a;
    --bg-card: #1a1d2d;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Navbar */
.app-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav .nav-item {
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.header-nav .nav-item:hover, .header-nav .nav-item.active {
    color: var(--primary);
    background: rgba(0, 194, 199, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
}

.no-sidebar .main-content {
    margin-left: 0;
    padding: 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    margin-bottom: 24px;
}
.page-title h2 {
    font-size: 24px;
    font-weight: 600;
}

/* Sidebar */

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.main-nav {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    background: rgba(0, 194, 199, 0.1);
    color: var(--primary);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 24px 16px;
    border-top: 1px solid var(--border);
}

.footer-link {
    font-size: 14px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-grid {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    max-width: 1400px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.card h3 {
    margin-bottom: 24px;
    font-size: 18px;
    color: #fff;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.platform-selector {
    display: flex;
    gap: 12px;
}

.platform-btn {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-main);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.platform-btn.active {
    border-color: var(--primary);
    background: rgba(0, 194, 199, 0.1);
    color: var(--primary);
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    transition: border-color 0.2s;
}

.upload-area:hover {
    border-color: var(--primary);
}

.upload-area i {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.upload-area p {
    font-weight: 500;
    margin-bottom: 4px;
}

.upload-area span {
    font-size: 13px;
    color: var(--text-muted);
}

textarea {
    width: 100%;
    height: 120px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-main);
    font-family: inherit;
    resize: none;
}

textarea:focus, input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

input[type="date"], input[type="time"] {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-main);
    font-family: inherit;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Right Column */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.phone-mockup {
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 30px;
    border: 8px solid #2a2e45;
    position: relative;
    overflow: hidden;
}

.tiktok-ui-placeholder {
    height: 100%;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tt-header {
    text-align: center;
    padding: 40px 20px 20px;
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
}

.tt-side-actions {
    position: absolute;
    right: 12px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.tt-bottom-info {
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.tt-bottom-info h4 {
    margin-bottom: 8px;
    font-size: 15px;
}

.tt-bottom-info p {
    font-size: 13px;
    color: #eee;
}

.stat-row {
    display: flex;
    gap: 16px;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-box span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-box b {
    font-size: 24px;
    color: var(--primary);
}

/* Legal Pages */
.doc-container {
    max-width: 800px;
    margin: 40px auto;
}

.doc-container h1 { color: var(--primary); margin-bottom: 24px; }
.doc-container h2 { margin: 32px 0 16px; color: #fff; }
.doc-container p, .doc-container li { color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.doc-container ul { padding-left: 24px; }
