/* ================= AUTH ================= */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 20px;
}

.login-container {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.login-container h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #E88CA7;
    font-family: 'Sour Gummy', sans-serif;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-container label {
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: #555;
}

.login-container input {
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.login-container input:focus {
    border-color: #E88CA7;
    outline: none;
}

.login-container button[type="submit"] {
    padding: 12px;
    font-size: 16px;
    background-color: #B9C8A2;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.login-container button[type="submit"]:hover {
    background-color: #a3b88c;
    transform: translateY(-2px);
}

.login-container p {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.login-container p a {
    color: #E88CA7;
    text-decoration: none;
}

.login-container p a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #aaa;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding-right: 40px;
}

.toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #aaa;
    user-select: none;
}

.toggle-pw:hover {
    color: #555;
}

.pw-strength {
    font-size: 12px;
    font-weight: bold;
    margin-top: -8px;
    min-height: 18px;
    text-align: right;
}

.form-error {
    color: #E88CA7;
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
}

.form-success {
    color: #4caf50;
    font-size: 13px;
    margin-top: 10px;
    min-height: 18px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    margin-top: 4px;
}

.google-btn:hover {
    background: #f7f7f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    background: #E88CA7;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 16px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    text-align: left;
}

.profile-info-label {
    color: #999;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn {
    margin-top: 24px;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    background: #fff;
    color: #E88CA7;
    border: 2px solid #E88CA7;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.logout-btn:hover {
    background: #E88CA7;
    color: #fff;
    transform: translateY(-2px);
}