/* ========================================
   Feedback Submit Page Styles
   ======================================== */

.feedback-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-card, #1e2028);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.feedback-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feedback-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #f0f0f3);
}

.feedback-header p {
    color: var(--text-secondary, #a8a9b4);
    font-size: 1rem;
}

/* Alert Messages */
.feedback-container .alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #ef4444;
}

/* Feedback Type Grid */
.feedback-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feedback-type-option {
    position: relative;
}

.feedback-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.feedback-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-elevated, #262830);
    border: 2px solid var(--border, #2d2f3a);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.feedback-type-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary, #6366f1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.feedback-type-card.selected {
    border-color: var(--primary, #6366f1);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.feedback-type-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-light, #818cf8);
}

.feedback-type-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary, #f0f0f3);
    margin-bottom: 0.25rem;
}

.feedback-type-desc {
    font-size: 0.85rem;
    color: var(--text-secondary, #a8a9b4);
    line-height: 1.4;
}

/* Form Layout */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feedback-form .form-group {
    display: flex;
    flex-direction: column;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .feedback-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-header h1 {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .feedback-type-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Floating Feedback Button (Global)
   ======================================== */

.feedback-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary, #6366f1) 0%, var(--primary-dark, #4f46e5) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.feedback-float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
    color: white;
}

.feedback-float-btn:active {
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
    .feedback-float-btn {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.3rem;
    }
}
