/* ===================================
   Feedback Form Styles
   =================================== */

.feedback-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.feedback-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.feedback-hero .page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.feedback-hero .page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.feedback-form-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Form Container */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select: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;
    min-height: 120px;
}

.char-count {
    text-align: right;
    color: #666;
    font-size: 0.9rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    font-size: 2.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffd700;
}

/* Checkbox */
.checkbox-group {
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Form Actions */
.form-actions {
    margin-top: 10px;
}

.form-actions button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info Sidebar */
.feedback-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.info-card ul,
.info-card ol {
    margin-left: 20px;
    line-height: 1.8;
    color: #555;
}

.info-card ul li,
.info-card ol li {
    margin-bottom: 8px;
}

.info-card p {
    line-height: 1.6;
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feedback-form-section {
        grid-template-columns: 1fr;
    }

    .feedback-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .feedback-hero .page-title {
        font-size: 2.2rem;
    }

    .feedback-hero .page-subtitle {
        font-size: 1.1rem;
    }

    .form-container {
        padding: 25px;
    }

    .star-rating {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .feedback-container {
        padding: 20px 10px;
    }

    .feedback-hero {
        padding: 30px 15px;
    }

    .feedback-hero .page-title {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 20px;
    }

    .info-card {
        padding: 20px;
    }
}


/* Email Display Box */
.email-display-box {
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.email-header h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin: 0;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.email-instructions {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.email-instructions p {
    margin: 5px 0;
    color: #555;
}

.email-instructions strong {
    color: #333;
}

.email-content {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
}

.email-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.email-actions button {
    flex: 1;
    min-width: 200px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #27ae60;
    color: white;
}

.btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #667eea;
    color: white;
}

.btn-secondary:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

/* Success Message Enhancements */
.form-message.success {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-message.success h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

.form-message.success ol {
    background: #f8f9fa;
    padding: 20px 20px 20px 40px;
    border-radius: 8px;
    line-height: 1.8;
}

.form-message.success li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .email-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .copy-btn {
        width: 100%;
    }

    .email-actions {
        flex-direction: column;
    }

    .email-actions button {
        width: 100%;
        min-width: auto;
    }

    .email-content {
        font-size: 0.8rem;
        padding: 15px;
    }
}
