/* ---------------------------------------------
   Add Review Page Styles — Premium BenCode Style
---------------------------------------------- */

.review-page {
    position: relative;
    padding: 4rem 2rem;
    max-width: 720px;
    margin: 4rem auto;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.06);
}

/* Heading */
.review-page h1 {
    font-size: clamp(2.3rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    color: #2b2b2b;
}

/* Soft Light Purple Accent Background */
.review-page::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 160%;
    height: 240px;
    background: radial-gradient(circle at top,
               rgba(120, 80, 255, 0.18),
               transparent 70%);
    z-index: -1;
}

/* Success Message */
.review-success {
    background: rgba(120, 80, 255, 0.15);
    border: 1px solid rgba(120, 80, 255, 0.35);
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    color: #4b2bb3;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Form Layout */
.add-review-form p {
    margin-bottom: 1.4rem;
}

.add-review-form label {
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: block;
    font-size: 0.96rem;
    color: #333;
}

/* Inputs */
.add-review-form input[type="text"],
.add-review-form input[type="email"],
.add-review-form select,
.add-review-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    color: #333;
    font-size: 1rem;
    outline: none;
    transition: 0.25s border-color ease, 0.25s box-shadow ease, 0.2s background ease;
}

.add-review-form input:focus,
.add-review-form textarea:focus,
.add-review-form select:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(120, 80, 255, 0.25);
}

/* Select Arrow */
.add-review-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' width='16' height='16' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M10 12l-5.5-6h11l-5.5 6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 2.7rem;
}

/* Textarea */
.add-review-form textarea {
    min-height: 150px;
}


.add-review-form .btn.btn-primary:active {
    transform: translateY(0);
}

/* Improve spacing */
.review-page p {
    margin-bottom: 1.5rem;
}
