:root { 
    --theme-gold: #BC9F57;  
    --theme-gold-dark: #a78944; 
}

.purchase-auth-wrapper {
    /* font-family: 'Roboto', sans-serif; */
    padding-top: 2rem;
    color: #7c7474;
    /* background: #f8f9fb; */
}

.purchase-auth-wrapper  .form-control{
    color: #7c7474 !important;
}

.btn-gold-heading{
    color: #BC9F57 !important;
    font-weight: bold !important;
}
.btn-gold {
    background-color: var(--theme-gold);
    color: #fff;
    border: none;
}
.btn-gold:hover {
    background-color: #a98c4b;
    color: #fff;
}

.timeline-step.shadow-sm { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.timeline-step:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }


.timeline-steps-container {
    display: flex;
    justify-content: space-between; 
    gap: 1rem;
    flex-wrap: nowrap;
}

.ms-fieldset .next , .ms-fieldset .previous{
    border-radius: 50px !important;
    padding: 10px 20px;
    font-size: 1em;
}

.timeline-step {
    flex: 1;
    max-width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 15px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Step circle */
.step-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem auto;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .timeline-steps-container {
        flex-wrap: wrap;
        padding-left: 20px;
        padding-right: 20px;
    }
    .timeline-step {
        max-width: 0%;
        border: 0;
        box-shadow: none;
        background: transparent;
     
    }

    .timeline-step:hover {
        max-width: 0%;
        border: 0;
        box-shadow: none;
        background: transparent;
    }
    .timeline-step.active , .timeline-step.finished{
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .timeline-step h6{
        font-size: 0.8em !important;
        /* display: none; */
        margin-left: -1.2em !important;
        text-align: center;
        margin: 0 auto;
    }

    .step-circle{
        width: 50px;
        height: 50px;
        margin-left: -20px;
        font-size: 1em;
    }

    .progress{
        margin-top: 1px !important;
    }

}

/* Active and finished states remain the same */
.timeline-step.active { border-color: var(--theme-gold); background: #fff9f0; }
.timeline-step.finished { border: 2px solid var(--theme-gold); background: #fffbea; }
.timeline-step.active .step-circle,
.timeline-step.finished .step-circle { background: var(--theme-gold); color: #fff; }
.timeline-step.active .step-circle { background: var(--theme-gold); color: #fff; }
.timeline-step.active h6 { color: var(--theme-gold); }

/* Completed Step */
.timeline-step.finished {
    border: 2px solid var(--theme-gold);
    background: #fffbea;
    box-shadow: 0 6px 15px rgba(188, 159, 87, 0.3);
}
.timeline-step.finished .step-circle {
    background: var(--theme-gold);
    color: #fff;
    font-weight: 700;
    border: 2px solid #fff;
}
.timeline-step.finished h6 { color: var(--theme-gold); }

/* Step Titles & Descriptions */
.timeline-step h6 { font-size: 1rem; transition: color 0.3s; }
.timeline-step p { font-size: 0.8rem; color: #6c757d; margin-bottom: 0; }

/* Progress Bar */

.progress {
    width: 100%; /* Ensure full width */
    border-radius: 4px; /* Optional: rounded corners */
    overflow: hidden; /* Keep inner bar inside */
}

.progress-bar {
    width: 0%; /* Start at 0, JS will update */
    transition: width 0.3s ease;
    background-color: var(--theme-gold); /* Gold color */
}

.progress-bar.bg-gold { 
    background-color: var(--theme-gold); 
    transition: width 0.3s ease; 
}

/* Optional: smooth card hover on form */
.form-card { 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    background: #fff; 
    padding: 2rem; 
    transition: box-shadow 0.3s ease; 
}
.form-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}
/* Invalid feedback */
.is-invalid { border-color: #dc3545 !important; }
.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;

    margin-bottom: 10px;
}

.form-control {
    border-radius: 14px !important;
    padding: 16px 18px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    background-color: #fff;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
    background-color: #fff;
}

form#msform input:hover,
form#msform  input:focus,
form#msform  input:active {
    border: 1px solid #BC9F57 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #BC9F57;
}

/* ICONS */

#stp_personal:before {
    font-family: FontAwesome;
    content: "\f007";
    font-size: 1.5em;
}
#stp_item:before {
    font-family: FontAwesome;
    content: "\f290";
    font-size: 1.5em;
    
}

#stp_payment:before {
    font-family: FontAwesome;
    content: "\f09d";
    font-size: 1.5em;
}

#stp_images:before {
    font-family: FontAwesome;
    content: "\f03e";
    font-size: 1.5em;
}

#stp_complete:before {
    font-family: FontAwesome;
    content: "\f00c";
    font-size: 1.5em;
}


#authphotos .filepond--item , #authphotos_reupload .filepond--item {
    width: calc(50% - 0.5em) !important;
}

@media (min-width: 30em) {
    #authphotos .filepond--item , #authphotos_reupload .filepond--item {
        width: calc(50% - 0.5em) !important;
    }
}

