/* =========================================================
   WKW Leo – Register: Helles & freundliches Redesign
   1:1 gleiche Klassen, nur Farben angepasst
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;                /* helles Grau statt dunkler Gradient */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.register-container {
    background: #ffffff;                /* weiß */
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .05);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #7dd3fc, #38bdf8); /* helles Blau */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.logo-text {
    color: #1f2937;                     /* dunkler Text */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-subtitle {
    color: #6b7280;                     /* mittleres Grau */
    font-size: 14px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #1f2937;                     /* dunkler Text */
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    background: #f3f4f6;                /* helles Grau */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px 20px;
    color: #1f2937;                     /* dunkler Text */
    font-size: 16px;
    transition: all .3s ease;
}

.form-input::placeholder {
    color: #9ca3af;                     /* helles Grau */
}

.form-input:focus {
    outline: none;
    border-color: #7dd3fc;              /* helles Blau */
    box-shadow: 0 0 0 3px rgba(125, 211, 252, .3);
}

.register-btn {
    width: 100%;
    background: linear-gradient(45deg, #7dd3fc, #38bdf8);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease;
    margin-bottom: 20px;
}

.register-btn:hover {
    transform: translateY(-2px);
}

.register-btn:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    color: #6b7280;                     /* mittleres Grau */
    font-size: 14px;
}

.login-link a {
    color: #38bdf8;                     /* helles Blau */
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

.error-message {
    background: #fee2e2;                /* helles Rot */
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 15px;
    color: #991b1b;                     /* dunkles Rot */
    margin-bottom: 20px;
    text-align: center;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;                     /* helles Grau */
    font-size: 18px;
}

.input-group .form-input {
    padding-left: 50px;
}

.password-requirements {
    margin-top: 10px;
    padding: 15px;
    background: #f3f4f6;                /* helles Grau */
    border-radius: 8px;
    font-size: 12px;
    color: #4b5563;                     /* mittleres Grau */
}

.password-requirements ul {
    margin: 5px 0 0 15px;
}

.password-requirements li {
    margin-bottom: 3px;
}

.token-info {
    background: #e0f2fe;                /* sehr helles Blau */
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
    color: #1f2937;                     /* dunkler Text */
}

.token-info i {
    font-size: 20px;
    margin-bottom: 10px;
    color: #38bdf8;                     /* helles Blau */
}

@media (max-width: 480px) {
    .register-container {
        margin: 20px;
        padding: 30px;
    }
}