/* AGYS ACCOUNT DESIGN V451 */

body:is(#authentication,#password,#my-account,#identity,#module-agysmarketing-preferences) #left_column,
body:is(#authentication,#password,#my-account,#identity,#module-agysmarketing-preferences) #right_column {
    display:none!important;
}

body:is(#authentication,#password,#my-account,#identity,#module-agysmarketing-preferences) #center_column {
    width:100%!important;
    max-width:980px!important;
    margin:25px auto 45px!important;
    float:none!important;
    padding:30px!important;
    box-sizing:border-box;
    color:#153a50;
}

body:is(#authentication,#password,#my-account,#identity,#module-agysmarketing-preferences) #center_column h1 {
    font-size:30px!important;
    font-weight:700!important;
    color:#153a50!important;
    padding:0 0 20px!important;
    border-bottom:1px solid #dce9ed;
    margin-bottom:25px!important;
}

body:is(#authentication,#password,#identity) #center_column form {
    background:#f5fafb;
    border:1px solid #dce9ed;
    border-radius:16px;
    padding:25px!important;
    box-sizing:border-box;
}

body:is(#authentication,#password,#identity) #center_column fieldset {
    background:transparent!important;
    border:0!important;
}

body:is(#authentication,#password,#identity) #center_column label {
    font-weight:600;
    color:#153a50;
}

body:is(#authentication,#password,#identity) #center_column input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),
body:is(#authentication,#password,#identity) #center_column select {
    min-height:40px;
    border:1px solid #cadde5!important;
    border-radius:8px!important;
    background:white!important;
    padding:9px 12px;
    color:#153a50;
    max-width:100%;
}

body:is(#authentication,#password,#identity) #center_column input:focus,
body:is(#authentication,#password,#identity) #center_column select:focus {
    outline:2px solid #087e96;
    outline-offset:2px;
}

body:is(#authentication,#password,#identity) #center_column button[type=submit],
body:is(#authentication,#password,#identity) #center_column input[type=submit] {
    background:#087e96!important;
    border:0!important;
    color:white!important;
    border-radius:9px!important;
    padding:12px 22px!important;
    font-weight:600;
}

body:is(#authentication,#password,#identity) #center_column .error,
body:is(#authentication,#password,#identity) #center_column .alert-danger {
    background:#fff3f2!important;
    border:1px solid #efc4c0!important;
    color:#963c36!important;
    padding:16px!important;
    border-radius:10px;
}

#my-account #center_column ul.myaccount-link-list,
#my-account #center_column ul.myaccount_lnk_list {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    padding:0!important;
    list-style:none;
}

#my-account #center_column .myaccount-link-list li,
#my-account #center_column .myaccount_lnk_list li {
    margin:0!important;
    width:auto!important;
    float:none!important;
}

#my-account #center_column .myaccount-link-list li a,
#my-account #center_column .myaccount_lnk_list li a {
    display:flex!important;
    align-items:center;
    gap:12px;
    padding:20px!important;
    min-height:72px;
    background:#f5fafb!important;
    border:1px solid #dce9ed!important;
    border-radius:12px!important;
    color:#153a50!important;
    font-size:14px;
    text-decoration:none;
    transition:background .2s,border-color .2s;
}

#my-account #center_column .myaccount-link-list li a:hover,
#my-account #center_column .myaccount_lnk_list li a:hover {
    background:#e5f4f7!important;
    border-color:#087e96!important;
}

.agys-community-shortcut {
    display:block!important;
    padding:25px!important;
    margin:20px 0 28px!important;
    background:linear-gradient(120deg,#153a50,#087e96);
    border-radius:15px;
    color:white!important;
    text-align:center;
    text-decoration:none!important;
}

.agys-community-shortcut strong {
    display:block;
    font-size:21px;
    color:#fff0c7;
    margin-bottom:9px;
}

.agys-preferences-card {
    box-shadow:0 8px 30px rgba(21,58,80,.08);
}

@media(max-width:767px) {
    body:is(#authentication,#password,#my-account,#identity,#module-agysmarketing-preferences) #center_column {
        padding:18px!important;
        margin:10px auto!important;
    }

    #my-account #center_column ul.myaccount-link-list,
    #my-account #center_column ul.myaccount_lnk_list {
        grid-template-columns:1fr;
    }
}
/* AGYS ACCOUNT V452 */

/* Toutes les pages secondaires du compte */

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #left_column,
body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #right_column {
    display:none!important;
}

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column {
    width:100%!important;
    max-width:980px!important;
    margin:25px auto 45px!important;
    float:none!important;
    padding:30px!important;
    box-sizing:border-box;
    color:#153a50;
    min-height:0!important;
}

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column h1 {
    font-size:30px!important;
    font-weight:700!important;
    color:#153a50!important;
    padding:0 0 20px!important;
    border-bottom:1px solid #dce9ed;
    margin-bottom:25px!important;
}

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column h2 {
    color:#153a50!important;
    font-size:22px;
    font-weight:600;
}

/* Cloche Mes alertes */