@media (min-width: 50em) {
    #authphotos .filepond--item , #authphotos_reupload .filepond--item {
        width: calc(33.33% - 0.5em) !important;
    }
}


.filepond--panel-root {
    background-color: transparent; 
    border: 2px dashed #c4c5c7;  
    border-radius: px;            
    box-shadow: none;             
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}


.timeline-step.locked {
    cursor: not-allowed;
}

/* CERTIFICATE PHOTO */

#crop-btn, #crop-btn_reupload {
    transition: background 0.3s, transform 0.2s;
}
#crop-btn:hover , #crop-btn_reupload:hover {
    background: #0056b3; /* darker blue */
    transform: translateY(-2px);
    cursor: pointer;
}
#certificate-preview, #croppie-container , #certificate-preview_reupload, #croppie-container_reupload {
    transition: transform 0.3s;
}
#certificate-preview:hover , #certificate-preview_reupload:hover {
    transform: scale(1.02);
}

#change-btn , #cancel-btn , #crop-btn,
#change-btn_reupload , #cancel-btn_reupload , #crop-btn_reupload{
    display:none; 
    border-radius:10px; 
    padding:8px 18px;
}

#image-actions , #image-actions_reupload{
    display:none; 
    margin-top:12px;
    display:flex; 
    gap:10px;
    flex-wrap:wrap; 
    justify-content:center;
}

#certificate-preview , #certificate-preview_reupload{
    display:none; 
    max-width:320px;
    border-radius:16px;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

#croppie-container , #croppie-container_reupload{
    display:none; 
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
    border-radius:16px; 
    padding:10px; 
    background:#fff;
}

/* LOGIN AND SIGNUP */


.login-section {
  /* min-height: 100vh; */
  padding: 0 !important;
  font-family: 'Segoe UI', sans-serif;
}


.login-section .row {
  /* min-height: 100vh; */
  margin: 0;
}


.illustration-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}

.illustration-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #ffffff;
}

.login-card {
  width: 100%;
  /* max-width: 420px; */
  padding: 50px;
  border-radius: 12px;
  box-shadow: 19px 10px 40px rgba(0, 0, 0, 0.08);
}


.login-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 28px;
}

.login-subtitle {
  color: #777;
  margin-bottom: 35px;
}


.form-control {
  border-radius: 12px;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  transition: 0.3s ease;
}

.form-control:focus {
  border-color: #BC9F57;
  box-shadow: 0 0 0 3px rgba(188, 159, 87, 0.15);
}


input[type="checkbox"] {
  accent-color: #BC9F57;
}

.btn-gold {
  background-color: #BC9F57;
  border: none;
  padding: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 12px;
  transition: 0.3s ease;
}

.btn-gold:hover {
  background-color: #a88c45;
}

.link-gold {
  color: #BC9F57;
  text-decoration: none;
  font-weight: 500;
}

.link-gold:hover {
  text-decoration: underline;
}

#auth_form_login .text-danger{
  /* padding-bottom: 0 !important; */

}

#jp_paypal_email , #jp_paypal_pass {
    height: 2.5em;
    border: 1px solid #c0c0c0eb;
    color: #777 !important;
    font-size: 1rem !important;
}
#auth_form_login .alert .btn-close{
    border: 0 !important;
}

.fancybox__container{
    z-index: 99999 !important;
}

.carousel__button{
    border: none !important;
}

.carousel__button:hover{
    
    background: transparent !important;
}



@media (max-width: 991px) {
  .illustration-side {
    display: none;
  }

  .form-side {
    padding: 0;
  }

  .login-card {
    max-width: 100%;
    padding: 10px;
    box-shadow: none !important;
  }
}


/* MODAL STYLING */

.modal-header {
    background: linear-gradient(135deg, #BC9F57, #d8c07a);
    border: none !important;
    padding: 16px 20px;

    display: flex;
    align-items: center; 
    justify-content: space-between; 
}


.modal-header .modal-title {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}


.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin: 0;
    border: 0;
}

.modal-header .btn-close:hover {
    opacity: 1;
    background: transparent;
}

/* DATATABLES  */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--auth-gold);
    box-shadow: 0 0 0 0.15rem rgba(188,159,87,0.25);
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 5px 10px;
}
#tblCustomerOrder  {
    width: 100%;
    height: 100%;
    color: #7c7474 !important;
}

#tblCustomerOrder thead th {
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    background: #f8f9fb;
    text-align: left;
    
}

#tblCustomerOrder tbody tr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

#tblCustomerOrder td {
    border-top: none !important;
    vertical-align: middle;
    font-size: 14px;
    background: #fff;
    color: #7c7474;
}


.dataTables_wrapper .dataTables_paginate {
    padding: 6px 0 12px 0; 
    background: #fff; 
    flex: 0 0 auto;  
    z-index: 1;  
}


.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px;
    padding: 6px 14px;
    margin: 0 3px;
    border: 1px solid transparent;
    background: #fff;
    color: #555 !important;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--theme-gold) !important;
    border-color: var(--theme-gold) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(188,159,87,0.3);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(188,159,87,0.15) !important;
    border-color: var(--theme-gold) !important;
    color: var(--theme-gold-dark) !important;
}

