/* ============================
   Estilo completo Catequizando
============================= */

/* ======== BODY ======== */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #e9f4ff, #f9fcff);
  color: #003366;
}

/* ======== CABEÇALHO ======== */
header {
  background: #d6e9ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  animation: fadeSlide 1s ease;
}

.logo-text {
  font-weight: bold;
  font-size: 1.3rem;
  color: #003366;
  animation: fadeSlide 1s ease;
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(-10px);}
  100% { opacity: 1; transform: translateY(0);}
}

.logout-btn {
  background: #0055cc;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.logout-btn:hover {
  background: #003d99;
}

/* ======== CONTEÚDO ======== */
.container {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.login-box,
.new-post {
  background: #ffffffcc;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #bcd4ff;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

button {
  background: #0077ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

button:hover {
  background: #005fcc;
}

/* ======== FEED ======== */
#feed .post {
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

video {
  width: 100%;
  border-radius: 10px;
}

.post-title {
  font-weight: 700;               /* Mais negrito */
  font-size: 1.3rem;              /* Maior destaque */
  margin-top: 8px;
  margin-bottom: 6px;             /* Espaço para descrição */
  color: #0055cc;                 /* Azul vivo */
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  border-bottom: 1px solid #d6e9ff; /* Linha sutil */
  padding-bottom: 4px;
}

.post-description {
  font-size: 1rem;
  margin-top: 4px;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.actions .btn,
.actions .delete-btn {
  flex: 1 1 auto;
  min-width: 90px;
}

.comment-box {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.comment-box input {
  flex: 1;
}

.comment {
  text-align: left;
  font-size: 0.9rem;
  background: #f2f7ff;
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* ======== MOBILE ======== */
@media (max-width: 600px) {
  header {
    flex-direction: row;
    align-items: center;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logout-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px;
  }

  .actions .btn,
  .actions .delete-btn {
    flex: 1 1 48%;
    margin-bottom: 4px;
  }
}
