.rotator_id {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    cursor: pointer;
}
#passwordId-error,#confirmPasswordId-error{
    text-transform: lowercase ;
}
#passwordId-error:first-letter , #confirmPasswordId-error:first-letter{
    text-transform: uppercase ;
}
@media screen and (max-width: 1280px) {
    .rotator_id {
        width: 80px;
    }
}

/* Change password page: */
#user-change-password .password-label,
#user-change-password .confirmPassword-label {
    min-width: 130px;
}

#user-change-password #passwordId-error,
#confirmPasswordId-error {
    color: red;
    margin-left: 10px;
}

#user-change-password input {
    outline: none;
}

#user-change-password input.error,
#user-change-password .error:focus {
    border: 1px solid red !important;
}

.note.col-md-12 {
    padding-left: 0;
}

/* TABLE SCROLL */
#campaign-landing-table_wrapper,
#aff-data-table_wrapper,
#lps_table_wrapper,
#aff-partners-campaigns-data-table_wrapper {
    overflow: hidden;
}
#campaign-landing-table_wrapper .col-sm-12,
#aff-data-table_wrapper .col-sm-12,
#lps_table_wrapper .col-sm-12,
#aff-partners-campaigns-data-table_wrapper .col-sm-12,
#affiliateNotificationReport_wrapper .col-md-12 {
    overflow-x: auto;
}
#campaign-landing-table_wrapper {
    overflow-x: auto;
}
#affiliateNotificationReport_wrapper .bottom,
#affiliateNotificationReport_v2_wrapper .bottom ,
#affiliateTransactionReport_wrapper .bottom,#invalidNoti_wrapper .bottom,
#msisdnNotificationReport_v2_wrapper .bottom,
#rotateReport_wrapper .bottom  {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
#affiliateTransactionReport_length,
#affiliateNotificationReport_v2_length,
#affiliateNotificationReport_length {
    margin: 0 10px;
}


/* POP UP */
#modal-content {
    border: 1px solid #333 !important;
}

#modal-dialog-popup {
    border: 10px solid #333 !important;
    text-align: center;
    font-size: 21px;
    padding: 30px !important;
    background-color: white;
}

div#modal-popup{
    border: none !important;
}
.countdown {
    color: red;
    font-weight: bold;
}

.btn_confirm {
    border: 1px solid black !important;
    color: black;
    width: 90px;
    height: 40px;
    font-weight: bold !important;
}

#modal-dialog-popup {
    margin: 200px auto !important;

}

#modal-body {
    font-size: 20px !important;
}

.space {
    height: 10px;
}

div#affiliateNotificationReport_length,div#affiliateNotificationReport_info,div#affiliateNotificationReport_paginate,div#affiliateReport_info,div#affiliateReport_length,div#affiliateReport_paginate,div#affiliateTransactionReport_info,div#affiliateTransactionReport_length,div#affiliateTransactionReport_paginate{
    display: inline;
}
div#affiliateNotificationReport_paginate,div#affiliateReport_paginate,div#affiliateTransactionReport_paginate{
    float: right;
}
div#affiliateNotificationReport_filter {
    text-align: right;
    margin-left: 23%;
}
div#affiliateReport_filter,div#affiliateReport_paginate {
    padding-right: 131px;
}
table td div ,table td  {
    max-width: 200px;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    overflow: hidden;
}
table td div {
    max-width: 600px !important;
}
table { 
    margin: 0 auto;
}
table#affiliateReport{
    float: left;
}
.dataTables_scroll,table#affiliateNotificationReport,table#affiliateTransactionReport {
    margin-bottom: 12px !important;
}
.sweet-alert p{
    word-break: break-all;
}
.copyURL{
    cursor: pointer;
}
div#myModal {
    z-index: 111111111111111111111111111111111111111111111 !important;
}

/* affiliate notification */
div[data-behavior="aff-notification-copy"] {
    cursor: pointer;
}

/* Campaign table */
.display--none {
    display: none;
}
div[data-behavior="campaign-row-data-copy"] {
    cursor: pointer;
}
#aff-partners-campaigns-data-table_info,
#aff-partners-campaigns-data-table_length,
#aff-partners-campaigns-data-table_paginate {
    padding-top: 10px;
}

