/* login.css */
.auth-container {
    background-color: #f0f4f8;
    padding: 20px;
    border-bottom: 2px solid #ddd;
    text-align: center;
    font-family: sans-serif;
}

.auth-form {
    display: inline-block;
    vertical-align: top;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
}

.auth-form h3 {
    margin-top: 0;
}

.input-wrapper input, .password-wrapper input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.auth-form button, #auth-logged-in-view button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.auth-form button:hover, #auth-logged-in-view button:hover {
    background-color: #0056b3;
}

.auth-form p {
    font-size: 14px;
    margin-top: 15px;
}

.auth-form a {
    color: #007bff;
    text-decoration: none;
}
.auth-form a:hover {
    text-decoration: underline;
}

#auth-message-area {
    margin-top: 15px;
    font-weight: bold;
}

.input-wrapper {
    width: 100%;
}

/* --- password visibility toggle --- */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px;
    box-sizing: border-box;
}

.password-wrapper i {
    position: absolute;
    right: 12px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

/* my garden button */
#auth-logged-in-view .button-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
}

#auth-logged-in-view .button-link:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: white;
}