/*the setting header */
.wrap .shopper-reward-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #3498db;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.shopre-bar-wrap {
  margin: 12px 0 16px;
  padding: 12px;
  background: #f7f7f9;
  border: 1px solid #e3e5e8;
  border-radius: 6px;
}

.shopre-bar-track {
  width: 100%;
  height: 10px;
  background: #e9ecf1;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.shopre-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7aa7ff, #4f8efc);
  transition: width .25s ease;
}

.shopre-bar-msg {
  margin: 0;
  font-size: 14px;
}

.shopre-bar-msg.shopre-success {
  color: hsl(142, 85%, 26%);
  font-weight: 600;
}


.shopre-bar-fill[data-progress] {
    width: attr(data-progress percentage);
}


/* Thank You WhatsApp Section */
.shopre-thankyou-wa {
    margin: 15px 0;
}

.shopre-thankyou-wa .description {
    margin-top: 8px;
    color: #555;
    font-size: 13px;
}

/* Ultra-Interactive Modern Shopper Rewards Tabs */
.wrap .nav-tab-wrapper {
    display: flex;
    justify-content: flex-start;  /* Left-aligned tabs */
    gap: 10px;                    /* Space between tabs */
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-left: 0;
}

.wrap .nav-tab {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(0);
}

/* Gradient underline for hover & active */
.wrap .nav-tab::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, hsl(214, 29%, 17%));
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.wrap .nav-tab:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effect: subtle lift */
.wrap .nav-tab:hover {
    color: #2c3e50;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    cursor: pointer;
}

/* Active tab styling with 3D press effect */
.wrap .nav-tab.nav-tab-active {
    background: #fff;
    color: #2c3e50;
    border-color: #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: translateY(0);
}

.wrap .nav-tab.nav-tab-active::after {
    opacity: 1;
}


/* Ultra Elegant Save Changes Button */
.wrap .button.button-primary {
    background-color: #2c3e50;       /* Dark muted color */
    border: 1px solid #1f2a38;       /* Thin subtle border */
    border-radius: 4px;
    color: #ffffff !important;        /* White text */
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 20px;                /* Slightly smaller, refined */
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

/* Hover effect: subtle color shift */
.wrap .button.button-primary:hover {
    background-color: #34495e;       /* Slightly lighter shade */
}

/* Press effect: subtle darken */
.wrap .button.button-primary:active {
    background-color: hsl(214, 29%, 17%);
}

/* Focus outline for accessibility */
.wrap .button.button-primary:focus {
    outline: 2px solid #5dade2;
    outline-offset: 2px;
}
