/* The Modal (background) */

.modal {
    display: none;
    /*Hidden by default */
    position: fixed;
    /*Stay in place */
    z-index: 10;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    animation-name: fadeIn;
    animation-duration: 0.4s;
}


/* Modal Content */

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
    animation-name: slideIn;
    animation-duration: 0.4s;
    border-radius: 16px;
}

.modal-content>.content {
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-content>.content>.box {
    text-align: center;
    padding: 30px;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    margin: 20px;
    width: 220px;
    box-sizing: border-box;
}

.modal-content>.content>.box>svg {
    width: 80px;
    height: 80px;
}

.modal-content>.content>.box>a {
    display: block;
    white-space: nowrap;
    color: #000000;
    font-weight: 500;
    font-size: 16px;
}

.modal-content>.content>.box:hover {
    border: 1px solid #1B45F1;
    cursor: pointer;
}

.modal-content>.content>.box:hover svg>path,
.modal-content>.content>.box:hover svg>rect {
    stroke: #1B45F1;
}

.modal-content>.content>.box:hover svg>circle {
    fill: #1B45F1;
}

.modal-content>.content>object .box:hover svg {
    fill: red;
}

.modal-content>.content>.box:hover a {
    color: #1B45F1;
}


/* The Close Button */

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.pr-button {
    padding: 15px 60px;
    background-color: #6F6B67;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
}

.bg-orange {
    background-color: #FF8E25;
}

#myBtn {
    pointer-events: none;
}


/* Add Animation */

@-webkit-keyframes slideIn {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.modal-header {
    font-weight: 500;
    text-align: center;
    font-size: 24px;
    line-height: 48px;
}

.color-basic {
    color: #1B45F1;
}

.align-self-center {
    align-self: center;
}

.text-white {
    color: #FFFFFF;
}

.package-info {
    justify-content: space-between;
    align-items: center;
}

.content-bank {
    margin-left: 20px
}

.cancel-subscription {
    margin-top: 20px;
}

.cancel-subscription>button {
    background-color: red !important;
}

.navbar {
    overflow: hidden;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 32px 14px 0;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown .dropbtn img {
    width: 50px;
    height: 50px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 4px 4px 0px #0000000D;
    border-radius: 8px;
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hr-class {
    margin: 0px 16px;
    border: 1px solid #E8E8E8;
}

.invalidated>label.error {
    position: absolute;
    display: flex;
    top: 90px;
    color: red;
    display: none !important;
}

.invalidated>input.error {
    border: 1px solid red;
}

.bg-blue {
    background-color: #1B45F1 !important;
}

.sniper-blue:before {
    background: #1B45F1 !important;
}

.sniper-blue:after {
    background: #1B45F1 !important;
}

.float-right {
    margin-left: auto;
}

.float-right-file {
    float: right;
}

.justify-content-center {
    justify-content: center !important;
}

.modal-payment {
    flex-direction: column !important;
}

.modal-payment>.title>h3 {
    font-weight: 600;
    font-size: 24px;
    line-height: 31px;
    color: #212121;
}

.modal-payment>.title {
    margin-bottom: 20px;
    margin-top: 30px;
}

.content-data {
    text-align: center;
    max-width: 500px;
    line-height: 28px;
}

#payment-success-link {
    color: #1B45F1;
    cursor: pointer;
    border-bottom: 2px solid #1B45F1;
    font-weight: 600;
}

.drop-zone--over {
    border: 2px solid #1B45F1 !important;
}

@media (max-width: 600px) {
    .modal-content>.content {
        justify-content: center;
    }
    .modal-content>.content>.box {
        margin: 10px;
    }
}

#card-errors {
    color: red;
}

.color-red {
    color: red;
}

.toast-message,
.toast-title {
    font-family: "IBM Plex Sans", sans-serif;
}

.accordion {
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion:after {
    content: '\02795';
    font-size: 13px;
    color: #39477E;
    float: right;
    margin-left: 5px;
}

.accordion-active:after {
    content: "\2796";
    color: #39477E;
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.spinner-uploadfile {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
}

.spinner-uploadfile .path, .spinner-uploadfile-text .path {
    stroke: #93bfec;
    stroke-linecap: round;
    -webkit-animation: dash 1.5s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite;
}

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

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

@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.animation-upload {
    z-index: 1;
    top: 0;
    bottom: 0;
    position: absolute;
    background: #000000;
    right: 0;
    left: 0;
    opacity: 0.3;
    border-radius: 20px;
}

.pagination {
    display: flex;
    margin-top: 10px;
}

.pagination li {
    padding: 10px 16px 10px 16px;
}

.pagination li.active {
    background-color: #1B45F1;
    color: white;
  }

  .pagination li:hover:not(.active) {background-color: #ddd;}

  .container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* Hide the browser's default checkbox */
  .container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: #eee;
  }

  /* On mouse-over, add a grey background color */
  .container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
  }

  /* When the checkbox is checked, add a blue background */
  .container-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the checkmark when checked */
  .container-checkbox input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the checkmark/indicator */
  .container-checkbox .checkmark:after {
    left: 8px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

.blur-text-shadow {
    color: transparent;
    text-shadow: 0 0 5px rgb(0 0 0 / 50%);
}

.error ~ .checkmark{
    border-radius: 5px;
    border: 1px solid red;
}

.valid ~ .checkmark {
    border: none;
}

.text-banking-none{
    font-size: 14px;
    opacity: 70%;
}

#loading-content-preview {
    position: relative;
    height: 300px;
}

#table-result .content.active td{
    border-bottom: 0px !important;
}

#table-result .show-recomment td{
    padding-top: 0px !important;
    font-style: italic;
    color: blue;
}

.input-control {
    /* display: block; */
    /* border: 1px solid #1B45F1; */
    padding: 9px 10px;
    /* border-radius: 4px; */
    /* font-weight: 500; */
    width: 100%;
    box-sizing: border-box;
}

.form-control {
    align-items: center;
}

.form-control span{
    width: 250px;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none;
    cursor: wait; /* Hiển thị con trỏ chuột đang chờ */
}

.upload-loading-message {
    position: absolute;
    top: 30%;
    width: 90%;
    left: 5%;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.upload-loading-message p {
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.processing-message {
    font-weight: 600;
    color: #1B45F1;
    width: 100%;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    word-break: normal;
    display: block;
    margin-top: 10px;
    margin-left: 0 !important;
    line-height: 1.5;
}

.progress-bar {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progression {
    background-color: #1B45F1;
    transition: width 0.5s ease;
    height: 100%;
    border-radius: 8px;
}

.progress-number {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

@media (max-width: 767px) {
    .upload-loading-message {
        width: 85%;
        left: 7.5%;
        top: 25%;
        padding: 10px;
    }
    
    .p-relative.d-flex {
        display: block !important;
    }
    
    .spinner-uploadfile-text {
        display: block;
        margin: 10px auto;
    }
    
    .progress-bar {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .upload-loading-message {
        width: 90%;
        left: 5%;
        top: 20%;
    }
    
    .upload-loading-message p {
        font-size: 14px !important;
    }
}
