/**
 *
 *      OClass Profile Page Styling
 *
 */

.ocw-profile-container {
  color: black;
}

.ocw-username {
  align-items: center;
  margin-bottom: 30px;
}

.ocw-username > div:first-child {
  width: 60px;
  height: 60px;
  background: var(--ocw-cta-bg-color);
  color: var(--ocw-cta-color);
  text-transform: uppercase;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.ocw-username > div:first-child img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ocw-username > div:last-child {
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
}

.ocw-profile-tab-titles ul {
  padding: 0;
  list-style-type: none;
  margin-bottom: 30px;
}

.ocw-profile-table-title {
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
  cursor: pointer;
}

.ocw-profile-table-title.active {
  background: #f2f2f2;
}

.profile-tags {
  padding: 0;
  list-style-type: none;
}

.profile-tags li {
  display: inline-block;
  border: 1px solid #333333;
  cursor: pointer;
  padding: 7px 25px;
  border-radius: 60px;
  font-size: 14px;
  margin-right: 8px;
}

.profile-tags li.active {
  background: var(--ocw-cta-bg-color);
  border: 1px solid var(--ocw-cta-bg-color);
  color: var(--ocw-cta-color);
}

.ocw-profile-tab-content-div {
  margin-bottom: 30px;
}

.ocw-profile-tab-content {
  display: none;
}

.ocw-profile-tab-content.active {
  display: block;
}

.ocw-schedules {
  margin: 20px 0;
}

.schedule-date {
  color: black;
  margin: 10px 0;
  font-weight: 500;
}

.ocw-schedule {
  display: block;
  box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  position: relative;
}

.ocw-schedule p {
  color: black !important;
  font-size: 15px;
}

.ocw-schedule > div {
  margin-bottom: 6px;
}

.ocw-schedule .actions {
  text-align: right;
  position: absolute;
  top: 15px;
  right: 15px;
}

.leave-waitlist,
.withdraw-now {
  padding: 5px 10px !important;
  cursor: pointer;
  background: var(--ocw-cta-bg-color) !important;
  color: var(--ocw-cta-color) !important;
  border-radius: 4px !important;
  border: none !important;
  font-size: 14px;
}

.waitlist-position {
  font-size: 13px;
  padding-top: 5px;
}

.ocw-plans {
  margin: 20px 0;
}

.ocw-plans .ocw-plan-row {
  display: flex;
  justify-content: space-between;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 15px;
  border-radius: 8px;
}

.ocw-plans .ocw-plan {
  width: 82%;
  padding: 12px 20px;
}

.ocw-plans .ocw-plan-navigator {
  cursor: pointer;
}

.ocw-plans .ocw-plan-extension-section {
  width: 18%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #d3d3d399;
  cursor: pointer;
}

.ocw-plan-extension-section .ocw-plan-extension-text {
  font-size: 15px;
  text-align: center;
}

.share-label,
.share-label-other{
  font-size: 12px;
  font-weight: 400;
  padding: 2px 5px;
  border-radius: 8px;
  color: white;
  display: inline-block;
}

.share-label{
  background: #868ebb;
}

.share-label-other{
  background: #0f8994;
}

.class-title {
  color: var(--ocw-pri-color);
  text-decoration: underline;
  margin-bottom: 10px;
}

.ocw-alert-backdrop .ocw-alert-content{
  max-width: 600px !important;
}

.extended-credits{
  font-size: 12px;
  font-style: italic;
}

.ocw-alert-backdrop .ocw-alert-content .confirm.disabled,
.ocw-alert-backdrop .ocw-alert-content .confirm:disabled{
  background-color: #c6c6c6 !important;
  color: #fff !important;
  user-select: none;
  cursor: default;
}

.popup-message {
  font-weight: 700;
  margin-bottom: 10px;
}

.popup-withdraw-message{
  margin-bottom: 10px;
}

.class-date {
  margin-bottom: 5px;
}

.withdraw-participants-list {
  background: #f7f7f7;
  padding: 10px;
  border-radius: 6px;
  margin-top: 15px;
}

.withdraw-participants-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.withdraw-participant{
  margin: 12px 0;
}

.withdraw-participant label{
  display: flex !important;
  align-items: center;
}

.withdraw-participant label img{
  margin-left: 10px;
  width: 20px;
}

.participant-checkbox {
  margin-right: 12px;
  width: 16px;
  height: 16px;
}

#dob[disabled] {
    background-color: #f7f7f7;
}

