/* @plugin: system_project */

.sp-settings-root {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    animation: fadeIn 0.8s ease-out;
}

.sp-hidden-anchor {
    display: none;
}

.sp-card-header-icon {
    margin-right: 10px;
    color: var(--brand1);
}

.sp-logo-card-body {
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
    padding: 32px;
}

.sp-logo-preview {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel2, #f8fafc);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.sp-logo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-logo-upload-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.sp-logo-upload-zone {
    width: 100%;
    height: 100%;
    min-height: 160px;
    border: 2px dashed var(--border, #e2e8f0);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted, #94a3b8);
    transition: border-color 0.2s ease, background 0.2s ease;
    background: rgba(79, 70, 229, 0.02);
}

.sp-logo-upload-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: var(--brand1, #4f46e5);
}

.sp-logo-upload-hint {
    font-size: 14px;
    font-weight: 500;
}

.sp-logo-notes-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

.sp-logo-notes-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text, #111827);
}

.sp-logo-notes-list {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--muted2, #64748b);
    line-height: 1.8;
}

.sp-upload-status {
    margin-top: auto;
}

.sp-info-card-body {
    padding: 40px;
}

.sp-save-actions {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sp-save-btn {
    width: 200px;
}

.sp-save-status {
    margin-top: 12px;
    font-size: 14px;
}

.sp-status-icon--success {
    color: var(--mantine-color-green-6);
}

.sp-status-icon--error {
    color: var(--mantine-color-red-6);
}

.sp-intro-card-body {
    gap: 8px;
}

.sp-intro-form-row {
    align-items: flex-start;
}

.sp-intro-input-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-intro-textarea textarea {
    min-height: 120px;
}

.sp-intro-translate-actions {
    display: flex;
    justify-content: flex-end;
}

.sp-intro-translate-status {
    margin-top: 8px;
    min-height: 1.25rem;
}
