/* Topic Create Page */

/* Mobile-First: Basis-Styles gelten für mobile Geräte */
/* VERPFLICHTEND: Horizontal Overflow verhindern (Regel 011-ui-css-mobile.mdc 005.001) */
.topic-create-container {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.topic-create-form {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.topic-create-form-disabled {
    filter: opacity(0.7);
    pointer-events: none;
}

.topic-create-form-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    filter: none;
}

.topic-create-form-login-modal {
    background: var(--card);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    max-width: calc(100vw - 40px);
    width: 90%;
    filter: none;
}

.topic-create-form-login-modal-title {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 12px 0;
    filter: none;
}

.topic-create-form-login-modal-text {
    font-family: var(--font-family-primary);
    font-size: 14px;
    color: var(--color-gray-dark);
    margin: 0 0 20px 0;
    filter: none;
}

.topic-create-form-login-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    filter: none;
}

.topic-create-form-login-button-register,
.topic-create-form-login-button-login {
    filter: none;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .topic-create-container {
        max-width: 100%;
    }
    
    /* Row: 2 Spalten ab Tablet */
    .row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .topic-create-container {
        max-width: var(--max);
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .topic-create-container {
        max-width: var(--max);
    }
}