@media (max-width: 767px) {
  .ocw-plans .ocw-plan-row {
    display: block;
  }
  .ocw-plans .ocw-plan {
    width: 100%;
  }
  .ocw-plans .ocw-plan-extension-section {
    width: 100%;
    border-left: none;
    border-top: 1px solid #d3d3d399;
    justify-content: flex-start;
    padding: 8px 20px;
  }
  .ocw-plan-extension-section .ocw-plan-extension-text {
    font-size: 15px;
    text-align: left;
  }
  .ocw-plan-wrapper {
    padding-left: 20px;
  }
  .features-block li {
    margin-bottom: 6px;
  }
}

.ocw-plans .ocw-plan h4 {
  margin-bottom: 12px;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
}

.features-block {
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.features-block li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 8px;
}

.credit-type{
  text-transform: capitalize !important;
}

.my-plans-extend-plan-button {
  color: var(--ocw-pri-color) !important;
  cursor: pointer;
  padding-left: 4px;
}

.ocw-plans .features-block li:nth-child(1),
.ocw-plans .features-block li:nth-child(2){
  min-width: 140px;
}

.ocw-plans .features-block li:nth-child(3) {
  min-width: 170px;
}

.features-block li i {
  margin-right: 3px;
  font-size: 14px;
}

.ocw-profile-edit {
  margin-top: 20px;
}

.ocw-change-password-form {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 4px;
}

.ocw-change-password-form h4 {
  margin-bottom: 20px;
}

button.ocw-submit {
  font-size: 14px;
  width: 100% !important;
  display: block;
}

.profile-page-message {
  text-align: center;
}

.profile-page-message .oops-title {
  font-weight: 600;
  margin-bottom: 0;
}

.cancel-policy {
  margin-top: 10px;
}

/*

    Payment info section

*/

.payment-info-div {
  font-size: 14px;
}

.payment-info-details {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
}