#tblCustomerOrder,
#tblCustomerOrder th,
#tblCustomerOrder td {
    border: none;
}

#tblCustomerOrder th,
#tblCustomerOrder td {
    border-bottom: 1px solid #80767636;
    padding-bottom: 10px;
    padding-top: 10px;
}

#tblCustomerOrder {
    border-collapse: collapse;
}

/* BUTTONS  */

.badge-gold {
    background: var(--theme-gold);
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(188,159,87,0.25);
}

.badge-emerald {
    background: #28a745; 
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(40,167,69,0.25);
}

.badge-amber {
    background: #ebb61d;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(255,193,7,0.25);
}

.badge-red{
    background: #ff1616cc;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(232,62,140,0.25);
}

.badge-cancelled {
    background: #6c757d;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(108,117,125,0.25);
}


.tbl-wrapper-customer{
    margin-bottom: 40px;
}

.user-session {
    font-size: 14px;
    color: #777;
}

.user-email {
    font-weight: 600;
    color: var(--theme-gold);
}

.history-heading{
    font-size: 1.5em !important;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logout-link {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--theme-gold) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.logout-link:hover {
    text-decoration: underline;
    color: #a8842c;
}

.btn-gold {
    background-color: #BC9F57 !important;
    border: 1px solid #BC9F57 !important;
    color: #fff !important;
    transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}


.btn-gold:hover,
.btn-gold:focus {
    background-color: #a88c47 !important;
    box-shadow: 0 4px 15px rgba(188,159,87,0.4) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

.btn-gold:active,
.btn-gold:active:hover,
.btn-gold:active:focus {
    background-color: #a88c47 !important;
    color: #fff !important;
    transform: translateY(0) !important; 
    box-shadow: 0 2px 5px rgba(188,159,87,0.3) !important;
}

.btn-outline-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: 1px solid #dc3545 !important;
   
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
}

.btn-outline-danger:hover {
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25) !important;
}

.btn-outline-danger:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary{
    background-color: #565e64 !important;
    color: #fff !important;
    border-color: #51585e !important;
}
.btn-outline-secondary {
    background-color: #6c757db8 !important;
    color: #fff !important;
    border: 1px solid #dee2e6 !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
}

.btn-outline-secondary:hover {
    background-color: #e2e4e8 !important; 
    border-color: #ced4da !important;
    color: #212529 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}


.btn-outline-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}


.btn-outline-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}
.btn-outline-primary.btn-sm:hover,
.btn-outline-primary.btn-sm:focus,
.btn-outline-primary.btn-sm:active {
    background: var(--theme-gold) !important;
    border-color: var(--theme-gold) !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-primary.btn-sm,
.btn-outline-danger.btn-sm,
.btn-outline-secondary.btn-sm
{
    padding: 4px 10px;  
    font-size: 12px;  
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#login-authentication{
    border-radius: 50px !important;
}


.certification_photo_thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f1f1f1;
    transition: 0.2s ease;
    cursor: pointer;
}

.certification_photo_thumbnail:hover {
    transform: scale(1.08);
    border-color: var(--theme-gold);
}


/* SWAL STYLING */

.swal2-confirm{
      background-color:  color-mix(in srgb, #BC9F57, black 10%) !important;
      color: #fff !important;
      border: none !important;
      border-color: #BC9F57 !important;
}
.swal2-confirm:hover {
    background-color: color-mix(in srgb, #BC9F57, black 20%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(188, 159, 87, 0.25);
}

.swal2-cancel{
      background-color:  color-mix(in srgb, #d33, black 10%) !important;
      color: #fff !important;
      border: none !important;
      border-color: #d33 !important;
}

.swal2-cancel:hover {
    background-color: color-mix(in srgb, #d33, black 20%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(211, 51, 51, 0.25);
}
  

/* TABS STYLING */


.auth-segment {
    display: inline-flex;
    background: #f8f6ef;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
    border: 1px solid rgba(188, 159, 87, 0.25);
}


.auth-segment .nav-link {
    border: none !important;
    background: transparent;
    border-radius: 10px;
    padding: 9px 22px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.25s ease;
}


.auth-segment .nav-link:hover {
    background: rgba(188, 159, 87, 0.08);
    color: #5a4c2a;
}


.auth-segment .nav-link.active {
    background: linear-gradient(135deg, #BC9F57, #a78942);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(188, 159, 87, 0.35);
}


.auth-segment .nav-link:focus {
    box-shadow: none;
}

.auth-segment .nav-link:first-child {
    flex: 1.2; 
}

.auth-segment .nav-link:last-child {
    flex: 1;
    opacity: 0.85; 
}


/* GOOGLE */

.login-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; 
}

.login-divider {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    position: relative;
}

.login-divider::before,
.login-divider::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #d1d5db;
    vertical-align: middle;
    margin: 0 8px;
}