/* Feedback Page Styles */
.feedback-page {
    min-height: 100vh;
    background-color: #f5e6d3;
    display: flex;
    flex-direction: column;
}

/* Header */
.feedback-header {
    background: white;
    border-bottom: none;
    padding: 16px 20px;
}

.feedback-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.feedback-logo .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.feedback-logo .logo-text {
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Main Content */
.feedback-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.feedback-container {
    width: 100%;
    max-width: 600px;
}

.feedback-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feedback-title {
    font-size: 32px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 8px;
    color: #000;
}

.feedback-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    text-align: left;
    line-height: 1.5;
}

/* Form Styles */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.form-input,
.form-textarea {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

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

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.file-input-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.file-input-label:hover {
    border-color: #4a90e2;
    background-color: #f0f7ff;
}

.file-input-label.drag-over {
    border-color: #4a90e2;
    background-color: #e8f4ff;
}

.upload-icon {
    width: 32px;
    height: 32px;
    color: #666;
}

.file-input-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.file-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.file-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.file-item-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-size {
    font-size: 12px;
    color: #666;
}

.file-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.file-item-remove:hover {
    background-color: #ffebee;
    color: #d32f2f;
}

.file-item-remove svg {
    width: 18px;
    height: 18px;
}

.file-size-info {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    text-align: left;
}

/* Turnstile Widget */
.turnstile-widget-container {
    margin: 8px 0;
    display: flex;
    justify-content: center;
}

.turnstile-widget-container iframe {
    border-radius: 8px;
}

/* Error and Success Messages */
.error-message {
    font-size: 14px;
    color: #d32f2f;
    padding: 12px;
    background-color: #ffebee;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
    display: none;
    text-align: left;
}

.success-message {
    font-size: 14px;
    color: #2e7d32;
    padding: 12px;
    background-color: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
    display: none;
    text-align: left;
}

/* Submit Button */
.btn-submit {
    margin-top: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover:not(:disabled) {
    background-color: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

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

.btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .feedback-box {
        padding: 24px;
    }

    .feedback-title {
        font-size: 28px;
    }

    .feedback-subtitle {
        font-size: 14px;
    }

    .file-input-label {
        padding: 24px 16px;
    }

    .upload-icon {
        width: 24px;
        height: 24px;
    }

    .file-input-text {
        font-size: 13px;
    }
}

