:root {
--primary: hsl(235deg 78% 57%);
--white: #ffffff;
--green: #59a659;
--black: #373737;
--red: #ff5151;
--blue: #2271b1;
--gray-shade:#dfdfdf;
}

.gosmtp-setting-content {
display: flex;
margin-top: 14px;
width: 100%;
}

.gosmtp-tab-panel {
background: var(--white);
border: 1px solid #DEDBD1;
padding: 0 20px;
margin-top: -3px;
}

.tabs-wrapper{
width: 100%;
margin: 0px 26px 0 0;
}

.nav-tab-wrapper.gosmtp-wrapper {
padding: 0 !important;
}

.nav-tab-wrapper.gosmtp-wrapper a:first-child {
margin: 0;
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
border-bottom: none;
background: var(--white);
color: #000;
}

.nav-tab-wrapper.gosmtp-wrapper {
border-bottom: none !important;
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
border-bottom: none;
background: var(--white);
color: #000;
border-color: #DEDBD1;
}

.gosmtp-setting-content .nav-tab {
cursor: pointer;
}

/* promotion */
.gosmtp-promotion-content {
padding: 5px 12px 20px 12px;
background-color: #FFF;
border: 1px solid #DEDBD1;
border-radius: 5px;
}

.gosmtp-relative{
position: relative;
}

/* Responsive */
.gosmtp-row {
box-sizing: border-box;
display: flex;
flex: 1 0 auto;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
align-content: stretch;
position: relative;
}

.gosmtp-full-width{
width: 100%;
}

.gosmtp-auto-width{
width: auto;
}

.gosmtp-col-1{
width: 8.33333%;
}

.gosmtp-offset-1{
margin-left: 8.33333%;
}

.gosmtp-col-2{
width: 16.66667%;
}

.gosmtp-offset-2{
margin-left: 16.66667%;
}

.gosmtp-col-3{
width: 25%;
}

.gosmtp-offset-3{
margin-left: 25%;
}

.gosmtp-col-4{
width: 33.33333%;
}

.gosmtp-offset-4{
margin-left: 33.33333%;
}

.gosmtp-col-5{
width: 41.66667%;
}

.gosmtp-offset-5{
margin-left: 41.66667%;
}

.gosmtp-col-6{
width: 50%;
}

.gosmtp-offset-6{
margin-left: 50%;
}

.gosmtp-col-7{
width: 58.33333%;
}

.gosmtp-offset-7{
margin-left: 58.33333%;
}

.gosmtp-col-8{
width: 66.66667%;
}

.gosmtp-offset-8{
margin-left: 66.66667%;
}

.gosmtp-col-9{
width: 75%;
}

.gosmtp-offset-9{
margin-left: 75%;
}

.gosmtp-col-10{
width: 83.33333%;
}

.gosmtp-offset-10{
margin-left: 83.33333%;
}

.gosmtp-col-11{
width: 91.66667%;
}

.gosmtp-offset-11{
margin-left: 91.66667%;
}

.gosmtp-col-12{
width: 100%;
}

.gosmtp-offset-12{
margin-left: 100%;
}

.gosmtp-borderless{
border:none !important;
}

.gosmtp-text-right{
text-align: right;
}

.gosmtp-flex{
display:flex;
}

.gosmtp-margin-auto{
margin:auto !important;
}

@media (max-width: 768px){
.gosmtp-row .gosmtp-col {
margin-left: 0;
width: 100%;
}
}

/* accordion */
.gosmtp-accordion {
margin: 12px 18px 18px 18px;
}

.gosmtp-accordion-item {
margin: 16px 0;
border-radius: 4px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
border: 1px solid #dedede;
cursor: pointer;
}

.gosmtp-accordion-header {
padding: 11px;
position: relative;
background: #fbfbfb;
}

.gosmtp-accordion-header i {
position: absolute;
right: 10px;
font-size: 16px;
height: auto;
margin: 2px 0;
transform: rotate(-95deg);
transition: 0.5s all;
}

.gosmtp-accordion-open .gosmtp-accordion-header i{
transform: rotate(0deg);
}

.gosmtp-accordion-content {
padding: 10px 0;
display: none;
border-top: 1px solid var(--gray-shade);
}

