.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 18px;
}

.support-card {
    padding: 20px;
}

.support-title {
    margin: 0 0 6px;
    font-size: 18px;
}

.support-description {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 13px;
}

.support-form {
    display: grid;
    gap: 14px;
}

.support-form-group {
    display: grid;
    gap: 6px;
}

.support-form-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.support-form-input,
.support-form-textarea {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #0f172a;
}

.support-form-textarea {
    resize: vertical;
}

.support-error-message {
    color: #ef4444;
    font-size: 11px;
    display: none;
}

.support-message {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    display: none;
}

.support-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.support-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.support-submit-button {
    width: fit-content;
}

.support-tips h3 {
    margin: 0 0 8px;
    font-size: 14px;
}

.support-tips ul {
    margin: 0;
    padding-left: 18px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.required-asterisk {
    color: #ef4444;
    margin-left: 4px;
}

.mainframe-loading {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.loading-frame {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 22px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    border: 1px solid #e2e8f0;
}

.loader {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    border-top-color: #0f172a;
    animation: spin 0.8s linear infinite;
}

.loader-success {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 12px;
}

.load-text {
    font-size: 12px;
    color: #475569;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body.dark .support-description,
body.dark .support-tips ul,
body.dark .load-text {
    color: #94a3b8;
}

body.dark .support-form-label,
body.dark .support-title,
body.dark .support-tips h3 {
    color: #e2e8f0;
}

body.dark .support-form-input,
body.dark .support-form-textarea,
body.dark .loading-frame {
    background: #0f1318;
    border-color: #1f2937;
    color: #e2e8f0;
}

body.dark .support-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

body.dark .support-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 1000px) {
    .support-layout {
        grid-template-columns: 1fr;
    }
}

