* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('/static/img/layer1.jpg');
    background-size: cover;
    background-position: center;
}

.wrapper {
    position: fixed;
    top: 10%;
    right: 0.5%;
    width: 98.5%;
    height: 87%;
    margin: 5px;
    padding: 2%;
    z-index: 10;
    color: #fff;
    background: rgba(8, 2, 22, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(118, 205, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(118, 205, 255, 0.3);
    display: flex;
    flex-direction: column;
}

.reviews-heading {
    color: #cc00ff;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.reviews-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 15px;
    background: rgba(41, 3, 102, 0.3);
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #76cdff rgba(41, 3, 102, 0.3);
}

.reviews-container::-webkit-scrollbar {
    width: 6px;
}

.reviews-container::-webkit-scrollbar-thumb {
    background-color: #76cdff;
    border-radius: 3px;
}

.reviews-list {
    list-style-type: none;
    padding: 0;
}

.review-item {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(41, 3, 102, 0.5);
    border-radius: 8px;
    border-left: 3px solid #76cdff;
    word-wrap: break-word;
}

.review-item strong {
    color: #76cdff;
}

.review-form {
    margin-top: auto;
    width: 100%;
}

.leave-review-heading {
    color: #cc00ff;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.user-info {
    margin-bottom: 10px;
    font-size: 15px;
    color: #ffffff;
}

.review-label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
}

.review-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border-radius: 8px;
    resize: vertical;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(118, 205, 255, 0.5);
    color: #fff;
    margin-bottom: 10px;
}

.review-textarea:focus {
    outline: none;
    border-color: #cc00ff;
    box-shadow: 0 0 5px rgba(204, 0, 255, 0.5);
}

.submit-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 500;
}

.submit-button:hover {
    background-color: #0056b3;
}

.review-notice {
    color: #fff;
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(41, 3, 102, 0.5);
    border-radius: 8px;
}

.review-notice a {
    color: #76cdff;
    text-decoration: none;
    font-weight: 500;
}

.review-notice a:hover {
    text-decoration: underline;
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

/* Mobile styles */
@media (max-width: 992px) {
    .wrapper {
        top: 15%;
        height: 80%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .wrapper {
        top: 12%;
        height: 83%;
        width: 95%;
        right: 2.5%;
    }

    .reviews-heading {
        font-size: 22px;
    }

    .leave-review-heading {
        font-size: 18px;
    }

    .review-item {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        top: 10%;
        height: 85%;
        padding: 15px;
    }

    .reviews-heading {
        font-size: 20px;
    }

    .leave-review-heading {
        font-size: 16px;
    }

    .review-textarea {
        min-height: 120px;
    }
}