@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&display=swap');

/* Agile Mail theme override - teal / chiaro (caricato dopo all2.css) */
:root{
    --bf-font: "Figtree", "Manrope", "Questrial", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --bf-bg: #F2FAF8;
    --bf-bg-soft: #E9F5F2;
    --bf-border: #D9E8E5;
    --bf-border-strong: #C6DCD8;
    --bf-accent: #0F766E;
    --bf-accent-strong: #115E59;
    --bf-accent-soft: #E6F4F1;
    --agile-accent: #0F766E;
    --agile-accent-strong: #115E59;
    --agile-focus: #0F766E;
}

html{
    background: #F2FAF8;
}

body{
    background: #F2FAF8;
}

body::before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0F766E;
    z-index: 1040;
}

a{
    color: #0F766E;
}

a:hover{
    color: #115E59;
}

.btn{
    border-radius: 9px;
}

.btn-primary{
    background: #0F766E;
    border: 1px solid #0C5D57;
    color: #ffffff;
    box-shadow: none;
    text-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled]{
    background: #115E59;
    border-color: #0A4A45;
    color: #ffffff;
    box-shadow: none;
}

.btn-inverse{
    background: #0F766E;
    border: 1px solid #0C5D57;
    color: #ffffff;
    box-shadow: none;
}

.btn-inverse:hover,
.btn-inverse:focus{
    background: #115E59;
    border-color: #0A4A45;
    color: #ffffff;
    box-shadow: none;
}

.btn-white:focus{
    background: #F2FAF8;
}

.label-info,
.badge-info{
    background: #0F766E;
}

.alert{
    border-radius: 12px;
}

.alert-info{
    background: #EDF7F5;
    border-color: #CBE4E0;
    color: #0F5A54;
}

.modal{
    border-radius: 12px;
}

.modal-footer{
    background: #F7FBFA;
}

.sidebar-box{
    border-left: 5px solid #C6DCD8;
    border-top: 1px solid #C6DCD8;
    border-right: 1px solid #C6DCD8;
    border-bottom: 1px solid #C6DCD8;
}

.sidebar-box .nav-list > .active > a,
.sidebar-box .nav-list > .active > a:hover,
.sidebar-box .nav-list > .active > a:focus{
    background: #EAF6F3 !important;
    color: #143C37 !important;
    box-shadow: inset 0 0 0 1px rgb(15 118 110 / 14%);
}

.sidebar-box .nav-list > .active > a [class^="icon-"],
.sidebar-box .nav-list > .active > a .icon-white{
    color: #0F766E !important;
}

input:focus,
textarea:focus,
select:focus{
    border-color: #0F766E;
    box-shadow: 0 0 0 3px rgb(15 118 110 / 14%);
    outline: none;
}

.ck.ck-editor,
.ck.ck-editor__main > .ck-editor__editable{
    --ck-color-focus-border: #79C9BF;
    --ck-color-button-default-hover-background: #EDF7F5;
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-editor__editable.ck-focused{
    border-color: #79C9BF;
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-source-editing-area:focus-within{
    border-color: #79C9BF;
}

.sidebar-box .nav-list > li > a:focus,
.sidebar-box .nav-list > li > a:hover{
    background: #EAF6F3 !important;
}

.dropdown-menu .active > a:hover{
    background: #EAF6F3;
}

body .sendy-ai-rainbow-text.sendy-ai-rainbow-text{
    animation: none !important;
    background-image: none !important;
    color: #0F766E !important;
    -webkit-text-fill-color: currentcolor !important;
    display: inline-block;
    font-weight: 600;
}

.gjs-pn-btn.gjs-pn-active{
    color: #0F766E !important;
}
