.ou-login-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(34, 35, 38, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(34, 35, 38, 0.10);
    box-sizing: border-box;
}

.ou-login-title {
    margin: 0 0 8px;
    color: #222326;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
}

.ou-login-intro {
    margin: 0 0 24px;
    color: #62646a;
    text-align: center;
}

.ou-login-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.ou-login-message--error {
    border: 1px solid rgba(112, 22, 36, 0.25);
    background: rgba(112, 22, 36, 0.08);
    color: #701624;
}

.ou-login-field {
    margin-bottom: 18px;
}

.ou-login-field label {
    display: block;
    margin-bottom: 7px;
    color: #222326;
    font-size: 14px;
    font-weight: 700;
}

.ou-login-field input[type="text"],
.ou-login-field input[type="password"] {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #d9dadd;
    border-radius: 10px;
    background: #fff;
    color: #222326;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ou-login-field input:focus {
    border-color: #701624;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(112, 22, 36, 0.12);
}

.ou-login-password-wrap {
    position: relative;
}

.ou-login-password-wrap input {
    padding-right: 70px !important;
}

.ou-login-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    padding: 7px 9px;
    border: 0;
    background: transparent;
    color: #701624;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
}

.ou-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 4px 0 22px;
    font-size: 14px;
}

.ou-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #44464b;
    cursor: pointer;
}

.ou-login-remember input {
    width: 17px;
    height: 17px;
    accent-color: #701624;
}

.ou-login-forgot,
.ou-login-links a {
    color: #701624;
    font-weight: 700;
    text-decoration: none;
}

.ou-login-forgot:hover,
.ou-login-links a:hover {
    text-decoration: underline;
}

.ou-login-submit {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: #701624;
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ou-login-submit:hover {
    background: #660019;
    box-shadow: 0 8px 20px rgba(102, 0, 25, 0.22);
    transform: translateY(-1px);
}

.ou-login-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #ececef;
    font-size: 14px;
}

.ou-login-card--logged-in {
    text-align: center;
}

.ou-login-card--logged-in h3 {
    margin: 12px 0 8px;
    color: #222326;
}

.ou-login-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(112, 22, 36, 0.10);
    color: #701624;
    font-size: 24px;
    font-weight: 900;
}

.ou-login-dashboard-button {
    margin-top: 15px;
}

@media (max-width: 520px) {
    .ou-login-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .ou-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ou-login-title {
        font-size: 24px;
    }
}
