/* Feedback page styles */
.feedback-page {
    font-family: Inter, Arial, sans-serif;
    padding: 32px 16px 64px;
    position: relative;
}

.feedback-page .loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.feedback-page .loading span {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #0065ff;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fb-container {
    max-width: 960px;
    margin: 0 auto;
}

.fb-title {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 16px;
    color: #0080FF;
}

.fb-subtitle {
    font-size: 14px;
    text-align: center;
    color: #6B778C;
}

.fb-alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.fb-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.fb-form {
    background: #fff;
}

.fb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .fb-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.fb-field label {
    display: block;
    font-family: Inter Medium, Arial, sans-serif;
    font-size: 16px;
    color: #172B4D;
    margin-bottom: 8px;
}

/* Required asterisk */
.fb-required { color: #ef4444; margin-left: 4px; }

.fb-field input,
.fb-field select,
.fb-field textarea {
    width: 100%;
    border: 1px solid #DFE1E6;
    border-radius: 8px;
    background: #fff;
    padding: 10px 16px;
    font-size: 16px;
    color: #172B4D;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease;
    height: auto;
    line-height: 24px;
}

.fb-field textarea {
    min-height: 240px;
    resize: vertical;
}

.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
    border-color: #0080FF;
    box-shadow: 0 0 0 3px rgba(0, 128, 255, .25);
}

/* Error state */
.fb-field--error input,
.fb-field--error select,
.fb-field--error textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15) !important;
}

.fb-field input::placeholder,
.fb-field textarea::placeholder {
    color: #7A869A;
}

.fb-field select {
    color: #7A869A;
    
}

.fb-field select option:not(:first-of-type) {
    color: #172B4D;
}

.fb-field--textarea, .fb-captcha-wrap {
    margin-top: 24px;
}

.fb-actions {
    text-align: center;
    margin-top: 16px;
}

.fb-submit {
    appearance: none;
    border: none;
    background: #0080FF;
    color: #fff;
    font-family: Inter SemiBold, Arial, sans-serif;
    line-height: 24px;
    padding: 12px 32px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease, transform .05s ease;
}

.fb-submit:hover {
    background: #0072E5;
}

.fb-submit:active {
    transform: translateY(1px);
}

.fb-submit[disabled] {
    opacity: .75;
    cursor: not-allowed;
}

/* Toast message */
.fb-toast {
	position: fixed;
	top: 48px;
	right: 16px;
	left: auto;
	bottom: auto;
	transform: none;
	z-index: 9999;
	background: #111827;
	color: #fff;
	padding: 12px 16px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(2,6,23,.25);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
	max-width: 380px;
	text-align: left;
    font-size: 14px;
}
.fb-toast.is-show { opacity: 1; pointer-events: auto; }
.fb-toast--error { background: #dc2626; }
.fb-toast--success { background: #16a34a; }