#my-account #center_column a[href*="mailalerts"]::before {
    content:"";
    display:inline-block;
    flex:0 0 24px;
    width:24px;
    height:24px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:22px 22px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087e96' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}

#my-account #center_column .myaccount-link-list a img,
#my-account #center_column .myaccount_lnk_list a img {
    mix-blend-mode:multiply;
}

#my-account #center_column .myaccount-link-list li a,
#my-account #center_column .myaccount_lnk_list li a {
    font-size:15px!important;
    font-weight:500;
    box-sizing:border-box;
    height:100%;
}

/* Messages informatifs et pages vides */

body:is(#history,#order-slip,#addresses,#discount,#module-mailalerts-account) #center_column .warning,
body:is(#history,#order-slip,#addresses,#discount,#module-mailalerts-account) #center_column .alert-info,
body:is(#history,#order-slip,#addresses,#discount,#module-mailalerts-account) #center_column .info {
    padding:25px!important;
    background:#f1f7f9!important;
    border:1px solid #dce9ed!important;
    border-radius:12px!important;
    color:#153a50!important;
    line-height:1.7;
}

body:is(#history,#order-slip,#addresses,#discount,#module-mailalerts-account) #center_column p.warning,
body:is(#history,#order-slip,#addresses,#discount,#module-mailalerts-account) #center_column p.info {
    margin:20px 0 30px!important;
}

/* Boutons et retours vers Mon compte */

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column a.button,
body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column button[type=submit],
#address #center_column input[type=submit] {
    background:#087e96!important;
    color:white!important;
    padding:12px 20px!important;
    border:0!important;
    border-radius:9px!important;
    font-weight:600;
    text-shadow:none!important;
    text-decoration:none;
}

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account,#identity) #center_column .footer_links {
    margin-top:25px!important;
    padding-top:18px!important;
    border-top:1px solid #dce9ed;
}

body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account,#identity) #center_column .footer_links a {
    color:#087e96!important;
    font-weight:500;
}

/* Tableaux de commandes, avoirs et reductions */

body:is(#history,#order-detail,#order-slip,#discount) #center_column table {
    width:100%;
    border:1px solid #dce9ed;
    border-spacing:0;
    font-size:13px;
}

body:is(#history,#order-detail,#order-slip,#discount) #center_column table th {
    background:#153a50!important;
    color:white!important;
    padding:14px 10px!important;
    text-shadow:none!important;
}

body:is(#history,#order-detail,#order-slip,#discount) #center_column table td {
    padding:14px 10px!important;
    border-color:#dce9ed!important;
}

body:is(#history,#order-detail,#order-slip,#discount) #center_column table tbody tr:nth-child(even) {
    background:#f5fafb;
}

body:is(#history,#order-detail,#order-slip,#discount) #center_column .table-responsive {
    overflow-x:auto;
}

/* Carnet d'adresses */

#addresses #center_column ul.address,
#addresses #center_column .address.item,
#addresses #center_column .address.alternate_item {
    background:#f5fafb!important;
    border:1px solid #dce9ed!important;
    border-radius:12px;
    padding:20px!important;
    box-sizing:border-box;
}

/* Formulaires adresse et informations personnelles */

#address #center_column form,
#identity #center_column form {
    max-width:800px;
    margin:20px auto!important;
    background:#f5fafb;
    border:1px solid #dce9ed;
    border-radius:16px;
    padding:25px!important;
    box-sizing:border-box;
}

#address #center_column fieldset {
    background:transparent!important;
    border:0!important;
}

#address #center_column label {
    color:#153a50;
    font-weight:600;
}

#address #center_column input:not([type=hidden]):not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),
#address #center_column select,
#address #center_column textarea {
    min-height:42px;
    max-width:100%;
    padding:10px 12px;
    border:1px solid #cadde5!important;
    background:white!important;
    border-radius:8px!important;
    box-sizing:border-box;
    color:#153a50;
}

#identity #center_column input[type=text],
#identity #center_column input[type=email],
#identity #center_column input[type=password] {
    width:52%!important;
    max-width:390px!important;
    box-sizing:border-box;
    min-height:46px!important;
}

#identity #center_column form p.text label,
#identity #center_column form p.password label {
    width:32%!important;
}

#address #center_column input:focus,
#address #center_column select:focus,
#address #center_column textarea:focus {
    outline:2px solid #087e96;
    outline-offset:2px;
}

/* Mobile */

@media(max-width:767px) {

    body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column {
        padding:18px!important;
        margin:10px auto!important;
    }

    body:is(#history,#order-detail,#order-slip,#addresses,#address,#discount,#module-mailalerts-account) #center_column h1 {
        font-size:25px!important;
    }

    #identity #center_column form,
    #address #center_column form {
        padding:16px!important;
    }

    #identity #center_column form p.text label,
    #identity #center_column form p.password label {
        display:block!important;
        width:auto!important;
        float:none!important;
        text-align:left!important;
        margin-bottom:8px;
    }

    #identity #center_column input[type=text],
    #identity #center_column input[type=email],
    #identity #center_column input[type=password] {
        width:100%!important;
        max-width:100%!important;
    }
}

/* FIN AGYS ACCOUNT V452 */
