/* ===== COMMENTS SECTION ===== */

.comments-section h3 {
    color: var(--text-main);
    font-weight: 700;
}

/* ===== FORM CARD ===== */

.card-comment {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}

/* TEXTAREA */
.card-comment textarea {
    width: 100%;
    background: var(--bg-dark2);
    border: none;
    color: var(--color-secondary);
    border-radius: 10px;
    padding: 12px;
    resize: none;
    transition: 0.25s ease;
}
.card-comment textarea::placeholder {
    color: var(--text-main) ;
    opacity: 0.6; /* Deixa um pouco mais discreto que o texto digitado */
}
.card-comment textarea:focus::placeholder {
    border: none;

    color: var(--color-dark);
    /* box-shadow: var(--shadow-neon-pink); */
    /* outline: none; */
}

/* ===== BUTTON ===== */

.btn-submit {
    background: var(--btn-primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.25s ease;
    cursor: pointer;
    box-shadow: 0 0 0 transparent;
}

.btn-submit:hover {
    background: var(--btn-hover);
    box-shadow: var(--shadow-neon-pink);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== LIST ===== */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== COMMENT ITEM ===== */

.comment-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: 0.25s ease;
}

.comment-item {
  min-height: 180px; /* opcional, ajuda a padronizar */
}

.comment-text {
  margin-bottom: 10px;
}

.comment-footer {
  margin-top: auto; /* 🔥 empurra pro bottom */
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 5px;
}


/* HEADER */
.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-header strong {
    color: var(--color-secondary);
}

/* DATE */
.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* TEXT */
.comment-text {
    color: var(--text-main);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}
.rating-stars, .star-edit{
    display: flex;
    gap: 6px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-main);

}

.star-edit{
    font-size: 15px;

    margin: 8px 0;
}

.rating-stars .star.active, .star-edit.active {
    color: rgb(255, 193, 7);
    text-shadow: none;
}

.comment-actions i {
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
}

.comment-actions i:hover {
    transform: scale(1.2);
    opacity: 0.8;
}


/* LOGIN MESSAGE */
.text-muted-comment {
    color: var(--text-muted);
}

.text-muted-comment a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: 0.2s;
}

.text-muted-comment a:hover {
    color: var(--neon-blue);
    text-shadow: var(--shadow-neon-blue);
}


@media (min-width:768px) {
    .comments-section{

    margin-left: 50px;
}
}