/* ============================================================
   FEEDBACK PAGE STYLES
   Feature Suggestions & Bug Reports
   ============================================================ */

.feedback-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
}

.feedback-header {
    text-align: center;
    margin-bottom: 32px;
}

.feedback-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.feedback-header p {
    font-size: 16px;
    color: #666;
}

/* ============================================================
   MODE SELECTOR
   ============================================================ */

.feedback-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.mode-option {
    position: relative;
    cursor: pointer;
}

.mode-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mode-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
}

.mode-option:hover .mode-label {
    border-color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mode-option input[type="radio"]:checked + .mode-label {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.mode-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.mode-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mode-text strong {
    font-size: 18px;
    color: #1a1a1a;
}

.mode-text small {
    font-size: 14px;
    color: #666;
}

/* ============================================================
   FORMS
   ============================================================ */

.feedback-form {
    display: none;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.feedback-form.active {
    display: block;
}

.form-section {
    padding: 32px;
}

.form-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-description {
    color: #666;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 8px 0;
}

.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

/* ============================================================
   BUG REPORTING GUIDE
   ============================================================ */

.bug-guide {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.bug-guide h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.guide-section p {
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.6;
}

.guide-section ul,
.guide-section ol {
    color: #4b5563;
    line-height: 1.8;
    padding-left: 24px;
}

.guide-section ul li,
.guide-section ol li {
    margin-bottom: 4px;
}

.guide-section kbd {
    display: inline-block;
    padding: 2px 8px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.guide-section details {
    margin-top: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.guide-section summary {
    cursor: pointer;
    font-weight: 600;
    color: #667eea;
    user-select: none;
}

.guide-section summary:hover {
    color: #5568d3;
}

.guide-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.example {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.example strong {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.tip {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 12px;
}

/* ============================================================
   BROWSER INFO DISPLAY
   ============================================================ */

.browser-info {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    font-size: 14px;
    color: #4b5563;
}

.info-item strong {
    color: #1a1a1a;
    margin-right: 8px;
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0 0 12px 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5568d3 0%, #6a4190 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 20px;
}

/* ============================================================
   SUCCESS MESSAGE
   ============================================================ */

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.secondary-btn {
    padding: 12px 24px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: #667eea;
    color: white;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .feedback-container {
        padding: 16px;
    }

    .feedback-header h1 {
        font-size: 24px;
    }

    .feedback-mode-selector {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mode-label {
        padding: 16px;
    }

    .mode-icon {
        font-size: 24px;
    }

    .mode-text strong {
        font-size: 16px;
    }

    .mode-text small {
        font-size: 13px;
    }

    .form-section {
        padding: 20px;
    }

    .form-section h2 {
        font-size: 20px;
    }

    .bug-guide {
        padding: 16px;
    }

    .bug-guide h3 {
        font-size: 18px;
    }

    .guide-section h4 {
        font-size: 15px;
    }

    .submit-btn {
        padding: 14px 20px;
    }

    .success-message {
        padding: 32px 20px;
    }

    .success-icon {
        font-size: 48px;
    }

    .success-message h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .feedback-header h1 {
        font-size: 20px;
    }

    .feedback-header p {
        font-size: 14px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
