/* Register User Screen Styles */

/* Container */
/* Mobile-First: Basis-Styles gelten für mobile Geräte */
/* VERPFLICHTEND: Mobile-Volle-Breite-Nutzung ohne Overflow (Regel 018.002) */
#register-user-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: var(--spacing-md);
    box-sizing: border-box;
}

/* Content */
#register-user-content {
    width: 100%;
}

/* Headline - verwendet zentrale widget-headline-h1 Klasse */
#register-user-headline {
    margin-bottom: 20px;
    text-align: center;
}

/* Info Text */
#register-user-info-text {
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-text-secondary);
}

/* Success Message */
#register-user-success {
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--color-success-background);
    border: 1px solid var(--color-success-border);
    border-radius: 4px;
    text-align: center;
}

#register-user-success-text {
    color: var(--color-success-text);
    margin: 0;
}

/* Error Message */
#register-user-error {
    margin-bottom: 20px;
}

#register-user-error-text {
    margin: 0;
}

/* Form */
#register-user-form {
    width: 100%;
}

/* Form Fields */
#register-user-form-field-package,
#register-user-form-field-first-name,
#register-user-form-field-last-name,
#register-user-form-field-email,
#register-user-form-field-password,
#register-user-form-field-password-confirm {
    margin-bottom: 20px;
}

/* Submit Container */
#register-user-form-submit-container {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

#register-user-form-submit {
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    text-transform: uppercase;
}

/* Links */
#register-user-links {
    margin-top: 20px;
    text-align: center;
}

#register-user-login-text {
    margin: 10px 0;
    color: var(--color-text-secondary);
}

#register-user-login-link-anchor {
    color: var(--color-link);
    text-decoration: none;
}

#register-user-login-link-anchor:hover {
    text-decoration: underline;
}

/* Responsive Breakpoints - Mobile-First mit min-width */
/* Tablet/iPad: 600px-768px */
@media (width >= 600px) {
    #register-user-container {
        max-width: 500px;
        padding: var(--spacing-xl);
    }
}

/* Kleiner Desktop/13-Zoll: 1024px-1366px */
@media (width >= 1024px) and (width <= 1366px) {
    #register-user-container {
        max-width: 600px;
        padding: var(--spacing-2xl);
    }
}

/* Großer Desktop/Widescreen: min-width: 1440px */
@media (width >= 1440px) {
    #register-user-container {
        max-width: 700px;
    }
}
