/* Home Page Styles */
.home-container {
    min-height: 100vh;
    padding: 2rem;
}

/* 피드백 섹션 */
.feedback-section {
    max-width: 900px;
    margin: 0 auto;
}

.feedback-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 0.5rem;
}

.feedback-desc {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* 2칼럼 그리드 */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .home-container {
        padding: 1rem;
    }

    .feedback-section {
        max-width: 100%;
        width: 100%;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .feedback-title {
        font-size: 1.4rem;
    }

    .feedback-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 0.5rem;
    }

    .feedback-section {
        max-width: 100%;
        width: 100%;
    }

    .feedback-title {
        font-size: 1.2rem;
    }

    .feedback-desc {
        font-size: 0.9rem;
    }

    .feedback-card {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .card-header h3 {
        font-size: 1rem;
    }
}

/* 피드백 카드 */
.feedback-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-icon {
    font-size: 1.5rem;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.card-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 피드백 폼 */
.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.feedback-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* 제출 버튼 */
.submit-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bug-btn {
    background-color: #ef4444;
    color: white;
}

.bug-btn:hover:not(:disabled) {
    background-color: #dc2626;
}

.suggestion-btn {
    background-color: #3b82f6;
    color: white;
}

.suggestion-btn:hover:not(:disabled) {
    background-color: #2563eb;
}

/* 이미지 업로드 영역 */
.image-upload-area {
    margin-bottom: 0.75rem;
}

.image-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.image-upload-label:hover {
    border-color: #4f46e5;
    background-color: #f9fafb;
}

.image-input {
    display: none;
}

.upload-icon {
    font-size: 1.2rem;
}

.upload-text {
    color: #666;
    font-size: 0.9rem;
}

/* 이미지 미리보기 */
.image-preview {
    display: none;
    margin-top: 0.75rem;
    position: relative;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.remove-image:hover {
    background: #dc2626;
}
