/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 :root{
    --proteo-button_2_bg_color_1: rgba(68, 138, 133, 1);
    --proteo-button_2_bg_color_2: rgba(106, 162, 158, 1);
    --light_green_bg_color: #F2F6F3;
    --light_purple_bg_color: #f3f1fa;
    --light_brown_bg_color: #fff2f0;
    --wishev-primary: #4CAF50;   /* Green – main action */
    --wishev-secondary: #1f1f1f; /* Soft purple – headings */
    --wishev-accent: #FF6F61;    /* Accent */
    --wishev-bg: #F7F8FA;        /* Page background */
    --wishev-card-bg: #FFFFFF;  /* Card background */
    --wishev-border: #E3E6EA;   /* Borders */
    --wishev-text: #1E1E1E;     /* Main text */
    --wishev-muted: #6B7280;    /* Secondary text */
 }

 *{
    scroll-behavior: smooth;
 }

.toplevel_page_wishlist_add div#wpcontent {
    padding: 0;
}
.admin-post-content {
    margin: -80px 20px 0;
}
.wishev-admin-header {
    background: linear-gradient(135deg, #20225e -10%, #20225e8c 240%);
    padding: 30px 20px 100px;
    background: linear-gradient(255deg, #9088b7, #231c6a);
    background: linear-gradient(180deg, var(--proteo-button_2_bg_color_1, #00a79c) 0%, var(--proteo-button_2_bg_color_2, #01af8d) 100%);
}
.go_top a {
    position: fixed;
    right: 30px;
    bottom: 20px;
    z-index: 9;
    background: linear-gradient(180deg, var(--proteo-button_2_bg_color_1, #00a79c) 0%, var(--proteo-button_2_bg_color_2, #01af8d) 100%);
    padding: 7px;
    border-radius:50px;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.go_top a i {
    font-size: 18px;
}
.tab_button.active {
    background-color: #fff;
}
.wishev-admin-header * {
    color: #fff;}


.button_group.btn_fixed {
    position: fixed;
    right: 0;
}
.button_group.btn_fixed a span {
    display: none;
}
.button_group.btn_fixed .tab_button {
    display: flex;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 5px;
    padding: 17px;
    background: #ffffff;
    margin-bottom: 4px;
}
.button_group.btn_fixed a.tab_button.active {
    background: linear-gradient(180deg, var(--proteo-button_2_bg_color_1, #00a79c) 0%, var(--proteo-button_2_bg_color_2, #01af8d) 100%);
}
.button_group.btn_fixed a.tab_button.active i {
    color: #fff;
}    
 /* ================================
   Wishlist Everywhere – Access UI
   ================================ */

/* Wrapper */
.wishev-access-wrapper {
    background: var(--wishev-bg);
    padding: 28px;
    border-radius: 10px;
    margin: 20px;
}

/* Title & Subtitle */
.wishev-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--wishev-text);
}

.wishev-subtitle {
    font-size: 15px;
    color: var(--wishev-muted);
    margin-bottom: 26px;
}

/* Cards Layout */
.wishev-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: baseline;
}
.card-header.green-bg {
    background-color: var(--light_green_bg_color);
}
.card-header.purple-bg {
    background-color: var(--light_purple_bg_color);
}
.card-header.brown-bg {
    background-color: var(--light_brown_bg_color);
}
/* Individual Card */
.wishev-card {
    background: var(--wishev-card-bg);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}
.card-header {
    padding: 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-header h3 {
    margin: 0;
}

.wishev-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Highlight Card (Shortcode Card) */
.green-card {
    border: 1px solid rgba(76, 175, 80, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #f9fffa 100%);
}
.purple-card {
    border: 1px solid #c9baff;
    background: linear-gradient(180deg, #ffffff 0%, var(--light_purple_bg_color) 100%);
}
.brown-card {
    border: 1px solid #f9c9c9;
    background: linear-gradient(180deg, #ffffff 0%, var(--light_brown_bg_color) 100%);
}
/* Card Headings */
.wishev-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--wishev-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-body {
    padding: 20px;
}
/* Card Paragraphs */
.wishev-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--wishev-text);
    margin: 0 0 3px 0;
    font-weight: 500;
}

/* Muted helper text */
.wishev-muted-text {
    color: var(--wishev-muted);
}

/* Code Blocks (Shortcodes) */
.wishev-code {
    background: #f3f4f6;
    border: 2px dashed #d2d2d2;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #026a06;
    margin: 6px 0 14px 0;
    display: flex;
    cursor: default;
    user-select: all;
    font-weight: 500;
    justify-content: space-between;
    width: max-content;
    gap: 10px;
}

/* Filter Section Title */
.wishev-filter-title {
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 8px;
    color: var(--wishev-primary);
    font-size: 14px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .wishev-title {
        font-size: 22px;
    }

    .wishev-card {
        padding: 18px 18px;
    }
}

/* Optional: Gutenberg block card icon color */
.wishev-card-icon {
    font-size: 20px;
}

/* Optional: Copy button (if you add later) */
.wishev-copy-btn {
    background: var(--wishev-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 6px;
}

.wishev-copy-btn:hover {
    opacity: 0.9;
}

.admin-post-sec .form-group label {
    width: max-content;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    line-height: 34px;
}
.admin-post-sec .form-group select, .admin-post-sec .form-group input {
    width: 45%;
    font-size: 16px;
    margin-left: 30px;
    font-weight: normal;
    box-shadow: 0px 0px 5px 1px #0000000d inset;
    border-color: #00000033;
}
.row_wrapper {
    display: flex;
    column-gap: 15px;
    align-items: stretch;
    margin-bottom: 15px;
}

.detail-wrapper {
    background: #fff;
    padding: 20px;
    box-shadow: 1px 1px 10px 1px #00000005;
    border-radius: 3px;
    width: 30%;
}
.detail-wrapper li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.detail-wrapper ol {
    margin-left: 1em;
}
.detail-wrapper li ol li {
    margin-bottom: 5px;
}
.group-wrapper {
    width: 60%;
    background: #fff;
    padding: 20px;
    /* box-shadow: 1px 1px 10px 1px #00000005; */
    border-radius: 12px;
    border-top-left-radius: 0;
}
.admin-post-sec .form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-post-sec .form-group ~.form-group {
    margin-top: 20px;
}
.admin-post-sec .form-group select{
    text-transform: capitalize;
}
.admin-post-sec .form-group.column {
    flex-wrap: wrap;
}
.admin-post-sec #post_submit {
    cursor: pointer;
    background: #0094c4;
    background: linear-gradient(180deg, var(--proteo-button_2_bg_color_1, #00a79c) 0%, var(--proteo-button_2_bg_color_2, #01af8d) 100%);
    border: none;
    font-size: 16px;
    color: #fff;
    line-height: 30px;
    border-radius: 4px;
    padding: 0 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease-in-out;
    margin-top: 10px;
    width: 15%;
    padding: 8px 0;
    margin-left: 0;
}
.admin-post-sec .fixed {
    position: fixed;
    right: -60px;
    top: 15%;
    transition: 0.4s ease-in-out;
}

.admin-post-sec .fixed #post_submit {
    width: auto;
    padding: 10px 25px 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 2px;
}

.admin-post-sec .fixed:hover {
    right: 0;
}
.form-group.wishev_position {
    margin-bottom: 17px;
}
.group-wrapper h2 {
    color: #3c434a;
    font-size: 22px;
    border-bottom: 1px solid #00000017;
    padding-bottom: 20px;
    font-weight: 400;
}
.tab_button {
    margin: 0;
    display: inline-block;
    background: #ffffff45;
    padding: 14px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #3c434a;
    text-decoration: none;
}
.gd {
  display: grid;
}

.toggle-button {
  position: relative;
  /* height: 100px;  */
}

.knob,
.btn-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.btn {
  position: relative;
  top: 50%;
  width: 114px;
  height: 36px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

.btn.btn-pill,
.btn.btn-pill > .btn-bg {
  border-radius: 100px;
}

.btn.btn-rect {
  border-radius: 2px;
}

.btn .checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0 !important;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  min-width: 100%;
}

.knob {
  z-index: 2;
}

.btn-bg {
  width: 100%;

  background-color: #fcebeb;
  transition: 0.3s ease all;
  z-index: 1;
}


/* Button 10 */
#button-10 .knob:before,
#button-10 .knob:after,
#button-10 .knob span {
  position: absolute;
  top: 4px;
  width: 40px;
  height: 10px;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  border-radius: 2px;
  transition: 0.3s ease all;
  box-sizing: unset;
}

#button-10 .knob:before {
  content: "";
  left: 4px;
  background: #f44336;
}

#button-10 .knob:after {
  content: "YES";
  right: 4px;
  color: #4e4e4e;
}

#button-10 .knob span {
  display: inline-block;
  left: 4px;
  color: #fff;
  z-index: 1;
}

#button-10 .checkbox:checked + .knob span {
  color: #4e4e4e;
}

#button-10 .checkbox:checked + .knob:before {
  left: 62px;
  background-color: #6aa29e;
}

#button-10 .checkbox:checked + .knob:after {
  color: #fff;
}

#button-10 .checkbox:checked ~ .btn-bg {
  background-color: #6aa29e45;
}
.wishlisted-products img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    width: 60px;
    height: auto;
    padding: 7px;
    background: #FCF9F4;
    border: 1px solid #d2d2d233;
    border-radius: 6px;
    object-fit: cover;
    aspect-ratio: 1;
}

.wishlisted-products td.first-col {
    display: flex;
    align-items: center;
    gap: 7px;
}

.wishlisted-products span {
    width: 150px;
}
.wishlisted-products td,.wishlisted-products th {
    padding: 10px 20px 10px 0px;
    border-bottom: 1px solid #0000000d;
    font-weight: 500;
    color: #000;
}
.wishlisted-products .wishlist-analytics-card {
    background: #fff;
    padding: 15px 15px 22px 15px;
    border-radius: 7px;
    box-shadow: 0px 0px 6px -2px #0000002b;
    /* width: 30%; */
}
.wishlisted-products .wishlist-link {
    text-decoration: none !important;
    color: #fff !important;
    padding: 12px 16px;
    background: linear-gradient(180deg, var(--proteo-button_2_bg_color_1, #00a79c) 0%, var(--proteo-button_2_bg_color_2, #01af8d) 100%);
    border-radius: 6px;
    box-shadow: none;
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}
.wishlist-analytics-table h2 {
    color: #737572;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
}

.wishlist-analytics-table {
    width: 100%;
    margin-top: 40px;
}
.wishlisted-products {
    display: grid;
    flex-wrap: wrap;
    padding: 0 40px;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.wishlist-analytics-table h1 {
    color: #3F413E;
    text-align: center;
    line-height: 30px;
}
.wishlist-analytics-table .analytics-header p {
    text-align: center;
    font-size: 16px;
}
.analytics-header {
    padding-left: 40px;
    padding-right: 40px;
}
.analytics-header h3 {
    margin: 0;
    padding: 20px 15px;
    background: #fff;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0px 0px 6px -2px #0000002b;
    margin-bottom: 10px;
}
.admin-post-sec input[type="color"] {
    width: 50px !important;
    height: 50px;
}
.analytics-card-content {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #00000012;
}
.analytics-card-content p {
    margin: 0;
}
.analytics-card-content p:first-child {
    font-size: 16px;
    color: #3f3d3d;
    font-weight: 500;
}
p.wishlist-count i {
    color: var(--proteo-button_2_bg_color_1);
}
.wishlisted-products .wishlist-link i {
    font-size: 12px;
}

