.community-form--wrapper {
    background-color: #fff;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 20px;
    padding: 25px;
    line-height: 1;
}
@media (min-width: 768px) {
    .community-form--wrapper {
        padding: 56px 80px;
    }
}

.community-form--wrapper h2 {
    font-size: 30px;
    text-align: center;
    margin: 0 0 10px;
    color: #18415C;
    font-weight: 500;
}

.community-form--wrapper > p {
    text-align: center;
    font-size: 21px;
    margin: 0 0 36px;
}
.community-form--wrapper > p a{
    color: #1C94E3;
    text-decoration: none;
}
.community-form--wrapper > p a:hover{
    text-decoration: underline;
}

.community-form {
    font-family: inherit;
}

/* =========
   Champs
   ========= */
.community-field input[type="text"],
.community-field input[type="email"],
.community-field input[type="password"],
.community-field input[type="file"],
.community-field select {
    border: 1px solid #707070C2;
    border-radius: 8px;
    padding: 12px;
    height: auto;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 17px;
    font-weight: 500;
    background-color: #fff;
    color: #575757;
}
.community-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../images/chevron.svg");
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 12px;
    padding: 15px;
}
.community-field input[type="text"]:focus,
.community-field input[type="email"]:focus,
.community-field input[type="password"]:focus,
.community-field input[type="file"]:focus {
    border-color: #355689;
    outline: auto;
    outline-color: #355689;
}
.community-field input[type="text"]::placeholder,
.community-field input[type="email"]::placeholder,
.community-field input[type="password"]::placeholder {
    opacity: 1;
    color: #575757;
}
.community-field:not(.button-custom) button[type="submit"]{
    width: 100%;
    color: #fff;
    background-color: #36578A;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    font-size: 17px;
    transition: all .3s;
}
.community-field:not(.button-custom) button[type="submit"]:hover {
    background-color: #2b456e;
}
.community-field.button-custom {
    text-align: right;
}
.community-field.button-custom button[type="submit"]{
    color: #fff;
    background-color: #BF2A6B;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    font-size: 17px;
    transition: all .3s;
}
.community-field.button-custom button[type="submit"]:hover {
    background-color: #9a2256;
}
.community-field:not(.custom) label {
    display: none;
}

.community-field.custom label {
    border: 1px solid #707070C2;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    color: #575757;
    cursor: pointer;
}
.community-field.custom label img {
    max-width: 23px;
}
.community-field.custom input[type="file"] {
    display: none;
}

.community-field {
    flex: 1 0 100%;
}
@media (min-width: 768px) {    
    .community-field.full-name {
        flex: 1 0 calc(50% - 22px);
    }
}

.community-form {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    box-sizing: border-box;
}

.community-form.community-form-write {
    gap: initial;
    margin: 0 -15px;
}

.community-form--col-8,
.community-form--col-4 {
    flex: 1 0 100%;
    margin-bottom: 22px;
}
@media (min-width: 992px) {    
    .community-form--col-8 {
        flex: 0 0 66.67%;
        max-width: 66.67%;
        padding: 0 15px;
        box-sizing: border-box;
        margin-bottom: 0;
    }
    .community-form--col-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 0 15px;
        box-sizing: border-box;
        margin-bottom: 0;
    }
}

.community-form--col-8 .community-field:not(:last-child),
.community-form--col-4 .community-field:not(:last-child) {
    margin-bottom: 22px;
}

.community-category {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0px 3px 6px #00000029;
    padding: 20px;
}

.community-category-input {
    display: none;
    margin-top: 12px;
}

.community-add-category{
    text-align: right;
    line-height: 1;
}
.community-add-category a {
    color: #1C94E3;
    font-size: 14px;
}

.community-write--wrapper h2{
    font-size: 21px;
    margin: 0 0 10px;
    color: #18415C;
    font-weight: 500;
}

/* =========
   Message d'erreur et de succès
   ========= */
.community-error {
    margin: 0;
    font-size: 12px;
    color: #D32F2F;
}

.community-field input[type="text"].has-error,
.community-field input[type="email"].has-error,
.community-field input[type="password"].has-error {
    border-color: #D32F2F;
}

.community-message-success {
    background-color: #DFFCE2;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #575757E0;
}

/* =========
   Login
   ========= */
.community-login-step1,
.community-login-step2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
}