@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d0d0d;
  color: #f0f0f0;
  font-family: 'Segoe UI', sans-serif;
  padding: 0;
  margin: 0;
}

textarea {
  width: 100%;
  background: #1e1e1e;
  border: none;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  resize: none;
  margin-bottom: 10px;
}

button {
  background: #ffcc00;
  border: none;
  color: #000;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

aside.menu-lateral {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  z-index: 999;
}

aside.menu-lateral a {
  color: #ffcc00;
  font-size: 20px;
  margin: 20px 0;
  transition: transform 0.2s;
}

aside.menu-lateral a:hover {
  transform: scale(1.2);
}

main.conteudo-principal {
  margin-left: 70px;
  padding: 20px;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.post {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 15px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 10px #00000055;
  transition: 0.3s;
}

.post:hover {
  transform: scale(1.01);
}

.post-topo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.foto-perfil {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444;
}

.story-indicador {
  border: 3px solid #ffcc00 !important;
}

.selo-admin {
  background-color: #ffcc00;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 5px;
  margin-left: 5px;
}

.admin {
  color: #ffcc00;
  font-weight: bold;
}

.post p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post small {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: #aaa;
}

.acoes {
  display: flex;
  gap: 20px;
  font-size: 18px;
}

.icone {
  color: #ffcc00;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icone:hover {
  transform: scale(1.2);
}

.curtido {
  color: #ff3366 !important;
  animation: pulse 0.3s;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.comentarios {
  margin-top: 10px;
  background: #111;
  padding: 10px;
  border-radius: 10px;
}

.comentarios .comentario {
  margin-bottom: 5px;
  font-size: 14px;
}

.comentarios input {
  flex: 1;
  padding: 8px;
  border-radius: 5px;
  border: none;
  background: #1e1e1e;
  color: #fff;
}

.comentarios button {
  padding: 8px 12px;
  border-radius: 5px;
  background: #ffcc00;
  color: #000;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.barra-stories {
  display: flex;
  overflow-x: auto;
  padding: 15px;
  gap: 15px;
  background: #111;
  margin-left: 70px;
  margin-bottom: 10px;
}

.story-circulo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #00ff88;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 10px;
}

.story-circulo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Responsivo */
@media (max-width: 768px) {
  aside.menu-lateral {
    display: none;
  }

  .barra-stories {
    margin-left: 0;
    padding: 10px;
  }

  main.conteudo-principal {
    margin-left: 0;
    padding: 10px;
  }

  .post {
    width: 90%;
  }
}
.adicionar-story {
  text-decoration: none;
}

.story-usuario {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border: 2px dashed #ffcc00;
  color: #ffcc00;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.story-usuario:hover {
  background: #333;
}
/* Estilos para os botões de mídia */
.botao-imagem, .botao-video {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.botao-imagem {
    background: #ffcc00;
    color: #000;
}

.botao-video {
    background: #ff3333;
    color: white;
}

.botao-imagem:hover {
    background: #e6b800;
}

.botao-video:hover {
    background: #e60000;
}

/* Preview container */
#preview-container {
    margin-top: 15px;
    position: relative;
}

#preview-midia img, 
#preview-midia video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    display: block;
}

/* Controles de vídeo */
#video-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#video-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

#video-controls input[type="range"] {
    flex-grow: 1;
}