.ywta-admin-page {
    margin: 20px 20px 0 0;
}

.ywta-shell {
    max-width: 1200px;
}

/* Farbwelt aus deiner Landingpage */
.ywta-admin-page {
    --ywta-primary: #3f51b5;
    --ywta-primary-light: #757de8;
    --ywta-primary-soft: #dedeff;
    --ywta-accent: #2196f3;
    --ywta-accent-dark: #003f8f;
    --ywta-text: #333333;
    --ywta-text-soft: #5c5c5c;
    --ywta-bg: #ffffff;
    --ywta-bg-soft: #f5f5f5;
    --ywta-card-soft: #f8faff;
    --ywta-border: rgba(63, 81, 181, 0.15);
    --ywta-shadow: 0 8px 24px rgba(63, 81, 181, 0.08);
    --ywta-radius: 18px;
}

/* Hero */
.ywta-hero {
    background: linear-gradient(135deg, var(--ywta-primary) 0%, var(--ywta-accent) 100%);
    color: #fff;
    border-radius: 22px;
    padding: 42px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(63, 81, 181, 0.18);
}

.ywta-hero__inner {
    max-width: 760px;
}

.notice {
    display: none !important;
}

.ywta-hero__badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 18px;
}

.ywta-hero__title {
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 12px;
    font-weight: 700;
}

.ywta-hero__subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 20px;
}

.ywta-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ywta-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* Layout */
.ywta-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 24px;
}

.ywta-main,
.ywta-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cards */
.ywta-card {
    background: var(--ywta-bg);
    border: 1px solid var(--ywta-border);
    border-radius: var(--ywta-radius);
    padding: 24px;
    box-shadow: var(--ywta-shadow);
    transition: all 0.2s ease-in-out;
}

.ywta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(63, 81, 181, 0.12);
}

.ywta-card--soft {
    background: var(--ywta-card-soft);
}

.ywta-card__header {
    margin-bottom: 18px;
}

.ywta-card__header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--ywta-primary);
}

.ywta-card__header p {
    margin: 0;
    color: var(--ywta-text-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* Steps */
.ywta-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ywta-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ywta-card-soft);
    border: 1px solid var(--ywta-border);
}

.ywta-step__number {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 999px;
    background: var(--ywta-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 1px;
}

.ywta-step__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ywta-step__content strong {
    color: var(--ywta-text);
    font-size: 15px;
}

.ywta-step__content span {
    color: var(--ywta-text-soft);
    font-size: 14px;
    line-height: 1.55;
}

/* Form */
.ywta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ywta-label {
    font-weight: 600;
    color: var(--ywta-text);
    font-size: 14px;
}

.ywta-input {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(63, 81, 181, 0.22);
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    color: var(--ywta-text);
    box-shadow: none;
}

.ywta-input:focus {
    border-color: var(--ywta-primary);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.10);
    outline: none;
}

.ywta-form__actions {
    margin-top: 8px;
}

/* Buttons */
.ywta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
}

.ywta-btn--primary {
    background: var(--ywta-primary) !important;
    color: #fff !important;
    border-color: var(--ywta-primary) !important;
}

.ywta-btn--primary:hover {
    background: var(--ywta-accent) !important;
    border-color: var(--ywta-accent) !important;
    color: #fff !important;
}

.ywta-btn--secondary {
    background: #fff;
    color: var(--ywta-primary);
    border-color: rgba(63, 81, 181, 0.20);
}

.ywta-btn--secondary:hover {
    background: var(--ywta-card-soft);
    color: var(--ywta-primary);
    border-color: rgba(63, 81, 181, 0.35);
}

.ywta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Status */
.ywta-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.ywta-status__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.ywta-status--active {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.ywta-status--active .ywta-status__dot {
    background: #10b981;
}

.ywta-status--inactive {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.ywta-status--inactive .ywta-status__dot {
    background: #f97316;
}

.ywta-muted {
    margin: 0;
    color: var(--ywta-text-soft);
    line-height: 1.6;
    font-size: 14px;
}

/* Feature grid */
.ywta-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ywta-feature-box {
    background: var(--ywta-card-soft);
    border: 1px solid var(--ywta-border);
    border-radius: 16px;
    padding: 18px;
}

.ywta-feature-box h3 {
    margin: 0 0 8px;
    color: var(--ywta-primary);
    font-size: 17px;
    line-height: 1.3;
}

.ywta-feature-box p {
    margin: 0;
    color: var(--ywta-text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.ywta-mini-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ywta-primary);
    font-size: 16px;
}

.ywta-mini-note p {
    margin: 0;
    color: var(--ywta-text-soft);
    line-height: 1.6;
    font-size: 14px;
}

/* WP submit button besser integrieren */
.ywta-form .button-primary {
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 960px) {
    .ywta-layout {
        grid-template-columns: 1fr;
    }

    .ywta-hero {
        padding: 30px 24px;
    }

    .ywta-hero__title {
        font-size: 32px;
    }

    .ywta-feature-grid {
        grid-template-columns: 1fr;
    }
}
