button.custom-btn {
    display: flex;
    -webkit-border-radius: 24;
    -moz-border-radius: 24;
    border-radius: 20px;
    box-shadow: 0px 1px 5px #00000010;
    color: #ffffff;
    background: linear-gradient(0deg, rgb(21 24 69 / 68%) 0%, rgb(21 24 69 / 62%) 50%, rgb(21 24 69 / 50%) 85%, rgb(21 24 69 / 44%) 100%);
    padding: 6px 14px 6px 14px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
}

button.custom-btn:disabled {
    cursor: not-allowed;
    background: #afafaf;
    border-color: #B5B5B5;
    color: #fbfbfb;
}

button.custom-btn:disabled:hover {
    background: #afafaf;
}


button.custom-btn:hover {
    background-color: #E99757;
}

button.custom-btn-secondary {
    display: flex;
    border-radius: 24px;
    -webkit-border-radius: 24;
    -moz-border-radius: 24;
    -webkit-box-shadow: 0px 2px 5px #c7c7c7;
    -moz-box-shadow: 0px 2px 5px #c7c7c7;
    box-shadow: 0px 1.5px 4px #bdbdbd;
    color: #858585;
    font-weight: 500;
    background: #ffffff;
    padding: 6px 14px 6px 14px;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

button.custom-btn-secondary:hover {
    color: #ffffff;
    background: #E99757;
    border: 1px solid #E99757;
    box-shadow: 0px 1px 9px #c5c5c5;
}

button.custom-btn-secondary:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: 1px solid #b4b4b4;

}

button.custom-btn-square {
    font-size: 0.75rem;
    display: flex;
    border-radius: 5px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #ffffff;
    font-weight: 400;
    background: #01043b8a;
    padding: 4px 10px 4px 10px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

button.custom-btn-square:hover {
    color: #ffffff;
    background: #01043B;
    border: none;
    box-shadow: 0px 1px 9px #c5c5c5;
}

button.custom-btn-square:disabled {
    -webkit-border-radius: 2;
    -moz-border-radius: 2;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #ccc;
    color: #737373;
    cursor: not-allowed;
    border: none;
}

button.custom-btn-secondary:disabled {
    cursor: not-allowed;
    background-color: #F1F1F1;
    border-color: #B5B5B5;
    color: #797878;
}

button.custom-btn.active {
    background-color: #01043b;
    border: 0.2px solid #01043b;
    color: #FFFFFF;
    box-shadow: 0 2.5px 4px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Base for wizard navigation */
button.wizard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0px 2px 6px #00000020;
    padding: 8px 18px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin: 10px 6px;
}

/* NEXT button — highlight in primary accent */
button.next-btn {
    background: linear-gradient(135deg, #585A7F 0%, #4E5073 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(88, 90, 127, 0.5);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button.next-btn:hover {
    background: linear-gradient(135deg, #4a4c6b 0%, #3f4159 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(63, 65, 89, 0.7);
}

/* PREV button — subtle/secondary style */
button.prev-btn {
    background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(157, 157, 157, 0.5);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button.prev-btn:hover {
    background: linear-gradient(135deg, #bdbdbd 0%, #e0e0e0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(224, 224, 224, 0.7);
}

button.prev-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}


/* Disabled state (shared with your custom-btn logic) */
button.wizard-btn:disabled {
    cursor: not-allowed;
    background: #afafaf;
    color: #fbfbfb;
    box-shadow: none;
    transform: none;
}

/* FINISH button — success theme */
button.finish-btn {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(67, 160, 71, 0.5);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button.finish-btn:hover {
    background: linear-gradient(135deg, #388e3c 0%, #4caf50 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(72, 156, 70, 0.7);
}

button.finish-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}




/* Base for wizard navigation */
button.btn-add-query {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 10px 24px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%); /* blue shades */
    color: #fff;
    box-shadow: 0 3px 6px rgba(33, 150, 243, 0.5);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button.btn-add-query:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1e88e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(25, 118, 210, 0.7);
}

button.btn-add-query:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

button.next-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}


button.ref-button {
    background: linear-gradient(0deg, rgba(21,24,69,0.68) 0%, rgba(21,24,69,0.62) 50%, rgba(21,24,69,0.50) 85%, rgba(21,24,69,0.44) 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    cursor: pointer;
    box-shadow: 0px 1px 5px #00000010;
    transition: 
        background 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out,
        transform 0.2s ease;
    user-select: none;
}

button.ref-button:hover {
    background-color: #E99757;
    box-shadow: 0 6px 12px rgba(233, 151, 87, 0.5);
    transform: translateY(-2px);
}

button.ref-button:active {
    background-color: #d9823d;
    box-shadow: 0 3px 6px rgba(233, 151, 87, 0.7);
    transform: translateY(0);
}

button.ref-button:disabled {
    cursor: not-allowed;
    background: #afafaf;
    border-color: #B5B5B5;
    color: #fbfbfb;
    box-shadow: none;
    transform: none;
}


button.no-flex-center {
    display: inline-block !important; /* override display: flex */
    margin: 0 auto;                  /* center horizontally */
}