@charset "UTF-8";

/* General styles for the page */
body {
    background-color: #fff;
    font-family: 'Söhne', Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.oai-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.oai-header img {
    height: 32px;
    width: 32px;
}

.header-title {
    font-size: 24px; /* Textgröße anpassen */
    color: #2d333a; /* Textfarbe */
    text-align: center; /* Zentriert den Text */
    margin: 0;
    padding: 32px 0 0; /* Gleicher Abstand wie das vorherige Logo */
    font-family: 'Söhne', Arial, sans-serif; /* Passende Schriftart */
}

/* Styling for the login section */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
}

.title {
    font-size: 32px;
    color: #2d333a;
    text-align: center;
    margin-bottom: 20px;
}

.login-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-field {
    width: 90%;
    padding: 16px;
    border: 1px solid #c2c8d0;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff; /* Weißer Hintergrund im normalen Zustand */
    color: #2d333a;
    outline: none; /* Standardumrandung entfernen */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Spezifischer Fokus-Stil */
.input-field:focus {
    border-color: #10a37f; /* Grüne Umrandung bei Fokus */
    background-color: #fff; /* Weißer Hintergrund bei Fokus */
    box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.2); /* Optional: sanfter grüner Schatten */
    outline: none; /* Browser-Outline entfernen */
}

/* Für WebKit-basierte Browser wie Chrome und Safari */
input[type="email"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder {
    color: #6f7780;
}

input[type="email"]:focus,
input[type="password"]:focus {
    background-color: #fff; /* Hintergrund explizit weiß setzen */
    -webkit-box-shadow: none; /* WebKit-Spezifische Schatten entfernen */
}


.input-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: white;
    padding: 0 6px;
    font-size: 16px;
    color: #6f7780;
    transition: 0.2s ease-in-out;
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
    top: -8px;
    font-size: 14px;
    color: #10a37f;
}

.error-message {
    color: #d00e17;
    font-size: 12px;
    display: none;
}

.continue-btn {
    width: 100%;
    padding: 16px;
    background-color: #10a37f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.continue-btn:hover {
    background-color: #0a8265;
}

.other-page {
    text-align: center;
    margin-top: 16px;
}

.other-page-link {
    color: #10a37f;
}

/* Footer styles */
.oai-footer {
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: #6e6e80;
}

.separator::before {
    content: " | ";
}
