/* Feedback Portal Specific Styles */

/* Ensure proper spacing for fixed navbar */
.feedback-page {
    padding-top: 110px !important;
}

/* Google Forms-like Card Style */
.feedback-form-card {
    max-width: 42rem;
    margin: 0 auto;
    background: #1e293b;
    /* Solid dark slate */
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border-top: 10px solid #10b981;
    /* Top Accent Bar */
}

/* Header Area inside the card */
.form-header-internal {
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #1e293b;
}

.form-body {
    padding: 2.5rem;
    background: #1e293b;
}

.form-group {
    margin-bottom: 2.5rem;
    background: #253045;
    /* Input container background */
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.form-group:focus-within {
    background: #2b3850;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #4f46e5;
    /* Side accent on focus */
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 1rem;
    letter-spacing: normal;
    text-transform: none;
}

/* Material Design Style Inputs */
.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Slight background for better visibility */
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
    /* Slight top rounding */
    padding: 1rem;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-bottom: 2px solid #10b981;
    background: rgba(0, 0, 0, 0.3);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.form-input {
    resize: none;
    line-height: 1.6;
    min-height: 150px;
    /* Taller text area */
}

.submit-area {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submit-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #059669;
}

/* Header Title Styles */
.feedback-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feedback-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feedback-title,
.text-gradient {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.feedback-subtitle {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}
/* Enhanced form styling for better visibility */
.feedback-form-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2rem !important;
    padding: 3rem !important;
    margin: 2rem auto !important;
    max-width: 800px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
}

.feedback-title {
    font-size: clamp(3rem, 8vw, 5rem) !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
}

.feedback-subtitle {
    font-size: 1.25rem !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 3rem !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.form-group {
    margin-bottom: 2rem !important;
}

.form-label {
    display: block !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.form-input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1rem !important;
    padding: 1rem 1.5rem !important;
    color: white !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.form-input:focus {
    outline: none !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.submit-area {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: center !important;
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.privacy-notice {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem !important;
}

.submit-btn {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 1rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4) !important;
}

.submit-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Animation classes */
.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Header section styling */
.feedback-section-header {
    max-width: 800px !important;
    margin: 0 auto 3rem auto !important;
    text-align: center !important;
}

.feedback-badge {
    display: inline-block !important;
    padding: 0.5rem 1.5rem !important;
    margin-bottom: 2rem !important;
    border-radius: 50px !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #10b981 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Ensure proper spacing */
.feedback-page main.container {
    padding-top: 110px !important;
}

/* Debug styles to help identify issues */
#feedbackForm {
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
}

#submitBtn {
    border: 2px solid rgba(16, 185, 129, 0.5) !important;
}
/* Community Voices Grid - 3 Column Layout */
#whispersGrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

/* Responsive grid for whispers */
@media (min-width: 768px) {
    #whispersGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    #whispersGrid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Enhanced whisper card styling for 3-column layout */
#whispersGrid .glass-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid #10b981 !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
}

#whispersGrid .glass-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

/* Whisper card content styling */
#whispersGrid .glass-card h3 {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

#whispersGrid .glass-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-style: italic !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    flex: 1 !important;
}

#whispersGrid .glass-card .flex {
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

#whispersGrid .glass-card .text-emerald-400 {
    color: #10b981 !important;
    font-weight: 600 !important;
}

/* Empty state styling for 3 columns */
#whispersGrid .col-span-full {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    padding: 3rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Ensure proper spacing for the section */
.mt-24 {
    margin-top: 6rem !important;
}

/* Community Voices section title */
#whispersGrid + * h2,
section h2 {
    color: white !important;
    font-weight: 700 !important;
    font-size: 2rem !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.text-emerald-400 {
    color: #10b981 !important;
}

/* Feedback Mode Toggle */
.feedback-mode-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.feedback-mode-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.feedback-mode-btn.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.feedback-mode-btn i {
    font-size: 1.25rem;
}

/* Rating Stars */
.rating-star {
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.2s ease;
    filter: grayscale(100%);
}

.rating-star:hover,
.rating-star.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.rating-star.active {
    animation: starPulse 0.3s ease;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

