.content {
    display: grid;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 640px) {
    .content {
        padding: 0 20px;
    }
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin: 5%;
}

.header a {
    text-decoration: none;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
}

.logo_1 {
    font-size: 2rem;
    font-family: 'Roboto', monospace;
    font-weight: 300;
}

.logo_2 {
    font-size: 2rem;
    font-family: 'Roboto', monospace;
    color: #7FFFD4;
}

@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}
.lang_select {
    order: 2;
    height: 36px;
    padding: 0 5px;
    text-align: center;
    border-radius: 5px;
    background-color: #333;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    outline: none;
}
.lang_select:hover {
    background-color: #444;
}
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    user-select: none;
}

@keyframes gradientShift {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}
.auth-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: 'Roboto', sans-serif;
    border-radius: 9px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    font-weight: 300;
    font-size: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(127, 255, 212, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(127, 255, 212, 0.2);
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 50px;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 6px;
}

.password-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.password-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(127, 255, 212, 0.3);
}

.password-toggle-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    stroke: #2b2b2b;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: rgba(127, 255, 212, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(127, 255, 212, 0.3);
    color: #2c3e50;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(127, 255, 212, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 255, 212, 0.3);
}

.btn-login:disabled,
.btn-login:disabled:hover {
    background: gray;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.form-links {
    text-align: center;
    margin-top: 24px;
}

.form-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.form-links a:hover {
    color: #7FFFD4;
    text-shadow: 0 0 10px rgba(127, 255, 212, 0.5);
}

.toggle-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50%;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(127, 255, 212, 0.8);
    border-color: #7FFFD4;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(127, 255, 212, 0.3);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
    background: linear-gradient(145deg, #ffffff, #7FFFD4);
    box-shadow:
        0 2px 8px rgba(127, 255, 212, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-slider:hover {
    border-color: rgba(127, 255, 212, 0.6);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(127, 255, 212, 0.2);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(127, 255, 212, 0.3);
}

.toggle-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    margin-left: 12px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.error-message {
    color: #ff6969;
    font-size: 16px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
}

.mail_sent {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    justify-self: center;
    justify-content: center;
    text-align: center;
    color: lightgrey;
}

.mail_sent a {
    text-decoration: underline;
    color: #1aebff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group input.error {
    border-color: rgba(255, 107, 107, 0.6) !important;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2) !important;
}
.accept_block {
    margin: 30px auto;
    padding: 15px;
    color: #bebebe;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    user-select: none;
}
.accept_block a {
    color: white;
    text-decoration: underline;
}