.disableDiv{
    pointer-events: none;
    opacity: 0.5;
}

/* lp manager */
div#lps_table_info,div#lps_table_length,div#lps_table_paginate{
    width: 33.3333%;
}
div#lps_table_length{
    text-align: center;
}
.bottom.col-sm-12{
    display: flex;
    padding-left: 0;
    padding-right: 0;
}
.top.col-sm-12{
    padding-left: 0;
    padding-right: 0;
}
table#lps_table{
    margin-bottom: 10px !important;
}
/* editaffiliate */
.viewCampaign{
    margin-right: 10px;
}
/* div#countries_form {
    border-right: 1px solid #c1bfbf73 ;

} */
.checkbox.clip-check.check-primary.checkbox-inline.col-md-12{
    display: flex;
}
.input-group.country::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    margin-left: 22%;
}
.input-group.country::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    margin-left: 75%;
}
.input-group.country.col-md-12 {
    /* margin: 0 auto; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 11px;
    padding-left: 100px;
    width: 98%;
}
.col-md-3.class-countryColumn{
    text-align: center;
    padding-left: 0 !important;
    padding-right: 80px;
}
.col-md-3.class-payoutColumn{
    padding-left: 26px;
}
div#countries_form::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: #c1bfbf;
    margin-left: 50%;
}
/* Layout */
.lyt-6 ul.sub-menu li a {
    text-align: center;
}
ul.sub-menu li ul.sub-menu li a {
    padding-left: 10px !important;
    text-align: left;
}

/* landing pages table */
#lps_table_wrapper .bottom {
    display: flex;
}
#aff-data-table_wrapper .bottom,
#msisdn-data-table_wrapper .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* style blacklist ui */
.createMsisdnButton{
    border-color: #007bff !important;
}

.reason_column{
    overflow: auto;
    text-overflow: inherit;
}

/* style config cost  */
#createAffiliate .input_cost{
    margin-bottom: 10px;
}

/* viewcampaignpage */
div#aff-partners-campaigns-data-table_length {
    padding-left: 80px;
}
/* edit affiliate */
/* div#countries_affiliate {
    position: relative;
    top: -131px;
} */
/* .col-md-7.handleEdit.handleEdit-affiliate {
    position: relative;
    top: -80px;
    margin-bottom: -35px;
} */
/* div#countries_affiliate{
    height: 113px;
} */
/* list affiliate */
#aff-data-table_filter input[type="search"] {
    display: none;       
}
#aff-data-table_filter {
    height: 40px;
}
#affiliateTransactionReport {
    table-layout: fixed;
    width: 100% !important;
}
#affiliateTransactionReport th input {
    max-width: 100%;
}
/* lps from lp system */
#campaign-landing-table_wrapper > .bottom{
    display: flex;
    justify-content: space-between;
}
div#params_form {
    height: 211px !important;
}
/* for page invalid*/
div#row-header-invalidNotification {
    padding-bottom: 40px;
}

table#invalidNoti td div {
    max-width: 1000px !important;
}
div#body-invalid{
    padding-left: 25px;
    padding-right: 25px;
}
.SpinnerBox {
    position: absolute;
    margin: auto;
    top:0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    z-index: 111111111;
    display: none;
  }
  
  .LoadingIcon {
    display: flex;
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    animation-name: spin;
    animation-duration: 2s;
    transition-timing-function: linear;
    animation-iteration-count: infinite;
    animation: spin 2s linear infinite;
  }
  
  .LoadingIcon div {
    margin: auto;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  #invalidNoti_wrapper > div.dt-buttons {
    float: left;
    position: absolute;
    left: 80%;
    top:90px;
    background-color: #58748B;
    border-color: #58748B;
    background-image: -webkit-linear-gradient(top, #58748B 0%, #58748B 100%);
    color: #ffffff;
  }
  #invalidNoti_wrapper > div.dt-buttons > button.dt-button{
    background-color: #58748B;
    border-color: #58748B;
    background-image: -webkit-linear-gradient(top, #58748B 0%, #58748B 100%);
    color: #ffffff;
    padding: 0.1em 2em;
    font-size: 14px;
    font-weight: 400;
    padding-top: 2px;
  }
  .lyt-6 #sidebar > div nav > ul > li .item-inner{
      padding: 20px 2px 20px 14px !important;
      text-align: left !important;
  }

  /* Reportv2 */

  #affiliateNotificationReport_v2_wrapper input[type="search"] {
    display: none;
}