/* Mailer styles */
.gosmtp-mailer-input{
display: inline-flex;
align-items:center;
margin-right: 20px;
margin-bottom: 20px;
width: 140px;
flex-direction: column;
position: relative;
z-index: 1;
cursor:pointer;
}

.mail_overlay{
position: absolute;
background: white;
top:0px;
width: 100%;
height: 100%;
opacity: 0.4;
transition:all 0.5s;
}

.overlay_opacticy_hover{
opacity:0 !important;
}

.overlay_opacticy_active{
opacity:0 !important;
}

.gosmtp-mailer-input .label{
display: none;
background: #555;
color:white;
padding: 5px 20px;
text-align: center;
margin-bottom: 10px;
position: absolute;
border-radius: 6px;
top:-40px;
}

.gosmtp-mailer-input .label::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}

.mailer_container{
display: flex;
max-width: 100%;
flex-wrap: wrap;
}

.mailer_label{
width: 100%;
height: 70px;
border:1px solid #cecece;
display:flex;
align-items:center;
justify-content:center;
}

.gosmtp-mailer-input img{
background:white;
padding:18px;
box-sizing: border-box;
max-width:140px;
max-height:100%;
}

.gosmtp-mailer-input:hover label{
display: block;
}

.gosmtp-mailer-input:not(.pro):hover .mailer_label,
.gosmtp-mailer-input:not(.pro) .mail_active{
outline: 2px solid #4f53ff !important;
}

.mailer_check{
visibility: hidden;
position: absolute;
}

h1.smtp_heading{
font-size: 24px;
font-weight:600;
}

td:has(> h1.smtp_heading){
padding:0px !important;
}

input[type='radio'] + label{
margin-right:10px;
}

/* Alertyfy-js */
.ajs-message {
background: #135e96;
color: #fff !important;
border-radius: 6px !important;
}

/* Logs Search Bar */
.gosmtp-search-wrap{
display: flex;
padding: 0px 10px 10px 10px;
width: 100%;
background: white;
border-radius: 6px;
box-sizing: border-box;
margin-bottom: 25px;
justify-content: space-between;
align-items: end;
box-shadow: 0px 0px 2px 1px var(--gray-shade) !important;
}

.gosmtp-search-wrap div h3 {
font-size: 1.1em;
}

.gosmtp-search-wrap div, .gosmtp-search-trigger{
flex-grow: 1;
margin: 4px 10px 14px 10px;
}

.gosmtp-search-wrap div input, .gosmtp-filter-container select{
width: 100%;
padding: 5px 15px;
background-color: #fff;
border: 1px solid #d4d4d4;
}

.gosmtp-search-list-icon{
display:flex;
background:white;
border:1px solid #d4d4d4;
align-items:center;
padding-left:10px ;
margin:0px !important;
box-shadow: 0 0 0 transparent;
border-radius: 4px;
}

.gosmtp-search-list-icon input,.gosmtp-search-list-icon input:focus{
border:none !important;
box-shadow: none;
}

.gosmtp-search-container input{
width:100%;
}

.gosmtp-search-container{
flex-grow: 2;
}

.gosmtp-search-trigger {
background: var(--blue);
color: var(--white);
align-self: end;
padding: 9px;
flex-grow: 1;
font-size: 17px;
border: none;
border-radius: 6px;
cursor: pointer;
}

/* Test Mail */
#send_mail i{
margin-top: 4px;
}

#gosmtp-testmail-btn{
position: fixed;
display: flex;
bottom: 18px;
right: 18px;
border-radius: 20px;
width: 120px;
height: 40px;
font-size: 14px;
font-weight: bold;
padding: 0 16px;
cursor:pointer;
}

#gosmtp-testmail-btn i,#gosmtp-testmail-btn span {
display: flex;
margin: auto;
}

#gosmtp-testmail-btn i {
margin: auto 4px auto auto;
}

#smtp-test-mail input, #smtp-test-mail textarea {
border-color: var(--gray-shade);
}

/* Log Table */
#gosmtp-logs-table {
border-radius: 6px 6px 0 0;
padding: 0;
}

