html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}
footer {
    margin-top: auto;
}
.reseller-panel {
    border: 1px solid #d7dfec;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.reseller-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.reseller-panel__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1b1d4d;
    margin-bottom: 0.25rem;
}

.reseller-panel__description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}
.reseller-panel__body {
    padding: 1.5rem;
}
.reseller-form__label {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}
.reseller-form .form-control {
    min-height: 42px;
    border-radius: 6px;
}
.reseller-form__submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background-color: #fff;
    color: #1b1d4d;
    font-weight: 600;
    transition: all 0.2s ease;
}

.reseller-form__submit-btn:hover, .reseller-form__copy-btn:hover {
    background-color: #f8f9fa !important;
    border-color: #adb5bd !important;
    border-width: 1px !important;
    border-style: solid !important;
    color: #1b1d4d;
    box-shadow: none !important;
}

.reseller-form__copy-btn {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border: var(--bs-border-width) solid var(--bs-border-color);
}
.data-table tr td, .data-table tr th, .data-table tr, table.dataTable td.dt-type-date {
    text-align: center;
}   
.date-field-container{
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}
.date-field-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: 1rem;
}
body:has(.login-page) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.page-title  {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    background: #f7f7f7;
}
.page-title-name {
    display: inline-block;
    width: 60%;
}
.page-title-name h1{
    color: #1E2022;
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 0px;
    margin-top: 8px;
}
.page-section-ptb {
    padding: 80px 0;
}
.logo-container ul.menu-logo {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
.logo-container #logo_img {
    height: 40px;
    display: flex;
    margin: 30px;
}
.user-account-page__panel {
    border: 1px solid #d7dfec;
    border-radius: 6px;
    background: #fff;
    padding: 1.05rem 1.1rem;
}
.user-account-page__security-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: .95rem 1rem;
    background: linear-gradient(180deg, #fff 0%, #fcfcfe 100%);
}
.user-account-page__form {
    display: grid;
    gap: 1rem;
}
.text-pink {
    color:#FF3B89;
}
.text-blue {
    color:#1C1A3D;
}
.reseller-register-box {
    width: 100%;
    max-width: 720px;
    margin: 20px auto;
    padding: 0 12px;
}

.reseller-register-box .card {
    border-radius: 6px;
}

.card-body {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
border-radius: 6px;
}
.card-body .dataTables_wrapper {
  width: 100%;
}
.card-body .dataTables_wrapper .row {
  display: flex;
  align-items: center;
  margin-top: .5rem;
  margin-bottom: .5rem;
  row-gap: .5rem;
}
.card-body .dataTables_wrapper .row:last-child {
  margin-top: .85rem;
  margin-bottom: .6rem;
}
.card-body .dataTables_wrapper .dataTables_length,
.card-body .dataTables_wrapper .dataTables_filter,
.card-body .dataTables_wrapper .dataTables_info,
.card-body .dataTables_wrapper .dataTables_paginate {
  text-align: left !important;
  float: none !important;
  margin-bottom: 0;
}
.card-body .dataTables_wrapper .dataTables_paginate .pagination {
  justify-content: flex-start !important;
  margin-bottom: 0;
}
.card-body .dataTables_wrapper .row > [class*="col-"] {
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
}
.card-body .dataTables_wrapper .row:last-child > [class*="col-"]:first-child {
  width: 62% !important;
  max-width: 62% !important;
  flex: 0 0 62% !important;
}
.card-body .dataTables_wrapper .row:last-child > [class*="col-"]:last-child {
  width: 38% !important;
  max-width: 38% !important;
  flex: 0 0 38% !important;
}
.card-body .dataTables_wrapper .row:first-child,
.card-body .dataTables_wrapper .row:last-child {
  justify-content: space-between;
}
.card-body .dataTables_wrapper .row:first-child .dataTables_length label,
.card-body .dataTables_wrapper .row:first-child .dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}
.card-body .dataTables_wrapper .row:first-child .dataTables_filter input {
  margin-left: .4rem !important;
  margin-right: 0 !important;
}
.card-body .dataTables_wrapper .row:last-child .dataTables_info {
  padding-top: 0 !important;
  white-space: nowrap;
  line-height: 1.2;
}
.card-body .dataTables_wrapper .row:last-child .dataTables_paginate {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
}
table.mainTable {
  min-width: 600px;
}
.login-box {
    width: 100%;
}
.login-card-body {
    padding: 2rem;
}
select.form-control {
    height: 44px !important;
    min-height: 44px !important;
}
.passwordRules, .password-error-msg{
  display: table;
  font-size: .7rem;
  background: transparent;
  line-height: 1.75;
}
.change-password-rules.passwordRules {
  margin: 10px 0 0 0;
  padding: 10px 0 0 0;
}
.fa-solid.fa-xmark {
  font-family: 'FontAwesome';
  font-size: .7rem;
  color: #BE1212;
  font-weight: 400;
}
.fa-solid.fa-check {
  font-family: 'FontAwesome';
  font-size: .7rem;
  color: #47BC4B;
}
.badge {
    text-align: left !important;
    font-size: .8rem !important;
    font-weight: 400 !important;
    margin: .5rem 0;
    color: #1E2022;
}
.badge.red_danger {
    color: #BE1212 !important;
}
@media (max-width: 767px) {
    .reseller-register-box {
        max-width: 100%;
        padding: 50px 10px;
    }

    .reseller-register-box .row > div[class*="col-6"] {
        width: 100%;
    }

    .reseller-register-box .login-card-body {
        padding: 18px;
    }

    .reseller-register-box .input-group-text {
        min-width: 42px;
        justify-content: center;
    }

    .reseller-register-box textarea {
        min-height: 100px;
    }

    .reseller-register-box .btn {
        height: 44px;
    }

    .menu-logo img {
        max-width: 180px;
        height: auto;
    }
    
    .reseller-panel__body .d-flex {
        flex-wrap: wrap !important;
        gap: .75rem !important;
    }
    .reseller-panel__body .input-group {
        max-width: 100% !important;
        width: 100% !important;
    }
    .reseller-panel__body .reseller-form__submit-btn {
        width: 100%;
        justify-content: center;
    }

    .date-field-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .card-body .dataTables_wrapper .row {
        flex-wrap: wrap !important;
        row-gap: .45rem;
    }
    .card-body .dataTables_wrapper .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .card-body .dataTables_wrapper .row:last-child {
        display: block !important;
        margin-top: .75rem !important;
        margin-bottom: .65rem !important;
    }
    .card-body .dataTables_wrapper .row:last-child > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .card-body .dataTables_wrapper .dataTables_info,
    .card-body .dataTables_wrapper .dataTables_paginate {
        display: block !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }
    .card-body .dataTables_wrapper .dataTables_paginate {
        margin-top: .7rem !important;
    }
    .card-body .dataTables_wrapper .dataTables_paginate .pagination {
        justify-content: flex-start !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }
    div.dt-container div.dt-length, div.dt-container div.dt-search, div.dt-container div.dt-info, div.dt-container div.dt-paging, div.dt-container div.dt-paging ul.pagination {
        text-align: left;
        justify-content: left !important;
    }
    .user-account-page__security-card {
        flex-direction: column;
        align-items: flex-start;
    }
    body:has(.login-page), .login-box, .register-box {
        min-height: unset;
    }
    .login-box:not(.reseller-register-box) {
        padding: 50px 0;
    }
    .logo-container #logo_img {
        height: unset;
        margin: 5px 0;
    }
}    