#affiliateNotificationReport_v2_filter label:nth-child(2){
    display: none;
}

#affiliateTransactionReport_wrapper input[type="search"] {
    display: none;
}

#affiliateTransactionReport_filter label:nth-child(2){
    display: none;
}
#rotate-report-currentTime{
    font-weight: bold; 
    color: #3498db; 
    font-size: 18px;
    padding: 5px 10px;
    background-color: #f2f2f2;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
}
.pull-left {
    display: flex;
}
  /* //raw report */
  div#col-md-2 {
      width: 220px;
  }
  div#col-md-4{
      width: 440px;
  }

  @media screen and (max-width: 900px) {
    div#col-md-2 {
        width: 100%;
    }
    div#col-md-4{
        width: 100%;
    }
}


/* for dropdown checkboxed */
.dropdown {
    position: relative;
    font-size: 14px;
    color: #333;
}

.dropdown-list {
    padding: 12px;
    background: #fff;
    position: absolute;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .15);
    transform-origin: 50% 0;
    transform: scale(1, 0);
    transition: transform .15s ease-in-out .15s;
    max-height: 500vh;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.custom-dropdown-list {
    padding: 12px;
    background: #fff;
    position: absolute;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .15);
    transform-origin: 50% 0;
    transform: scale(1, 0);
    transition: transform .15s ease-in-out .15s;
    max-height: 500px;
    max-width: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-wrap: unset;
}

.dropdown-option {
    display: block;
    padding: 8px 12px;
    opacity: 0;
    transition: opacity .15s ease-in-out;
    display: flex;
    font-size: 14px;
}

.dropdown-label {
    display: block;
    height: 30px;
    background: #fff;
    border: 1px solid #ccc;
    line-height: 1;
    cursor: pointer;
    font-size: 13px;
    padding-top: 7px;
    padding-left: 4px;
    color: #5b5b60 !important;
    font-family: inherit !important;
    font-weight: bolder;
}

.dropdown-label::before {
    content: '▼';
    float: right;
}

.dropdown.on .dropdown-list {
    transform: scale(1, 1);
    transition-delay: 0s;
}

.dropdown.on .dropdown-list .dropdown-option {
    opacity: 1;
    transition-delay: .2s;
}

.dropdown.on .dropdown-label::before {
    content: '▲';
}

.dropdown [type="checkbox"] {
    position: relative;
    top: -1px;
    margin-right: 4px;
}

.dropdown-search {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-search:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.dropdown-option:hover {
    color: black;
    background-color: #58748B;
}
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.group-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.group-tag {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
}
div#affiliateNotificationReport_v2_wrapper .dataTables_scrollHead {
    z-index: 4;
    top: -6px;
}
.dataTables_scrollBody{
    top: -6px;
}
.col-md-12,.pull-left > div#affiliateNotificationReport_v2_filter , div.dt-buttons{
    z-index: 5;
}
.sweet-alert p pre{
    text-align: initial;
}
.sweet-alert fieldset{
    display: none;
}
/* style of tooltip */
.aff-tooltip {
    position: relative;
    display: inline-block;
  }
  
  .aff-tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 2;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .aff-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .aff-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  /* affiliate */

#params_form .table tbody {
    max-height: 150px; /* You can adjust the height as needed */
    overflow-y: auto;
    display: block;
}
#params_form .table thead, 
#params_form .table tbody tr {
    display: table;
    width: 100%;
}
@media (max-width: 1024px) {
    label.dropdown-label{
        overflow-wrap: anywhere;
        font-size: 11px;
    }
}
