/* External Sendy UX overlay injected by nginx. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
    --bf-font: "Manrope", "Questrial", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --bf-bg: #fbf7ff;
    --bf-bg-soft: #f5efff;
    /* --bf-panel: #ffffff; */
    /* --bf-panel-soft: #fcf8ff; */
    --bf-ink: #142033;
    --bf-muted: #66758c;
    --bf-border: #E1EAFD;
    --bf-border-strong: #E1EAFD;
    --bf-accent: #334bea;
    --bf-accent: #000000;
    --bf-accent-strong: #212dce;
    --bf-accent-strong: oklch(0.37 0.05 18.22);
    --bf-accent-soft: #f5f6ff;
    --bf-accent-soft: oklch(97.7% .014 308.299);
    --bf-nav: #ffffff;
    --bf-nav-soft: #ffffff;
    --bf-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --bf-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
}

html{
    background: linear-gradient(180deg, #f6f0ff 0%, #fcf8ff 100%);
}

body{
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgb(124 194 255 / 5%), transparent 24%), linear-gradient(180deg, #f8fdff 0%, #fdfdfd 100%);
    color: var(--bf-ink);
    font-family: var(--bf-font);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.separator{
    display: none;
}

body,
button,
input,
select,
textarea{
    font-family: var(--bf-font);
}

a{
    color: oklch(0.42 0 0);
    transition: color 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

a:hover{
    color: var(--bf-accent-strong);
    text-decoration: none;
}

p{
    line-height: 25px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.lead{
    color: var(--bf-ink);
    font-family: var(--bf-font);
}

h2{
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

blockquote{
    padding: 20px;
    background: #FAFBFD;
    border-radius: 10px;
    border-left: 5px solid #E1EBFD;
    border-top:  1px solid #E1EBFD;
    border-right: 1px solid #E1EBFD;
    border-bottom: 1px solid #E1EBFD;
    /* border: solid 1px #E1EBFD; */
}
.tooltip{
    font-size: 10px;
}

.lead,
.lead a{
    margin: 8px 0 10px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
    color: var(--bf-ink);
}

.top-brand-pencil{
    color: var(--bf-accent);
}

.navbar-fixed-top{
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
}

.navbar-fixed-top .navbar-inner{
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid var(--bf-border);
    box-shadow: none;
}

.navbar .brand{
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 6px 0 0;
    padding-left: 0px;
    color: oklch(0 0 0);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-shadow: none;
}

.navbar .brand:hover{
    color: var(--bf-accent);
}

#forgot-form input{
    width: 192px;
}

.navbar .btn-group{
    margin-top: 10px;
}

.navbar .btn-group > .btn{
    min-height: auto;
    padding: 6px 8px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
}

.navbar .btn-group > .btn:hover,
.navbar .btn-group > .btn:focus{
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--bf-accent-strong);
    transform: none;
}

.navbar .btn-group > .btn .icon-user{
    display: inline-block;
    margin-right: 3px;
}

.tooltip-inner{
    font-size: 12px;
    padding: 8px 10px;
}

.ares-test-form{
    position: relative;
    top: 20px;
}

#preview-form{
    margin: 15px 0 0 10px;
}

.container-fluid{
    padding-left: 24px;
    padding-right: 24px;
}

.container-fluid > .row-fluid{
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.container-fluid > .row-fluid > .span2,
.container-fluid > .row-fluid > .span10,
.container-fluid > .row-fluid > .sendy-report-card{
    min-height: 1px;
}

.container-fluid > .row-fluid > .span2{
    flex: 0 0 220px;
    width: 220px;
    position: sticky;
    top: 88px;
}

.container-fluid > .row-fluid > .span10,
.container-fluid > .row-fluid > .sendy-report-card{
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    background: white;
    /* border: 1px solid var(--bf-border); */
    border-radius: 24px;
    padding: 24px 28px 22px;
    box-shadow: var(--bf-shadow);
}

.container-fluid > .row-fluid > .span10 > .row-fluid:first-child{
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.container-fluid > .row-fluid > .span10 > .row-fluid:first-child > [class*="span"]{
    float: none;
    width: auto;
    margin-left: 0;
}

.container-fluid > .row-fluid > .span10 > .row-fluid:first-child br{
    display: none;
}

.container-fluid > .row-fluid > .span10 > .row-fluid:first-child .lead,
.container-fluid > .row-fluid > .span10 > .row-fluid:first-child .lead a{
    margin: 0 0 4px;
}

.container-fluid > .row-fluid > .span10 > .row-fluid:first-child h2{
    margin: 0;
    font-size: 21px;
}

.container-fluid > .row-fluid > .span10 > .row-fluid:first-child .well + .alert{
    margin-bottom: 20px;
}

.sidebar-box{
    padding: 14px 0;
    border-radius: 10px;
}

.sidebar-box .nav{
    margin-bottom: 4px;
}

.sidebar-box .nav-header{
    margin: 14px 18px 10px;
    padding: 0;
    color: var(--bf-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: none;
}

.sidebar-box .nav-list > li > a{
    margin: 2px 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #233146;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-shadow: none;
}

.sidebar-box .nav-list > li > a:hover,
.sidebar-box .nav-list > li > a:focus{
    background: linear-gradient(180deg, #f5f8ff 0%, #f5f8ff 100%) !important;
    color: #233146 !important;
    text-shadow: none !important;
    box-shadow: inset 0 0 0 1px rgb(51 120 234 / 10%);
}

.sidebar-box .nav-list [class^="icon-"]{
    margin-right: 10px;
    color: #8b9ab0;
}

.sidebar-box .nav-list > .active > a,
.sidebar-box .nav-list > .active > a:hover,
.sidebar-box .nav-list > .active > a:focus{
    background: linear-gradient(180deg, #f5f8ff 0%, #f5f8ff 100%) !important;
    color: #233146 !important;
    text-shadow: none !important;
    box-shadow: inset 0 0 0 1px rgb(51 120 234 / 10%);
}

.sidebar-box .nav-list > .active > a [class^="icon-"],
.sidebar-box .nav-list > .active > a .icon-white{
    color: var(--bf-accent) !important;
}

.sidebar-box .nav-list > .active > a .caret{
    border-top-color: #233146;
    border-bottom-color: #233146;
    opacity: 1;
    filter: alpha(opacity=100);
}

#sidebar-new-campaign-dropdown.active > a .caret,
#sidebar-new-campaign-dropdown.active > a:hover .caret,
#sidebar-new-campaign-dropdown.active > a:focus .caret,
#sidebar-new-template-dropdown.active > a .caret,
#sidebar-new-template-dropdown.active > a:hover .caret,
#sidebar-new-template-dropdown.active > a:focus .caret{
    border-top: 4px solid #233146 !important;
    border-right: 4px solid transparent !important;
    border-left: 4px solid transparent !important;
    opacity: 1 !important;
    filter: alpha(opacity=100);
}

#sidebar-new-campaign-dropdown > a,
#sidebar-new-template-dropdown > a,
.new-campaign-toggle{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

#sidebar-new-campaign-dropdown > a,
#sidebar-new-template-dropdown > a{
    display: flex;
}

#sidebar-new-campaign-dropdown > a [class^="icon-"],
#sidebar-new-template-dropdown > a [class^="icon-"],
.new-campaign-toggle [class^="icon-"]{
    flex: 0 0 auto;
    margin-right: 0;
}

#sidebar-new-campaign-dropdown > a .new-campaign-label,
#sidebar-new-template-dropdown > a .new-template-label,
.new-campaign-toggle .new-campaign-label{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sidebar-new-campaign-dropdown > a .caret,
#sidebar-new-template-dropdown > a .caret,
.new-campaign-toggle .caret{
    flex: 0 0 auto;
    margin-top: 0;
}

.btn, 
#campaign-save-only-btn, 
#autoresponder-save-only-btn{
    padding: 12px 14px;
    border: 1px solid var(--bf-border);
    border-radius: 20px;
    background: oklch(1 0 0);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    text-shadow: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus,
#campaign-save-only-btn:hover,
#autoresponder-save-only-btn:hover,
#campaign-save-only-btn:focus,
#autoresponder-save-only-btn:focus{
    border-color: var(--bf-border-strong);
    background: #F6F8FF;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    color: var(--bf-ink);
    transform: translateY(-1px);
}

.btn-primary{
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
    border-color: #E1EAFD;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus{
    background: linear-gradient(180deg, #9333ea 0%, #7e22ce 100%);
    border-color: #7e22ce;
    color: #ffffff;
}

.btn-inverse{
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
    border-color: #9333ea;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(147, 51, 234, 0.18);
}

.btn-inverse:hover,
.btn-inverse:focus{
    background: linear-gradient(180deg, #9333ea 0%, #7e22ce 100%);
    border-color: #7e22ce;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(126, 34, 206, 0.22);
}

.btn-white{
    background: #ffffff;
    border-color: var(--bf-border);
    color: #1e293b;
}

.btn-white:hover,
.btn-white:focus{
    background: #fcf8ff;
    border-color: var(--bf-border-strong);
    color: var(--bf-ink);
}

.btn-group > .btn:first-child,
.btn-group > .btn + .dropdown-toggle{/* border-radius: 20px; */}

.btn-group[data-toggle="buttons-radio"] > .btn.active,
.btn-group[data-toggle="buttons-radio"] > .btn.active:hover,
.btn-group[data-toggle="buttons-radio"] > .btn.active:focus,
.btn-group[data-toggle="buttons-radio"] > .btn:active,
.btn-group.tracking > .btn.active,
.btn-group.tracking > .btn.active:hover,
.btn-group.tracking > .btn.active:focus,
.btn-group.tracking > .btn:active{
    background: #ffffff;
    border-color: var(--bf-border);
    color: #1e293b;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.12);
    text-shadow: none;
    transform: none;
    z-index: 2;
}

.btn-group[data-toggle="buttons-radio"] > .btn.active [class^="icon-"],
.btn-group[data-toggle="buttons-radio"] > .btn:active [class^="icon-"],
.btn-group.tracking > .btn.active [class^="icon-"],
.btn-group.tracking > .btn:active [class^="icon-"]{
    color: currentColor;
}

.btn .caret{
    margin-top: 8px;
}

.dropdown-menu{
    margin-top: 10px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--bf-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.dropdown-menu .divider{
    margin: 8px 0;
    border-bottom-color: #e2ebff;
    background-color: #f9fbff;
}

.dropdown-menu .dropdown-header{
    padding: 8px 12px 6px;
    color: var(--bf-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dropdown-menu a{
    padding: 10px 12px;
    border-radius: 10px;
    color: #223149;
    font-weight: 600;
    font-size: 13px;
}

.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover{
    background: linear-gradient(180deg, #f5f8ff 0%, #f5f8ff 100%) !important;
    color: #233146 !important;
    text-shadow: none !important;
    box-shadow: inset 0 0 0 1px rgb(51 120 234 / 10%);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
textarea,
select,
.uneditable-input{
    min-height: 42px;
    border: 1px solid var(--bf-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    color: var(--bf-ink);
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    padding: 2px 12px;
}

textarea{
    min-height: 120px;
    padding: 10px 10px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus{
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
    border-radius: 14px;
}

input[type="file"]{
    display: block;
    width: 100%;
    height: 34px;
    max-width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--bf-muted);
    font-size: 12px;
    line-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

input[type="file"]::file-selector-button{
    margin-right: 8px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--bf-border);
    border-radius: 11px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
    color: var(--bf-ink);
    font-family: var(--bf-font);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

input[type="file"]::-webkit-file-upload-button{
    margin-right: 8px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--bf-border);
    border-radius: 11px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
    color: var(--bf-ink);
    font-family: var(--bf-font);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

input[type="file"]:hover::file-selector-button,
input[type="file"]:focus::file-selector-button,
input[type="file"]:hover::-webkit-file-upload-button,
input[type="file"]:focus::-webkit-file-upload-button{
    border-color: var(--bf-border-strong);
    background: #F6F8FF;
    color: var(--bf-accent-strong);
}

select,
input[type="file"]{
    height: 48px;
}

.thirtytwo{
    margin-top: 6px;
}

#attachments{
    max-width: 100%;
}

#attachments::file-selector-button,
#attachments::-webkit-file-upload-button{
    min-width: 94px;
}

label,
.control-label{
    color: #304155;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

legend{
    margin-bottom: 16px;
    border-bottom: 1px solid var(--bf-border);
    color: var(--bf-ink);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.help-block,
.muted{
    color: var(--bf-muted);
}

.form-search{
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-search .search-query{
    width: 240px !important;
    height: 42px;
    padding-left: 14px;
    padding-right: 14px;
    margin-bottom: 0;
}

.campaigns-rss-btn{
    width: auto !important;
    height: auto !important;
    padding: 11px 13px !important;
    margin-right: 12px !important;
}

#email_list{
    height: 250px;
    width: 85%;
}

.input-prepend.input-append .add-on:first-child, .input-prepend.input-append .btn:first-child,
.input-prepend.input-append .add-on:last-child, .input-prepend.input-append .btn:last-child {
    padding: 14px 10px;
}

.dashed-box{
    margin-top: 20px;
}

.well,
.grand_total,
#attachments li,
#rdp-email,
.rounded-dashed-box{
    margin-top: 0;
    background: #FAFBFD;
    /* background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%); */
    border: 1px solid var(--bf-border);
    /* border-radius: 10px; */
    box-shadow: 0px 10px 30px -26px rgba(0,0,0,0.75);
    padding: 20px;
    border-radius: 14px;
}
#rdp-email {
    border-radius: 0px;
    padding: 10px 20px;
}

#datepicker{
    width: 200px;
}

.input-prepend.date{
    display: inline-flex;
    align-items: center;
}

.input-prepend.date .datepicker-label{
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.input-prepend.date > .add-on,
.input-prepend.date .datepicker-label > .add-on{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: -1px;
    white-space: nowrap;
}

.input-prepend.date input{
    margin-bottom: 0;
}

.well:hover{
    box-shadow: 0px 10px 30px -22px rgba(0,0,0,0.75);
}

.sendy-report-card.span6 .sendy-link-activity-table{
    table-layout: fixed;
    width: 100%;
}

.sendy-report-card.span6 .sendy-link-activity-table th,
.sendy-report-card.span6 .sendy-link-activity-table td{
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sendy-report-card.span6 .sendy-link-activity-table td:first-child a{
    display: inline-block;
    max-width: 100%;
}

.sendy-report-card{
    position: relative;
    transition: width 220ms ease, margin-left 220ms ease, box-shadow 220ms ease;
}

.sendy-report-card.sendy-report-card-split{
    animation: sendy-report-card-split 220ms ease;
}

.sendy-report-card.sendy-report-card-wide{
    animation: sendy-report-card-wide 220ms ease;
}

.report-metrics-row{
    margin-top: 8px;
}

.report-metrics-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.report-metric-card{
    position: relative;
    flex: 1 1 140px;
    min-width: 140px;
    min-height: 112px;
    box-sizing: border-box;
    padding: 18px 20px 16px;
    background: #ffffff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(32, 45, 73, 0.08);
}

.report-metric-pill{
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.report-metric-label,
.report-metric-detail{
    display: block;
}

.report-metric-label{
    margin-top: 12px;
    color: #11122f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.18;
}

.report-metric-detail{
    margin-top: 8px;
    color: #4f5872;
    font-size: 13px;
    line-height: 1.25;
}

.report-metric-opened{
    background: #14b84a;
}

.report-metric-clicked{
    background: #651fff;
}

.report-metric-ctor{
    background: #008f9c;
}

.report-metric-unsubscribed{
    background: #ff1212;
}

.report-metric-not-opened{
    background: #ffb000;
}

.report-metric-bounced,
.report-metric-spam{
    background: #111218;
}

.report-metric-disabled{
    background: #7c8496;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
}

.report-metric-actions{
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: flex;
    gap: 8px;
}

.report-metric-actions .notopened-export-btns{
    float: none;
    margin: 0;
    color: #4f5872;
}

@keyframes sendy-report-card-split{
    from{
        transform: translateX(10px);
    }
    to{
        transform: translateX(0);
    }
}

@keyframes sendy-report-card-wide{
    from{
        transform: translateX(-10px);
    }
    to{
        transform: translateX(0);
    }
}

#sendy-report-analysis-panel{
    flex: 0 0 31.914893614%;
    width: 31.914893614%;
    min-width: 300px;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 200ms ease, transform 200ms ease;
}

#sendy-report-analysis-panel.sendy-report-analysis-panel-open{
    opacity: 1;
    transform: translateX(0);
}

.sendy-report-analysis-actions{
    position: absolute;
    top: 82px;
    right: 28px;
    width: 360px;
    text-align: right;
    z-index: 2;
}

.sendy-report-heading-content{
    padding-right: 390px;
    min-height: 145px;
}

.sendy-report-score{
    width: 188px;
    margin-top: 18px;
    margin-left: auto;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.sendy-report-score-row{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.sendy-report-score-label{
    color: #6b7280;
    font-size: 12px;
    line-height: 1.2;
}

.sendy-report-score strong{
    color: #111827;
    font-size: 40px;
    line-height: 1;
}

.sendy-report-score small{
    margin-left: 2px;
    color: #6b7280;
    font-size: 12px;
    font-weight: normal;
}

.sendy-report-score-bar{
    height: 7px;
    margin-top: 8px;
    overflow: hidden;
    background: #eef0f4;
    border-radius: 999px;
}

.sendy-report-score-bar span{
    display: block;
    height: 100%;
    background: #9E43EF;
    border-radius: 999px;
    transition: width 220ms ease;
}

@media (max-width: 979px){
    .sendy-report-analysis-actions{
        position: static;
        width: auto;
        margin: 12px 0 18px;
    }

    .sendy-report-heading-content{
        padding-right: 0;
        min-height: 0;
    }

    #sendy-report-analysis-panel{
        width: 100%;
        min-width: 0;
    }
}

#sendy-report-analysis-content > strong,
#sendy-report-analysis-content > p > strong:only-child,
#sendy-report-analysis-content h3 strong,
#sendy-report-analysis-content h4 strong{
    color: #9E43EF;
}

.sendy-editor-toolbar{
    margin-bottom: 0;
}

.sendy-editor-toolbar .btn-group,
.sendy-content-improvements-shell{
    margin-bottom: 0;
}

.sendy-content-improvements-shell .btn{
    float: left;
    margin: -1px 0 0 4px;
}

.sendy-content-improvements-panel{
    clear: both;
    margin: 70px 0 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--bf-border);
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(30, 41, 59, 0.08);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.sendy-content-improvements-panel.sendy-content-improvements-panel-open{
    opacity: 1;
    transform: translateY(0);
}

.sendy-content-improvements-content > strong,
.sendy-content-improvements-content > p > strong:only-child,
.sendy-content-improvements-content h3 strong,
.sendy-content-improvements-content h4 strong{
    color: #9E43EF;
}

#forgot-form{
    height: 215px;
}

#marketing-permission, #what-to-expect {
    width: 340px;
}

code,
pre{
    color: var(--bf-accent-strong);
    background-color: #F6F8FF;
    border: 1px solid var(--bf-border);
    border-radius: 14px;
    font-size: 13px;
}

.label{
    padding: 4px 10px 5px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: none;
}

.badge{
    border-radius: 20px;
}

.label-info, .badge-info{
    background: linear-gradient(180deg, #a855f7 0%, #9333ea 100%);
}

.alert{
    border: 1px solid #EFEABF;
    border-radius: 16px;
    box-shadow: none;
    color: #304155;
}

.alert-info{
    background: #faf5ff;
    border-color: #e9d5ff;
    color: #7e22ce;
}

.alert-success{
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #15803d;
}

.alert-danger,
.alert-error{
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.alert-warning{
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

table.table{
    margin-top: 26px;
    background: #ffffff;
    /* border: 1px solid var(--bf-border); */
    border-radius: 20px;
    box-shadow: var(--bf-shadow-soft);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.table th,
.table td{
    padding: 14px 14px;
    border-top: 1px solid var(--bf-border);
    vertical-align: middle;
    font-size: 14px;
}

.table thead th{
    background: #fafbfd;
    border-top: none;
    color: var(--bf-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th{
    background: #fafbfd;
}

.table-bordered{
    border: 1px solid #E0E9FD;;
}
.table-bordered th, .table-bordered td {
    border-left: 1px solid #E0E9FD;
}

.table tbody tr:hover td{
    background: #f0f2f5;
}

.pagination{
    margin-top: 18px;
}

.pagination ul{
    background: #ffffff;
    border: 1px solid var(--bf-border);
    border-radius: 16px;
    box-shadow: var(--bf-shadow-soft);
}

.pagination ul > li > a,
.pagination ul > li > span{
    border-left-color: var(--bf-border);
    color: #314155;
    font-weight: 700;
}

.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span{
    border-left: 0;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span{
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.pagination ul > .active > a,
.pagination ul > .active > span,
.pagination ul > .active > a:hover,
.pagination ul > .active > span:hover{
    background: var(--bf-accent-soft);
    color: var(--bf-accent-strong);
}

.footer-left{
    float: none;
    margin: 0;
}

.footer-right{
    float: none;
    margin: 0 0 0 auto;
}

hr{
    border-top: 1px solid var(--bf-border);
}

footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--bf-muted);
}

footer a{
    color: #42526b;
}

#footer-mode{
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 0;
    vertical-align: middle;
}

#footer-mode a{
    width: auto;
    height: auto;
    font-size: 13px;
}

#footer-mode .btn{
    width: 44px;
    min-width: 44px;
    min-height: 34px;
    height: 34px;
    padding: 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#footer-mode .btn:first-child{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

#footer-mode .btn:last-child{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#footer-mode i{
    float: none;
    margin: 0;
    line-height: 1;
}

.modal{
    border: 1px solid var(--bf-border);
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
}

.modal-header,
.modal-footer{
    background: #fcf8ff;
    border-color: var(--bf-border);
}

.modal-header h3{
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.close{
    opacity: 0.55;
}

.close:hover{
    opacity: 0.8;
}

#wrapper{
    border-radius: 22px;
}

#brands-table{
    margin-top: 15px;
}

#brands-table th,
#brands-table td{
    padding: 12px 10px;
}

#brands-table td p{
    margin: 0;
}

#brands-table td:nth-child(2) a{
    display: inline-flex;
    align-items: center;
    gap: 0;
    float: none !important;
}

#brands-table td:nth-child(2) a img{
    display: none;
}

#brands-table td:nth-child(3){
    text-align: left;
}

#brands-table td:nth-child(4) p{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#brands-table td:nth-child(4) a.btn{
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 20px;
}

#brands-table td:nth-child(4) a.btn:nth-child(-n+4){
    width: 36px;
    padding: 0;
}

#brands-table td:nth-child(4) a.btn .icon{
    line-height: 1;
}

#brands-table td:nth-child(4) .pie_open_rate{
    float: none;
    width: 16px;
}

#brands-table td:nth-child(4) .open_rate_no{
    float: none;
    margin-left: 0;
}

.brand-smtp-icons{
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.brand-smtp-icons img{
    margin: 0;
}

#brands-table td:nth-child(3) .brand-smtp-icons[title*="Amazon"]::after{
    content: "AWS";
    color: var(--bf-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

textarea#html + .ck.ck-editor{
    display: block;
    width: 100%;
    margin-right: auto;
    --ck-border-radius: 18px;
    --ck-color-base-border: var(--bf-border);
    --ck-color-toolbar-border: var(--bf-border);
    --ck-color-focus-border: #d9c8ff;
    --ck-color-button-default-hover-background: #faf5ff;
    --ck-color-button-default-active-background: #f4ecff;
    --ck-color-button-on-background: #f3e8ff;
    --ck-color-button-on-hover-background: #eadcff;
    --ck-color-button-on-active-background: #eadcff;
    --ck-color-button-on-color: var(--bf-accent-strong);
}

textarea#html + .ck.ck-editor.ck-rounded-corners .ck.ck-toolbar,
textarea#html + .ck.ck-editor .ck.ck-toolbar.ck-rounded-corners{
    padding: 8px 10px;
    border-color: var(--bf-border);
    border-bottom: 0;
    border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
    background: #fefefe;
}

textarea#html + .ck.ck-editor .ck-editor__top{
    border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
    overflow: hidden;
}

textarea#html + .ck.ck-editor .ck-toolbar .ck-button{
    min-width: 30px;
    min-height: 30px;
}

textarea#html + .ck.ck-editor .ck-toolbar .ck-button.ck-on{
    color: var(--bf-accent-strong);
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-editor__editable{
    min-height: 570px;
    padding: 28px 32px;
    margin-bottom: 20px;
    border: 1px solid var(--bf-border);
    border-radius: 0 0 20px 20px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgb(61 39 96 / 10%);
    font-size: 15px;
    line-height: 1.72;
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-editor__editable.ck-focused{
    border-color: #d9c8ff;
    box-shadow: 0 0 0 4px rgb(168 85 247 / 10%), 0 18px 34px rgb(61 39 96 / 10%);
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-source-editing-area{
    margin-bottom: 20px;
    border: 1px solid var(--bf-border);
    border-top: 0;
    border-radius: 0 0 20px 20px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgb(61 39 96 / 10%);
    overflow: hidden;
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-source-editing-area textarea{
    min-height: 570px;
    padding: 28px 32px;
    border: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: none;
}

textarea#html + .ck.ck-editor .ck-editor__main > .ck-source-editing-area:focus-within{
    border-color: #d9c8ff;
    box-shadow: 0 0 0 4px rgb(168 85 247 / 10%), 0 18px 34px rgb(61 39 96 / 10%);
}

@media (max-width: 979px){
    .container-fluid{
        padding-left: 16px;
        padding-right: 16px;
    }

    .container-fluid > .row-fluid{
        display: block;
    }

    .container-fluid > .row-fluid > .span2,
    .container-fluid > .row-fluid > .span10{
        position: static;
        min-width: 0;
        width: 100%;
        margin-left: 0;
    }

    .container-fluid > .row-fluid > .span10{
        margin-top: 18px;
        padding: 22px 20px 18px;
    }

    .form-search{
        display: block;
    }

    .form-search .search-query{
        width: 100% !important;
        margin-bottom: 10px;
    }
}
