/* ===============================
   COMMENTS SECTION
================================ */
.details-comments-box {
    margin-top: 3rem;
    padding-top: 1.6rem;
    border-top: 2px solid rgba(255, 255, 255, 0.28);
    text-align: left;
}

.details-comments-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 14px #1e90ff;
}

.details-no-comments,
.details-login-msg {
    opacity: 0.85;
    font-size: 1rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* COMMENTS LIST */
.details-comments-list {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.details-comment-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    font-size: 1.05rem;
}

.details-comment-date {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-left: 4px;
}

/* COMMENT FORM */
.details-comment-form {
    margin-top: 2rem;
    display: flex;
    gap: 0.8rem;
}

.details-comment-input {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    color: white;
    outline: none;
    transition: 0.28s ease;
    font-size: 1rem;
}

.details-comment-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.details-comment-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 14px rgba(30, 144, 255, 0.55);
}

.details-comment-btn {
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    background: rgba(30, 144, 255, 0.25);
    border: 1px solid rgba(30, 144, 255, 0.45);
    color: white;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(30, 144, 255, 0.4);
    transition: 0.28s ease;
}

.details-comment-btn:hover {
    background: rgba(30, 144, 255, 0.45);
    box-shadow: 0 0 18px rgba(30, 144, 255, 0.7);
}

/* OWNER MESSAGE */
.details-owner-msg {
    margin-top: 0.6rem;
    opacity: 0.85;
    font-size: 0.95rem;
    text-align: center;
    color: #d1d5db;
}

/* LOGIN LINK */
.details-login-link {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    transition: 0.25s ease-in-out;
    text-shadow: 0 0 6px rgba(6, 83, 170, 0.75);
}

.details-login-link:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(147, 197, 253, 1);
    transform: translateY(-1px);
}

/* ===============================
   ERROR MESSAGE
================================ */
.details-error-msg {
  color: #ffb4b4;
  background: rgba(255, 0, 0, 0.12);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