.gosmtp-log-table {
box-shadow: 0px 0px 2px 1px var(--gray-shade) !important;
background: var(--white);
border-radius: 0;
padding: 6px 6px 0 0;
border: none !important;
overflow: hidden;
}

.gosmtp-log-table table {
border: none;
}

.gosmtp-log-table th, .gosmtp-log-table td{
background: none;
padding: 15px 10px;
font-size: 14px;
}

.gosmtp-log-table th{
background: var(--white);
color: var(--black);
font-weight: 600;
border-bottom: 1px solid var(--gray-shade);
}

.first-th{
border-radius:6px 0px 0px 0px !important;
}

.last-th {
border-radius: 0px 6px 0px 0px !important;
width: 106px;
}

.subject-th {
width: 32%;
}

.gosmtp-log-table td{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--black);
}

.gosmtp-log-table tr td:nth-child(2){
color: var(--blue);
}

.gosmtp-mail-details{
cursor: pointer;
}

.gosmtp-table-header, .gosmtp-table-footer {
width: 100%;
background: var(--white);
border-radius: 0 0 6px 6px;
display: grid;
grid-template-columns: 180px auto;
}

#gosmtp-table-options {
width: 100%;
border-radius: 4px;
border-color: var(--wc-subtext);
font-size: 12px;
}
.gosmtp-empty-row {
padding: 20px;
text-align: center;
font-weight: 600;
}

.gosmtp-mail-status {
display: flex;
align-items: center;
height: 24px !important;
margin-right: 2px;
}

.gosmtp-mail-status span:first-child{
padding-right: 4px;
}

.gosmtp-mail-status.sent,.gosmtp-status-icon .sent{
color: var(--green);
}

.gosmtp-mail-status.failed,.gosmtp-status-icon .failed{
color: var(--red);
}

.alternate, .striped > tbody > :nth-child(2n+1), ul.striped > :nth-child(2n+1){
background-color: #f1f1f1 !important;
}

.gosmtp-retry, .gosmtp-resend,
.gosmtp-pupup-retry,
.gosmtp-pupup-resend {
border: 1px solid #a5d7ff;
color: var(--blue);
border-radius: 6px;
background: var(--white);
font-size: 12px;
display: flex;
align-content: center;
padding: 3px 9px 3px 2px;
width: 70px;
cursor: pointer;
background: #e9f9ff;
margin: auto;
}

.gosmtp-pupup-resend {
width: auto;
}
	
.gosmtp-retry i,.gosmtp-pupup-retry i {
font-size: 18px;
height: auto;
}

.gosmtp-resend i,.gosmtp-pupup-resend i {
height: auto;
font-size: 13px;
margin: 3px 0px 2px 0;
}

.gosmtp-resend-process i, #send_mail i{
animation: rotate 1s infinite;
}

.gosmtp-log-options {
display: none;
margin: 0 8px;
padding: 10px 4px;
transition-duration: 0.2s;
}

@keyframes rotate{
100%{transform: rotate(360deg)}
}

.gosmtp-mail-delete {
border: 1px solid #ffc7c7;
border-radius: 6px;
background: #fff7f7;
color: #ff5151;
padding: 2px;
}

.gosmtp-mail-delete i{
font-size: 18px;
height: auto;
padding: 2px 0;
}

.gosmtp-mail-actions{
display: flex;
}

.gosmtp-mail-actions button{
margin-right: 6px;
cursor: pointer;
}

/* gosmtp dialog */
.gosmtp-dialog{
position: fixed;
width: 100%;
height: 100%;
background: #494949bf;
top: 0;
display: flex;
overflow-x: auto;
left: 0;
display:none;
}

.gosmtp-dialog-wrap{
margin: 70px auto 94px auto;
width: 50%;
background: var(--white);
border: 1px solid var(--gray-shade);
box-shadow: 0px 0px 20px -4px var(--black);
border-radius: 6px;
height: min-content;
}

.gosmtp-dialog-container{
width: 100%;
}

.gosmtp-dialog-header{
border-bottom: 1px solid var(--gray-shade);
width: 100%;
}

.gosmtp-dialog-title{
font-size: 14px;
font-weight: 600;
display: flex;
}

.gosmtp-dialog-title span{
margin: auto 0;
}

.gosmtp-status-icon i{
margin: auto 10px auto auto;
height: auto;
font-size: 26px;
}

