/* Pages d'authentification : connexion, mot de passe oublié, réinitialisation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand: #92AD41;
    --brand-600: #7f9837;
    --brand-700: #66792c;
    --ink: #1c2419;
    --muted: #6c7568;
    --border: #d9ded3;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #1c2419;
    background-image: linear-gradient(135deg, rgba(28, 36, 25, .82) 0%, rgba(28, 36, 25, .55) 100%), url('../img/meb-fond.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    height: 100%;
    max-width: 100%;
    padding: 24px 16px;
    align-content: center;
}

.container>.d-flex {
    align-items: center;
}

.card {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: auto;
    border: 0 !important;
    border-radius: 20px !important;
    background-color: #fff !important;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
    overflow: hidden;
}

.card-header {
    position: relative;
    padding: 32px 32px 8px !important;
    background: transparent !important;
    border: 0 !important;
}

.card-header::before {
    content: "\e3af";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    font-size: 20px;
}

.card-header h3 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.card-header h3::after {
    content: "Espace client Mon Extension Bois";
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.card-body {
    padding: 20px 32px 8px !important;
}

.card-footer {
    padding: 16px 32px 24px !important;
    background: #f7f8f4 !important;
    border-top: 1px solid #edf0e8 !important;
}

.social_icon {
    display: none !important;
}

.input-group {
    margin-bottom: 14px;
    flex-wrap: nowrap;
}

.input-group-prepend span,
.input-group-addon span {
    height: 100%;
    width: 44px;
    justify-content: center;
    border: 1px solid var(--border) !important;
    background-color: #f4f6f0 !important;
    color: var(--muted) !important;
}

.input-group-prepend span {
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
}

.input-group-addon span {
    border-left: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    cursor: pointer;
}

.input-group .form-control {
    height: 46px;
    border: 1px solid var(--border);
    font-size: 15px;
    color: var(--ink);
}

.input-group>.form-control:last-child {
    border-radius: 0 10px 10px 0 !important;
}

.input-group .form-control:focus {
    border-color: var(--brand);
    box-shadow: none !important;
}

.input-group:focus-within .input-group-prepend span,
.input-group:focus-within .input-group-addon span {
    border-color: var(--brand) !important;
    color: var(--brand-700) !important;
}

input:focus {
    outline: 0 !important;
}

.remember {
    margin: 0 0 16px !important;
    color: var(--muted);
    font-size: 14px;
}

.remember input {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 15px;
    accent-color: var(--brand);
}

.default_btn {
    width: 100%;
    height: 46px;
    border: 0 !important;
    border-radius: 10px !important;
    background-color: var(--brand) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px;
    transition: background-color 150ms ease, box-shadow 150ms ease;
}

.default_btn:hover,
.default_btn:focus {
    background-color: var(--brand-600) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgba(146, 173, 65, .8);
}

.links {
    color: var(--ink);
    font-size: 14px;
    text-align: center;
}

.links a {
    margin-left: 4px;
}

a,
a:visited,
a:focus {
    color: var(--brand-700) !important;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    color: var(--brand-600) !important;
    text-decoration: underline;
}

.visible {
    display: block;
}

.invisible {
    display: none;
}

@media (max-width: 480px) {

    .card-header,
    .card-body,
    .card-footer {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
}