.ocw-card-single {
  margin-bottom: 10px;
  max-width: 380px;
  padding: 14px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  color: #434655;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.ocw-card-single .card-details {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}

.ocw-card-single .card-details .card-details-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ocw-card-single .card-details .ocw-update-card-btn {
  background: var(--ocw-sec-cta-bg-color, #c4d0f5) !important;
  color: var(--ocw-sec-cta-color, #5069b1) !important;
  border-color: var(--ocw-sec-cta-color, #5069b1) !important;
  width: auto;
  padding: 4px 10px;
  text-align: center;
  font-size: var(--ocw-p6-size);
  border-radius: 6px;
}
.ocw-add-card-btn {
  margin-top: 10px;
  display: inline-block !important;
  border-radius: 4px;
  padding: 8px 15px;
  border: none;
  background: var(--ocw-cta-bg-color) !important;
  color: var(--ocw-cta-color) !important;
  cursor: pointer;
}

.ocw-card-icon {
  background-size: 90% !important;
  height: 60px;
  width: 60px;
}

.visa {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/visa.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.mastercard {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/mastercard.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.unknown,
.unionpay {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/creditcard.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.jcb {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/jcb.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.amex {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/amex-card.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.diners {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/diners.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.discover {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/discover.svg)
    center no-repeat;
  background-size: 35px;
  background-color: #fff;
}

.paynow {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/paynow.svg)
    center no-repeat;
  background-size: 35px;
  width: 59px;
  height: 30px;
}

.duitnow {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/duitnow.svg)
    center no-repeat;
  background-size: 35px;
  width: 59px;
  height: 32px;
}

.google-pay {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/google-pay-mark.svg)
    center no-repeat;
  background-size: 75px;
  width: 80px;
  height: 32px;
}

.card-pending {
  background: url(https://clients-oclass-uat.oas.asia/assets/icon/pending-card.svg)
    center no-repeat;
  background-size: 30px;
  width: 40px;
  height: 35px;
}

.ocw-add-card-popup-content {
  text-align: left !important;
  min-width: 500px;
}

.ocw-delete-card-form {
  max-width: 400px;
  text-align: left;
}

.ocw-delete-card-form p {
  margin-bottom: 20px;
}

.ocw-cancel-btn {
  background: var(--ocw-sec-cta-bg-color, black) !important;
  color: var(--ocw-sec-cta-color, white) !important;
  font-size: 14px !important;
  padding: 10px 30px;
  border-radius: 5px;
  text-decoration: none !important;
  cursor: pointer;
}

.ocw-save-card-btn,
.ocw-delete-card-btn {
  background: var(--ocw-cta-bg-color) !important;
  color: var(--ocw-cta-color) !important;
  font-size: 14px !important;
  padding: 10px 30px;
  border-radius: 5px;
  text-decoration: none !important;
  cursor: pointer;
}

.ocw-save-card-btn .ocw-loader div {
  background: var(--ocw-cta-color) !important;
}

.ocw-add-card-popup-content .error {
  color: #fa896b !important;
  font-size: 12px;
  margin-top: 5px;
}

@media (max-width: 767px) {
  .ocw-profile-tabs,
  .ocw-profile-edit,
  .payment-info-div {
    display: block;
  }

  .ocw-profile-tabs > div,
  .ocw-profile-edit > div {
    width: 100%;
  }

  .ocw-profile-table-title {
    display: inline-block;
    padding: 8px 10px;
  }

  .ocw-profile-edit > div {
    margin-bottom: 30px;
  }

  .ocw-schedule .actions {
    position: relative;
    right: 0;
    top: 0;
    text-align: left;
    margin-top: 10px;
  }

  .ocw-add-card-popup-content {
    min-width: 95%;
  }
}

/* Contact Information Section  */

.ocw-contact-information {
  padding-top: 16px;
}

.ocw-contact-information .ocw-contact-btn {
  width: auto !important;
}

.ocw-contact-information .ocw-contact-btn i {
  font-size: 11px;
  padding-left: 4px;
}

.contact-info {
  padding-bottom: 14px;
}

.contact-info .contact-info-header {
  display: flex;
  justify-content: space-between;
}

.contact-info .contact-info-header .contact-edit-options {
  flex: 1 1 0;
  white-space: nowrap;
  text-align: right;
  padding-right: 20px;
}

.contact-info .contact-info-header .contact-edit-options i {
  cursor: pointer;
  font-size: 14px;
}

.contact-info .contact-info-header .contact-edit-options i:nth-child(2) {
  color: #ff0000;
  padding-left: 4px;
}

.contact-info .contact-info-header .contact-info-title {
  color: rgb(115, 115, 115);
  padding-bottom: 3px;
  text-transform: lowercase;
}

.contact-info .contact-info-header .contact-info-title::first-letter {
  text-transform: capitalize;
}

.contact-info-popup .iti {
  width: 100%;
}

.contact-info-popup label{
  margin-bottom: 10px;
  color: #7a7a7a;
  display: block;
  font-size: 14px;
  line-height: 20px;
}

.contact-info-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.contact-info-save {
  border-radius: 4px !important;
  background: var(--ocw-cta-bg-color) !important;
  color: var(--ocw-cta-color) !important;
  border: none !important;
  font-size: 14px;
}

.contact-info-save:disabled {
  opacity: 0.6;
}

.contact-info-cancel {
  background: #f4f4f4;
  color: black !important;
  border-radius: 4px !important;
  border: none !important;
  font-size: 14px;
}

@media (max-width: 767px) {
  .ocw-contact-information .ocw-row {
    flex-direction: column;
  }

  .ocw-contact-information .ocw-col:not(&:first-of-type) {
    margin-top: 30px;
  }
}