/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #2d3748;
}

.feedback-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
}

.feedback-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px 32px;
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo img {
    width: 210px;
}


.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #212121;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.subheadline {
    font-size: 18px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 16px;
}

.description {
    color: #718096;
    font-size: 15px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.required {
    color: #e53e3e;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1B5E38;
    box-shadow: 0 0 0 3px rgba(27, 94, 56, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #a0aec0;
    margin-top: 4px;
}

.stars-display {
    display: flex;
    gap: 4px;
    font-size: 28px;
    margin-top: 8px;
}

.star {
    color: #e2e8f0;
    transition: color 0.2s;
}

.star.filled {
    color: #fbbf24;
}

.file-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafbfc;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: #1B5E38;
    background: #f0fdf4;
}

.upload-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.file-upload-area p {
    margin: 8px 0;
    color: #4a5568;
}

.file-info {
    font-size: 12px;
    color: #a0aec0;
}

.file-upload-area input[type="file"] {
    display: none;
}

#fileNameDisplay {
    margin-top: 8px;
    font-size: 14px;
    color: #1B5E38;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #1B5E38;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: #0f3e24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 56, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.footer-note {
    text-align: center;
    font-size: 13px;
    color: #a0aec0;
    margin-top: 20px;
    line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .feedback-card {
        padding: 24px 20px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .subheadline {
        font-size: 16px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .stars-display {
        font-size: 24px;
    }
    
    .file-upload-area {
        padding: 20px;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 14px;
    }
}

/* Loading state for button */
.submit-btn.loading {
    background: #9ca3af;
    cursor: not-allowed;
    position: relative;
}

.submit-btn.loading::after {
    content: "⏳";
    margin-left: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}