/*
|--------------------------------------------------------------------------
| TRG MEMORABILIA ACCOUNT
| Account / Login / Register
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| ACCOUNT PAGE
|--------------------------------------------------------------------------
*/

.trg-mm-account-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: center;

    padding: 30px 20px 60px;

    font-family: inherit;
}


/*
|--------------------------------------------------------------------------
| ACCOUNT CARD
|--------------------------------------------------------------------------
*/

.trg-mm-account-card {
    width: 100%;
    max-width: 500px;

    box-sizing: border-box;

    padding: 42px 42px 36px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 6px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.06);

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| BRAND
|--------------------------------------------------------------------------
*/

.trg-mm-account-brand {
    margin-bottom: 22px;

    color: #b59b63;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| ICON
|--------------------------------------------------------------------------
*/

.trg-mm-account-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #faf8f3;

    border: 1px solid rgba(181, 155, 99, 0.35);

    color: #b59b63;

    font-size: 24px;

    font-weight: 500;

    line-height: 1;
}


/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.trg-mm-account-card h1 {
    margin: 0 0 10px;

    padding: 0;

    color: #2f2f2f;

    font-size: 28px;

    font-weight: 600;

    line-height: 1.25;
}


/*
|--------------------------------------------------------------------------
| DESCRIPTION
|--------------------------------------------------------------------------
*/

.trg-mm-account-description {
    max-width: 390px;

    margin: 0 auto 28px;

    color: #777777;

    font-size: 14px;

    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| ERROR
|--------------------------------------------------------------------------
*/

.trg-mm-account-errors {
    margin: 0 0 22px;

    padding: 15px 17px;

    box-sizing: border-box;

    border: 1px solid #ead5d5;

    border-left: 3px solid #b56b6b;

    border-radius: 4px;

    background: #fcf7f7;

    color: #7d4c4c;

    font-size: 13px;

    line-height: 1.55;

    text-align: left;
}


.trg-mm-account-error-title {
    margin-bottom: 6px;

    color: #744545;

    font-weight: 600;
}


.trg-mm-account-errors p {
    margin: 0;
}


.trg-mm-account-errors ul {
    margin: 6px 0 0;
    padding-left: 18px;
}


.trg-mm-account-errors li {
    margin: 3px 0;
}


/*
|--------------------------------------------------------------------------
| FORM
|--------------------------------------------------------------------------
*/

.trg-mm-account-form {
    width: 100%;

    margin: 0;

    text-align: left;
}


/*
|--------------------------------------------------------------------------
| FIELD
|--------------------------------------------------------------------------
*/

.trg-mm-account-field {
    width: 100%;

    margin-bottom: 19px;
}


.trg-mm-account-field label {
    display: block;

    margin: 0 0 7px;

    color: #3c3c3c;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.4;
}


.trg-mm-account-field label span {
    color: #b59b63;
}


/*
|--------------------------------------------------------------------------
| INPUT
|--------------------------------------------------------------------------
*/

.trg-mm-account-field input[type="text"],
.trg-mm-account-field input[type="email"],
.trg-mm-account-field input[type="password"] {
    display: block;

    width: 100%;

    min-height: 46px;

    box-sizing: border-box;

    margin: 0;

    padding: 11px 13px;

    border: 1px solid #d9d9d9;

    border-radius: 4px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.4;

    outline: none;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.trg-mm-account-field input::placeholder {
    color: #aaaaaa;
}


.trg-mm-account-field input:focus {
    border-color: #b59b63;

    background: #fffefd;

    box-shadow:
        0 0 0 3px rgba(181, 155, 99, 0.12);
}


/*
|--------------------------------------------------------------------------
| REMEMBER ME
|--------------------------------------------------------------------------
*/

.trg-mm-account-remember {
    margin: 0 0 20px;

    text-align: left;
}


.trg-mm-account-remember label {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin: 0;

    color: #777777;

    font-size: 13px;

    line-height: 1.4;

    cursor: pointer;
}


.trg-mm-account-remember input[type="checkbox"] {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: #b59b63;
}


/*
|--------------------------------------------------------------------------
| PRIMARY BUTTON
|--------------------------------------------------------------------------
*/

.trg-mm-account-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 46px;

    box-sizing: border-box;

    margin: 0;

    padding: 11px 20px;

    border: 1px solid #b59b63;

    border-radius: 4px;

    background: #b59b63;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: 0.2px;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.trg-mm-account-button:hover {
    background: #9f8652;

    border-color: #9f8652;

    color: #ffffff;

    text-decoration: none;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(159, 134, 82, 0.18);
}


/*
|--------------------------------------------------------------------------
| SECONDARY BUTTON
|--------------------------------------------------------------------------
*/

.trg-mm-account-secondary {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 44px;

    box-sizing: border-box;

    margin-top: 10px;

    padding: 10px 18px;

    border: 1px solid #d8d8d8;

    border-radius: 4px;

    background: #ffffff;

    color: #555555;

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


.trg-mm-account-secondary:hover {
    border-color: #b59b63;

    background: #faf8f3;

    color: #8f7545;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

.trg-mm-account-footer {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 5px;

    margin-top: 25px;

    color: #777777;

    font-size: 13px;

    line-height: 1.5;
}


.trg-mm-account-footer a {
    color: #9a7d43;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}


.trg-mm-account-footer a:hover {
    color: #b59b63;

    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| BACK TO SHOP
|--------------------------------------------------------------------------
*/

.trg-mm-account-back {
    display: inline-block;

    margin-top: 22px;

    color: #999999;

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;

    transition: color 0.2s ease;
}


.trg-mm-account-back:hover {
    color: #8f7545;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .trg-mm-account-page {
        padding: 20px 12px 45px;
    }


    .trg-mm-account-card {
        max-width: 100%;

        padding: 32px 22px 28px;

        border-radius: 5px;
    }


    .trg-mm-account-brand {
        margin-bottom: 18px;

        font-size: 11px;

        letter-spacing: 1.7px;
    }


    .trg-mm-account-icon {
        width: 46px;
        height: 46px;

        margin-bottom: 15px;

        font-size: 21px;
    }


    .trg-mm-account-card h1 {
        font-size: 24px;
    }


    .trg-mm-account-description {
        margin-bottom: 24px;

        font-size: 13px;

        line-height: 1.65;
    }


    .trg-mm-account-field {
        margin-bottom: 16px;
    }


    .trg-mm-account-field input[type="text"],
    .trg-mm-account-field input[type="email"],
    .trg-mm-account-field input[type="password"] {
        min-height: 44px;

        font-size: 13px;
    }


    .trg-mm-account-button {
        min-height: 44px;

        font-size: 12px;
    }

}


/*
|--------------------------------------------------------------------------
| VERY SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 380px) {

    .trg-mm-account-card {
        padding: 28px 17px 25px;
    }


    .trg-mm-account-card h1 {
        font-size: 22px;
    }


    .trg-mm-account-footer {
        font-size: 12px;
    }

}

