
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, Arial, sans-serif;
        }
        
        :root {
            --tiktok-red: #fe2c55;
            --tiktok-blue: #25f4ee;
            --tiktok-black: #121212;
            --tiktok-dark-gray: #242424;
            --tiktok-light-gray: #a8a8a8;
        }
        
        body {
            background-color: var(--tiktok-black);
            color: #fff;
            overflow-x: hidden;
            min-height: 100vh;
        }
        
        .container {
            display: flex;
            max-width: 1600px;
            margin: 0 auto;
            position: relative;
        }
        
        /* Sidebar para desktop */
        .sidebar {
            width: 220px;
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            padding: 20px 0;
            border-right: 1px solid #2f2f2f;
            display: flex;
            flex-direction: column;
        }
        
        .logo {
            padding: 0 20px 25px;
            display: flex;
            align-items: center;
        }
        
        .logo svg {
            width: 118px;
            height: 42px;
            fill: #fff;
        }
        
        .sidebar-nav {
            flex-grow: 1;
        }
        
        .nav-item {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            text-decoration: none;
            color: #fff;
            font-size: 18px;
            font-weight: 500;
        }
        
        .nav-item:hover {
            background-color: #2f2f2f;
        }
        
        .nav-item.active {
            color: var(--tiktok-red);
        }
        
        .nav-item i {
            font-size: 24px;
            margin-right: 10px;
            width: 30px;
            text-align: center;
        }
        
        .nav-divider {
            height: 1px;
            background-color: #2f2f2f;
            margin: 10px 0;
        }
        
        .sidebar-footer {
            padding: 16px 20px;
            font-size: 14px;
            color: var(--tiktok-light-gray);
        }
        
        /* Conteúdo principal */
        .main-content {
            flex: 1;
            margin-left: 220px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0 20px;
            position: sticky;
            top: 0;
            background-color: var(--tiktok-black);
            z-index: 100;
        }
        
        .search-box {
            display: flex;
            align-items: center;
            background-color: #2f2f2f;
            border-radius: 20px;
            padding: 8px 15px;
            width: 300px;
        }
        
        .search-box input {
            background: transparent;
            border: none;
            color: #fff;
            padding: 5px 10px;
            width: 100%;
            outline: none;
        }
        
        .search-box i {
            color: var(--tiktok-light-gray);
        }
        
        .upload-btn {
            background-color: var(--tiktok-red);
            color: white;
            border: none;
            border-radius: 4px;
            padding: 8px 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        
        .upload-btn i {
            margin-right: 5px;
        }
        
        .profile-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--tiktok-red), var(--tiktok-blue));
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 15px;
            cursor: pointer;
        }
        
        .profile-btn img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid var(--tiktok-black);
        }
        
        .header-actions {
            display: flex;
            align-items: center;
        }
        
        /* Feed de vídeos */
        .video-feed {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }
        
        .video-card {
            width: 310px;
            border-radius: 8px;
            overflow: hidden;
            background-color: var(--tiktok-dark-gray);
            position: relative;
        }
        
        .video-thumbnail {
            width: 100%;
            height: 420px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .thumbnail-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 0, 0, 0.5);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .video-card:hover .video-play-btn {
            opacity: 1;
        }
        
        .video-play-btn i {
            font-size: 20px;
            color: white;
        }
        
        .video-info {
            padding: 12px;
        }
        
        .video-author {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .author-name {
            font-weight: 600;
            font-size: 16px;
        }
        
        .video-description {
            font-size: 14px;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .video-stats {
            display: flex;
            color: var(--tiktok-light-gray);
            font-size: 13px;
        }
        
        .video-stat {
            display: flex;
            align-items: center;
            margin-right: 15px;
            cursor: pointer;
        }
        
        .video-stat i {
            margin-right: 5px;
        }
        
        .video-stat.liked i {
            color: var(--tiktok-red);
        }
        
        /* Navegação inferior para mobile */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-around;
            padding: 12px 0;
            background-color: var(--tiktok-black);
            border-top: 1px solid #2f2f2f;
            z-index: 100;
            display: none;
        }
        
        .nav-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #fff;
            text-decoration: none;
            font-size: 12px;
        }
        
        .nav-button i {
            font-size: 22px;
            margin-bottom: 3px;
        }
        
        .nav-button.active {
            color: var(--tiktok-red);
        }
        
        /* Modal de Login/Register */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            display: none;
        }
        
        .modal {
            background-color: var(--tiktok-dark-gray);
            padding: 30px;
            border-radius: 10px;
            width: 400px;
            max-width: 90%;
        }
        
        .modal h2 {
            text-align: center;
            margin-bottom: 20px;
            color: var(--tiktok-red);
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-group input {
            width: 100%;
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #333;
            background-color: #1a1a1a;
            color: white;
        }
        
        .btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 10px;
        }
        
        .btn-primary {
            background-color: var(--tiktok-red);
            color: white;
        }
        
        .btn-secondary {
            background-color: #333;
            color: white;
        }
        
        .switch-form {
            text-align: center;
            margin-top: 15px;
            color: var(--tiktok-light-gray);
        }
        
        .switch-form a {
            color: var(--tiktok-blue);
            text-decoration: none;
            font-weight: 500;
        }
        
        /* Formulário de Upload */
        #uploadModal .form-group {
            margin-bottom: 20px;
        }
        
        #uploadModal input[type="file"] {
            color: white;
        }
        
        /* Loading */
        .loading {
            text-align: center;
            padding: 50px;
            font-size: 18px;
            color: var(--tiktok-light-gray);
        }
        
        /* Responsividade */
        @media (max-width: 1200px) {
            .video-card {
                width: calc(50% - 20px);
            }
            
            .video-thumbnail {
                height: 380px;
            }
        }
        
        @media (max-width: 900px) {
            .sidebar {
                display: none;
            }
            
            .main-content {
                margin-left: 0;
                padding: 15px;
            }
            
            .search-box {
                width: 200px;
            }
        }
        
        @media (max-width: 768px) {
            .video-card {
                width: 100%;
                max-width: 450px;
            }
            
            .header {
                padding: 5px 0 15px;
            }
            
            .search-box {
                width: 150px;
            }
            
            .bottom-nav {
                display: flex;
            }
        }
        
        @media (max-width: 480px) {
            .header {
                flex-wrap: wrap;
            }
            
            .search-box {
                order: 3;
                width: 100%;
                margin-top: 10px;
            }
            
            .header-actions {
                margin-left: auto;
            }

            .alert {
    padding: 12px;
    border-radius: 5px;
    margin: 10px 0;
}

/* Estilos para alertas */
.alert {
    padding: 12px;
    border-radius: 5px;
    margin: 10px 0;
}

.alert.success {
    background-color: #2a5a2a;
    color: #a0e6a0;
    border: 1px solid #3c7a3c;
}

.alert.error {
    background-color: #5a2a2a;
    color: #e6a0a0;
    border: 1px solid #7a3c3c;
}

/* Modal de Upload */
#uploadForm .form-group {
    margin-bottom: 15px;
}

#uploadForm label {
    display: block;
    margin-bottom: 5px;
    color: var(--tiktok-blue);
    font-weight: bold;
}

#uploadForm input,
#uploadForm textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 5px;
    background: #222;
    color: white;
}

#uploadForm input:focus,
#uploadForm textarea:focus {
    outline: none;
    border-color: var(--tiktok-red);
}
        }
