/* SakuraHara CMS — Admin-Styles (ergänzt Tailwind-Utilities) */

:root {
    --sh-pink: #f472b6;
    --sh-blue: #60a5fa;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

/* Formularfelder */
.sh-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background: #020617;
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-size: 0.875rem;
}
.sh-input:focus {
    outline: none;
    border-color: var(--sh-pink);
    box-shadow: 0 0 0 1px var(--sh-pink);
}

.sh-btn {
    border-radius: 0.5rem;
    background: #ec4899;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    transition: background 0.15s;
}
.sh-btn:hover { background: #f472b6; }

/* Repeater (dynamische Listen in den Einstellungen) */
.repeater .repeater-row {
    border: 1px solid #1e293b;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #0f172a;
}
.repeater .repeater-row .repeater-fields {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.repeater .repeater-row textarea {
    grid-column: 1 / -1;
}
.repeater-add {
    border: 1px dashed #334155;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
    width: 100%;
    transition: border-color 0.15s, color 0.15s;
}
.repeater-add:hover { border-color: var(--sh-pink); color: #f9a8d4; }

/* Block-Editor */
.block-card {
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    background: #0f172a;
}
.block-card .block-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #1e293b;
}
.block-card .block-card-body {
    padding: 0.75rem;
    display: grid;
    gap: 0.5rem;
}
.block-card .block-card-body textarea { grid-column: 1 / -1; }
.block-btn {
    border: 1px solid #334155;
    border-radius: 0.375rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    transition: color 0.15s, border-color 0.15s;
}
.block-btn:hover { color: #f9a8d4; border-color: var(--sh-pink); }
