/* Review/Create page styles extracted from inline CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
}

.review-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: transparent;
}

.review-box {
    background: var(--header);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    max-width: 420px;
    width: 86%;
    text-align: center;
    border: 1px solid var(--description);
    color: var(--text);
}

.star-rating {
    direction: ltr;
    font-size: 2.2rem;
    margin-bottom: 20px;
    unicode-bidi: bidi-override;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star {
    cursor: pointer;
    color: var(--description);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(1);
}

.star:hover {
    transform: scale(1.2);
    color: var(--card);
}

.star.selected {
    color: var(--card);
    animation: starPulse 0.6s ease;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

textarea {
    width: 100%;
    min-height: 100px;
    border-radius: 10px;
    border: 1px solid var(--description);
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 18px;
    resize: vertical;
    background: var(--bg);
    color: var(--text);
}

.success-message {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* In case success is rendered via Bootstrap alert */
.review-box .alert,
.review-container .alert {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-message *,
.review-box .alert * {
    text-align: center !important;
}

.submit-btn {
    background: var(--card);
    color: var(--bg);
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before { left: 100%; }

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


