/*
|--------------------------------------------------------------------------
| Authentication Page
|--------------------------------------------------------------------------
*/

.auth-page {
    min-height: calc(100vh - 85px);

    display: flex;
    justify-content: center;
    align-items: flex-start;

    box-sizing: border-box;

    padding: 60px 20px;
}


/*
|--------------------------------------------------------------------------
| Authentication Card
|--------------------------------------------------------------------------
*/

.auth-card {
    width: 100%;
    max-width: 620px;

    box-sizing: border-box;

    padding: 36px;

    background: #fff;

    border: 1px solid var(--ohm-silver);
    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(11, 27, 41, 0.08);
}


.auth-card-small {
    max-width: 500px;
}


/*
|--------------------------------------------------------------------------
| Card Header
|--------------------------------------------------------------------------
*/

.auth-card-header {
    margin-bottom: 30px;

    text-align: center;
}


.auth-card-header h1 {
    margin: 0 0 12px;

    color: var(--ohm-dark);

    font-size: 2rem;
}


.auth-card-header p {
    margin: 0;

    color: #52606b;

    line-height: 1.55;
}


/*
|--------------------------------------------------------------------------
| Authentication Form
|--------------------------------------------------------------------------
*/

.auth-form {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


.auth-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.auth-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.auth-field label {
    color: var(--ohm-dark);

    font-weight: 600;

    text-align: left;
}


.auth-field input {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid var(--ohm-silver);
    border-radius: 7px;

    background: #fff;

    color: var(--ohm-dark);

    font-size: 1rem;
}


.auth-field input:focus {
    outline: none;

    border-color: var(--ohm-blue-2);

    box-shadow:
        0 0 0 3px rgba(47, 168, 232, 0.15);
}


/*
|--------------------------------------------------------------------------
| Submit
|--------------------------------------------------------------------------
*/

.auth-submit {
    width: 100%;

    padding: 13px 18px;

    margin-top: 4px;
}


/*
|--------------------------------------------------------------------------
| Secondary Links
|--------------------------------------------------------------------------
*/

.auth-links {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 24px;

    font-size: 0.95rem;
}


.auth-links a {
    color: var(--ohm-blue);

    font-weight: 600;

    text-decoration: none;
}


.auth-links a:hover {
    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| Errors
|--------------------------------------------------------------------------
*/

.petcare-form-error {
    box-sizing: border-box;

    margin-bottom: 22px;
    padding: 12px 14px;

    border-radius: 7px;

    background: rgba(180, 35, 35, 0.08);

    color: #9b1c1c;

    line-height: 1.45;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .auth-page {
        padding: 32px 14px;
    }


    .auth-card {
        padding: 28px 20px;
    }


    .auth-card-header h1 {
        font-size: 1.65rem;
    }


    .auth-row {
        grid-template-columns: 1fr;
    }


    .auth-links {
        flex-wrap: wrap;
    }

}

.auth-header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-header-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-brand {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.auth-brand-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 90px;
}