  .container2 {
    max-width: 1200px;
    margin: 0 auto;
} 

/* Rating Summary */
.rating-summary {
    background: #222;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.avg-rating {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stars i {
    color: #222;
    margin: 0 2px;
}

.stars i.active {
    color: #ffc107;
}

.review-count {
    color: #666;
    font-size: 1rem;
}

/* Messages */
.message {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: slideIn 0.5s ease;
}

.message.success {
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.message.error {
    border-left: 4px solid #f44336;
    color: #c62828;
}

.message i {
    font-size: 1.5rem;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Review Form Section */
.review-form-section {
    background: #222;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.review-form-section h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: #ffc107;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Reviews Section */
.reviews-section {
    background: #222;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.reviews-section h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.reviews-grid {
    display: block;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Review Card */
.review-card {
    background: #343131;
    border-radius: 12px;
    padding: 25px;
    margin: 5px 0 10px 0;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.reviewer-name {
    color: #f9f9f9;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-date i {
    margin-right: 5px;
}

.review-rating {
    font-size: 1.2rem;
}

.review-rating i {
    color: #ddd;
}

.review-rating i.active {
    color: #ffc107;
}

.review-title {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-text {
    color: #ddd8d8;
    line-height: 1.6;
}

/* No Reviews */
.no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-reviews i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-reviews p {
    font-size: 1.2rem;
}

/* Admin Link */
.admin-link {
    text-align: center;
    margin-top: 30px;
}

.admin-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-link a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .rating-number {
        font-size: 3rem;
    }

    .review-form-section,
    .reviews-section,
    .rating-summary {
        padding: 20px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .review-card {
        padding: 15px;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .rating-input label {
        font-size: 1.5rem;
    }
}
