﻿:root {
    --red: #e63946;
    --dark-text: #1d3557;
    --font: "Poppins", sans-serif;
}

body {
    font-family: var(--font);
    color: var(--dark-text);
}

.feedback-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.feedback-header-section {
    text-align: center;
    margin-bottom: 30px;
}

.submission-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
    display: flex;
    flex-direction: column; 
    gap: 10px;       
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #334155;
    font-size: 1.1rem;
    display: block;      
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;   
    outline: none;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.btn-submit {
    background-color: var(--red);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
     transform: translateY(-2px);
}

.feedback-post {
    background: white;
    border-left: 5px solid #4f46e5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.student-name {
    font-weight: bold;
    color: #1e293b;
}

.post-date {
    font-size: 0.85rem;
    color: #94a3b8;
}

.post-content {
    color: #475569;
    line-height: 1.6;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feedback-card {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feedback-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--red);
}

.quote-icon {
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.feedback-text {
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.7;
    margin-bottom: 25px;
}

.rating-stars {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.rating-stars i {
    color: #ffc107; 
    font-size: 0.9rem;
}

.feedback-card:hover .rating-stars i {
    transform: scale(1.1);
    transition: 0.3s;
}

.feedback-footer {
    text-align: center;
    margin-top: 50px;
}