.gosmtp-dialog-header-content{
padding: 16px;
position: relative;
}

.gosmtp-dialog-title{
font-size: 14px;
font-weight: 600;
}

.gosmtp-dialog-close{
position: absolute;
right: 12px;
top: 18px;
cursor: pointer;
background: none;
border: none;
}

.gosmtp-dialog-content{
padding: 12px 18px;
}

.gosmtp-dialog-content .gosmtp-col{
padding: 8px 0;
font-size: 14px;
overflow-wrap: anywhere;
border-bottom: 1px solid var(--gray-shade);
}

.gosmtp-dialog-content .gosmtp-col-6{
width: 48%;
}

.gosmtp-dialog-content .gosmtp-col-6:nth-child(2) {
margin-left: 2%;
}

.gosmtp-dialog-actions {
display: inline-block;
}

.gosmtp-log-details label{
font-weight: 600;
margin-right: 9px;
color: var(--black);
width: 100%;
display: inline-block;
margin: 4px 0;
}

.gosmtp-message-body{
padding-top: 0 !important;
min-height: 40px;
border-radius: 4px;
padding: 12px 0 !important;
}

.gosmtp-log-headers pre, .gosmtp-log-attachments pre ,.gosmtp-log-response pre{
border-radius: 6px;
padding: 4px 16px;
line-height: 1.8;
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
text-align: justify;
}

.gosmtp-message-status{
display: flex;
}

.gosmtp-message-status span,.gosmtp-message-status i{
margin: auto 0;
}

.gosmtp-message-status button{
width: auto;
margin: 0;
padding: 5px 10px 6px 2px;
}

@media (max-width: 768px){
.gosmtp-dialog-wrap {
width:80%;
}
}

/* Pagination */
.gosmtp-pagination {
text-align: right;
padding: 4px 0;
}

.gosmtp-pagination-wrap {
display: inline-block;
}

.gosmtp-pagination-links {
display: inline;
}

.gosmtp-pagination-links a,.gosmtp-pagination-links span{
padding: 6px 12px;
border-radius: 6px;
margin: 0 4px;
font-size: 14px;
color: var(--black);
text-decoration: none;
}

.gosmtp-pagination-links .current {
background: var(--blue);
color: var(--white);
border-color: var(--blue);
}

/* Copy url */

.tabs-wrapper .dashicons-admin-page{
padding: 8px 10px;
background: #f0f0f1;
color: var(--black);
border-radius: 0px 5px 5px 0px;
border: 1px solid #8c8f94;
}

.tabs-wrapper .gosmtp_copy{
padding: 4px 8px !important;
border-radius: 5px 0px 0px 5px !important;
margin-right: -4px !important;
border-right: none !important;
}

.gosmtp_copy_message{
display:none;
width:40%;
color:green;
background:white;
box-shadow:0px 5px 15px -10px black;
border-left:4px solid green;
padding:8px 10px;
margin-top:10px !important;
}

/* Loader Start*/
.gosmtp-loader {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #FFFFFF40;
align-items: center;
justify-content: center;
z-index: 9999;
backdrop-filter: blur(2px);
}

.gosmtp-loader-circle {
border: 0.5rem solid #f3f3f3;
border-radius: 50%;
border-top: 0.5rem solid var(--blue);
width: 3.5rem;
height: 3.5rem;
-webkit-animation: spin 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
animation: spin 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
}

/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.gosmtp-mailer-input.pro .mailer_label::before{
width: 70px;
height: 15px;
content: 'Premium';
font-size: 10px;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
box-shadow: 0px 2px 3px rgb(136 136 136 / 25%);
background: #2271b1;
position: absolute;
right: -2px;
top: -2px;
z-index: 5;
}

.gosmtp-mailer-input.pro .lock_icon{
display: none; 
}

.gosmtp-mailer-input.pro .lock_icon span{
font-size: 25px;
}

.gosmtp-mailer-input.pro .mailer_label:hover .lock_icon{
display: flex;
justify-content: center;
align-items: center;
background: #2271b1;
position: absolute;
width:100%;
height:100%;
background: #00000057;
z-index: 1;
top:0;
color:white;
border-radius: 6px;
}
