#kc-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 85%;
    max-width: 400px;
}

#kc-form-wrapper {
    width: 100%;
}

.header-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 200px;
}

.kc-form-group {
    margin-bottom: 20px;
}

.kc-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.kc-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.kc-input:focus {
    outline: none;
    border-color: #007bff;
}

#kc-form-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.kc-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.kc-form-options a {
    color: #007bff;
    text-decoration: none;
}

.kc-form-options a:hover {
    text-decoration: underline;
}

.header-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.login-title {
    font-size: 2rem;
    font-weight: 300;
    color: #333;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center; /* Center the text */
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: -1px; /* Tighten the letter spacing */
    margin-bottom: 20px; /* Bottom margin */
}

/* Container for input field and button */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%; /* Full width of the parent */
    padding: 0;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 7px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 20px; /* Margin between fields */
}

.custom-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    background-color: transparent;
    border: 2px solid #ccc;
    border-radius: 7px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

/* Input field */
.custom-password-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    background-color: transparent;
    border: none;
    outline: none;
    box-sizing: border-box;
}

.password-toggle-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none; /* Remove background */
    border: none; /* Remove border */
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* Button width */
    height: 24px; /* Button height */
}

.password-toggle-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.password-toggle-button i {
    font-size: 16px;
}

#input-error {
    color: #ff4d4f;
    font-size: 14px;
    margin-top: 5px;
}

#kc-registration {
    margin-top: 8px;
}
