/* Login Box Styling */
.login-box {
  position: fixed;
top: 180px;
left: 0;
background: #fff;
padding: 100px 0 0 0px;
width: 100vw;
height: calc(100vh - 75px);
border-radius: 0 0 8px 8px;
overflow-y: auto;
z-index: 1000;
text-align: center;
}

.tx-directlogin2-container {
}

.tx-directlogin2 {
}

.tx-directlogin2 h2 {
}

.directlogin-form {
    margin-top: 20px;
}

.tx-directlogin2-container .form-group {
    margin-bottom: 25px;
}

.tx-directlogin2-container .form-group label {
 /*   display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;*/
}

.tx-directlogin2-container .form-control {
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tx-directlogin2-container .form-group button,
.tx-directlogin2-container .form-group a.btn {
    margin: 0 5px;
}

.tx-directlogin2-container .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/*
.tx-directlogin2-container .btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.tx-directlogin2-container .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
*/

.tx-directlogin2-container .code-input-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.tx-directlogin2-container .code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    margin-right: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tx-directlogin2-container .code-input:last-child {
    margin-right: 0;
}

.tx-directlogin2-container .code-input:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.tx-directlogin2-container .email-info {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.tx-directlogin2-container .login-success {
    text-align: center;
    padding: 20px;
    background-color: #d4edda;
    border-radius: 4px;
    color: #155724;
}

.tx-directlogin2-container .resend-link {
    margin-top: 20px;
    font-size: 14px;
}

.tx-directlogin2-container .resend-link a {
    color: #464646;
    text-decoration: underline;
    font-weight: 600;
    margin: 0 4px;
}

.tx-directlogin2-container .resend-link a:hover {
    text-decoration: none;
    color: #6699cc;
}

/* Responsive Styling für die Eingabefelder */
@media (max-width: 840px) {
    .tx-directlogin2-container .login-box {
        width: 90%;
        left: 5%;
        right: 5%;
        height: auto;
        top: 50%;
        transform: translateY(-50%);
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .tx-directlogin2-container .login-box {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        padding: 20px;
        height: auto;
        border-radius: 0;
    }
    
    .tx-directlogin2-container .code-input-container {
        max-width: 300px;
    }
    
    .tx-directlogin2-container .code-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
        margin-right: 6px;
    }
}

@media (max-width: 360px) {
    .tx-directlogin2-container .code-input-container {
        max-width: 270px;
    }
    
    .tx-directlogin2-container .code-input {
        width: 35px;
        height: 45px;
        font-size: 18px;
        margin-right: 5px;
    }
}

.tx-directlogin2-container .error-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8d7da;
    border-radius: 4px;
    color: #721c24;
}

.tx-directlogin2-container .actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.tx-directlogin2-container .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.tx-directlogin2-container .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.tx-directlogin2-container .btn-link {
    color: #0093dd;
    text-decoration: none;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.tx-directlogin2-container .btn-link:hover {
    text-decoration: underline;
    color: #0077b3;
}

.tx-directlogin2-container .mt-4 {
    margin-top: 1.5rem;
}

.tx-directlogin2-container .email-description {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
} 