

/* ======= Begin: style.css ======= */
@import url('https://wppluginbox.com/ICONS/icons.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root{
--sgsr-default-font:"Poppins", sans-serif;
--sgsr-green:#00b163;
--sgsr-blue:#7d55ff;
}

.sgsr-pro-icon {
    color: gold;
    font-size: 12px;
}

.sgsr-main{
  width: 95%;
  min-width: 600px;
/*  min-height: 600px;*/
  margin: auto;
    margin-top: 25px;

  font-family: var(--sgsr-default-font);

  padding: 20px;
  background-color: white;
}


.sgsr-card{
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.sgsr-main input.khyzer,.sgsr-main select.khyzer{
  width: 100%;
  max-width: 199px;
}

.sgsr-main input[type="color"]{
  width: 50px;
}


.sgsr-main button.sgsr-green-btn{
      background-color: var(--sgsr-green);
      color: white;
      padding: 8px;
      width: 250px;
      border:1px solid white;
      cursor: pointer;
}



.sgsr-main button.sgsr-update-btn {
    background-color: #FF9800;
}

.sgsr-main button.sgsr-green-btn.pro-btn {
    background-color: #bdbdbd;
}


.sgsr-main .sgsr-hide{display: none;}
.sgsr-main .sgsr_mh{
  min-height: 600px;
}


/*=======================*/
.sgsr-main a.sgsr-link {
    text-decoration: none;
    border: 1px solid var(--sgsr-green);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--sgsr-green);
}

.sgsr-main a.sgsr-red-link{
  border:1px solid red;
  background-color: red;
  color: white;
}

.sgsr-main p.sgsr-user-info {
    background-color: #7d55ff0d;
    width: 600px;
    padding: 8px;
    border-radius: 5px;
    color: var(--sgsr-blue);
    font-size: 12px;
}

.sgsr-main [show-sgsr-info]{cursor: pointer;text-decoration: underline;}



.sgsr-main .sgsr-top-header{
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
/*    display: flex;*/
    height: 40px;
/*    justify-content: space-between;*/
    padding: 10px 16px;
    z-index: 99;
}

.sgsr-main .sgsr-flex-1{
  display: flex;
/*  gap: 10px;*/
}


.sgsr-main input.sgsr-input[type="text"] {
    padding: 6px;
    width: 100%;
    max-width: 80%;
    border: 1px solid var(--sgsr-green);
    font-family: var(--sgsr-default-font);
}

.sgsr-main input.sgsr-input[type="text"]::placeholder,
.sgsr-main input.khyzer[type="text"]::placeholder,
.sgsr-main input.sgsr-input[type="number"]::placeholder{
  color: rgba(0, 0, 0, 0.3);
  font-size: 12px;
}


   .sgsr-main .sgsr-label{
      margin:50px;
   }

   

   .sgsr-main .sgsr-info-btn{
    background-color: #ff9800;
   }


 


.small-cards{
  padding: 20px;
  background-color: white;
}



.sgsr-side-menu{
    background-color: white;
    min-width: 230px;
    min-height: 700px;
    border-right: 1px solid #ddd;

  }

  .sgsr-main-area{
     width: 100%;
/*     border:1px solid blue;*/
  }

.sgsr-responsive{
  overflow-y: auto;
  max-height: 700px;
}

.sgsr-sticky-header table thead{
  background-color: white;
  position: sticky;
  top: 0;
}


[btn="action-edit"]:before{
    content: "\f044 \00a0";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    margin-right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: red;

}

[btn="action-delete"]:before{
content: "\f2ed \00a0";
font-family: "Font Awesome 5 Pro";
font-weight: 900;
margin-right: 10px;
cursor: pointer;
font-size: 16px;
color: red;
}

[btn="action-copy"]:before{
content: "\f0c5 \00a0";
font-family: "Font Awesome 5 Pro";
font-weight: 500;
margin-right: 10px;
cursor: pointer;
font-size: 16px;
color: red;
}



[btn="action-link"]:before{
    content: "\f08e \00a0";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    margin-right: 10px;
    cursor: pointer;
}

[btn="action-copy"]:before::hover,
[btn="action-edit"]:before::hover,
[btn="action-delete"]:before::hover,
[btn="action-link"]:before::hover{
  transform: scale(1.2);
  transition: 0.2s ease;
/*  color: red;*/
}

:root{
    --track:#dedede;
    --thumb:#6e6a6a;
    --thumb-hover:#000000;
}

  .sgsr-scroll {
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: black var(--track); /* For Firefox */
}

.sgsr-scroll::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
  height: 10px;
}

.sgsr-scroll::-webkit-scrollbar-track {
  background-color: var(--track); /* White track color */
}

.sgsr-scroll::-webkit-scrollbar-thumb {
  background-color: var(--thumb); /* White thumb color */
  border-radius: 8px; /* Rounded thumb */
/*  height: 30px;*/
}

.sgsr-scroll::-webkit-scrollbar-thumb:hover {
  background-color: var(--thumb-hover); /* Hover color */
  cursor: pointer;
}



.sgsr-loader {
  border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid var(--sgsr-green);
    border-radius: 50%;
    width: 30px;
    height: 30px;
  
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sgsr-flash {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

   

.sgsr-noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}


/* Force override jQuery UI default tooltip */
.sgsr-tooltip.ui-tooltip {
  background-color: black !important;
  color: white !important;
  border: 1px solid black !important;
  font-size: 12px !important;
  font-family: var(--sgsr-default-font, Arial, sans-serif) !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
  z-index: 10000 !important;
}

  .ui-widget.ui-widget-content {
    border: 1px solid #000000;
}

.ui-widget-shadow {
     -webkit-box-shadow: 0px 0px 0px #666666; 
     box-shadow: 0px 0px 0px #666666; 
}


 /*.ui-tooltip{
    background-color:black;
    color: white;
    font-size: 12px;
    border: 1px solid black;
    font-family: var(--sgsr-default-font);
    border-radius: 4px;
    max-width: 300px;

    padding: 6px;
  }

  .ui-tooltip a{color: white;text-decoration: underline;}

  .ui-widget.ui-widget-content {
    border: 1px solid #000000;
}

.ui-widget-shadow {
     -webkit-box-shadow: 0px 0px 0px #666666; 
     box-shadow: 0px 0px 0px #666666; 
}*/
/* ======= End: style.css ======= */


/* ======= Begin: elements.css ======= */
       :root {
    --yes-color: blue;
    --no-color: #a9a7a7;
    --toggle-height: 22px;
    --toggle-width: 52px;
}

        .sgsr-toggle-switch {
    position: relative;
    display: inline-block;
    width: var(--toggle-width);
    height: var(--toggle-height);
    margin: 3px 0;
}

        .sgsr-checkbox {
            display: none;
        }

        .sgsr-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--no-color);
            transition: 0.4s;
            border-radius: var(--toggle-height);
        }

        .sgsr-slider:before {
            position: absolute;
            content: "";
            height: calc(var(--toggle-height) - 4px);
            width: calc(var(--toggle-height) - 4px);
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
            text-align: center;
            line-height: calc(var(--toggle-height) - 4px);
            color: black;
        }

        input.sgsr-checkbox:checked + .sgsr-slider {
            background-color: var(--yes-color);
        }

        input.sgsr-checkbox:checked + .sgsr-slider:before {
            transform: translateX(calc(var(--toggle-width) - var(--toggle-height)));
            content: "";
            color: white;
        }
/* ======= End: elements.css ======= */


/* ======= Begin: pages.css ======= */
[child-option]{display: none;}
   h1.sgsr-heading {
    color: #1d2327;
    font-size: 2em;
    margin: .67em 0;
    background-color: #7d55ff26;
    padding: 10px;
    width: fit-content;
    border-radius: 4px;
    color: var(--sgsr-blue);
    font-size: 20px;
}



/*============ ALL SHEETS PAGE =========*/
[btn="action-link"]{color: blue;}

   .tb-list{
      padding: 20px;
      background-color: white;
   }

   .all_sgsr_list{
      width: 100%;
      text-align: center;
      border-collapse: collapse;
   }

.all_sgsr_list td{
   padding: 8px;
   }

   .all_sgsr_list thead td {
    background-color: #7d55ff;
    color: white;
}

.all_sgsr_list tbody tr:nth-child(even) {
    background-color: #f6f6f6;
}



/*=============== CREATE NEW SHEET =======*/
.sgsr-fetch-settings{
   color: red;
   cursor: pointer;
}

.sgsr-fetch-settings:hover{
   transition: 0.2s;
   transform: scale(1.5);
}


.sgsr-pro-feature:after{
   content:"\00a0 \f521";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #FFC107;
}


.sgsr-blur{
   filter: blur(3px);
}


.sgsr-main label.sgsr-slider.sgsr-disabled {
    background-color: #e2e2e2;
}



.sgsr-main .sgsr-form-settings{
width: 100%;
max-width: 1200px;
}


.sgsr-main .sgsr-red-msg {
    padding: 8px 12px;
    border: 1px solid #ff00001c;
    width: fit-content;
    background-color: #ff00001c;
    color: red;
    border-radius: 6px;
    font-weight: 400;
    text-decoration: underline;
}


.sgsr-main .sgsr-green-msg {
    padding: 8px 12px;
    border: 1px solid #4caf50;
    width: fit-content;
    background-color: #4caf501a;
    color: #4caf50;
    border-radius: 6px;
    font-weight: 400;
    margin: 18px auto;
}
/* ======= End: pages.css ======= */


/* ======= Begin: wpbox_popup.css ======= */
        [wpbox_sgsr-modal="1"] .wpbox_sgsr-popup {
            display: none; /* Hidden by default */
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-40%, -50%);
            width: 60%;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            z-index: 1000;
            padding: 20px;
            min-height: 400px;
        }

        /* wpbox_sgsr-popup overlay */
        [wpbox_sgsr-modal="1"] .wpbox_sgsr-popup-overlay {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        /* Close button */
        [wpbox_sgsr-modal="1"] .wpbox_sgsr-popup-close {
            float: right;
            cursor: pointer;
            font-size: 18px;
            color: #aaa;
        }

        [wpbox_sgsr-modal="1"] .wpbox_sgsr-popup-close:hover {
            color: #000;
        }
/* ======= End: wpbox_popup.css ======= */


/* ======= Begin: popup-content.css ======= */
/* Scoped styles for all message boxes */
[wpbox_sgsr_msg_id] {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 14px;
  background: #f8f9fc;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

/* Headings */
[wpbox_sgsr_msg_id] [popup-heading="1"] {
  font-size: 28px;
  color: #212529;
  margin-bottom: 12px;
}

/* Popup content */
[wpbox_sgsr_msg_id] [popup-html="1"] {
  color: #333;
  font-size: 18px;
  line-height: 1.7;
}

/* Paragraphs */
[wpbox_sgsr_msg_id] [popup-html="1"] p {
  font-size: 17px;
  margin: 0;
}

[wpbox_sgsr_msg_id] [popup-html="1"] p:first-of-type {
  font-size: 20px;
  margin-top: 15px;
  font-weight: 500;
}

[wpbox_sgsr_msg_id] [popup-html="1"] p:nth-of-type(2) {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #444;
/*  text-decoration: underline;*/
}

[wpbox_sgsr_msg_id] [popup-html="1"] p:nth-of-type(3),
[wpbox_sgsr_msg_id] [popup-html="1"] p:nth-of-type(4) {
  margin-top: 8px;
}

/* Horizontal line */
[wpbox_sgsr_msg_id] [popup-html="1"] hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

/* Images */
[wpbox_sgsr_msg_id] img {
  width: 70px;
  margin-top: 35px;
}

/* Hide message option */
[wpbox_sgsr_msg_id] .sgsr-hide-opt {
  margin-top: 25px;
  font-size: 15px;
}

[wpbox_sgsr_msg_id] label {
  cursor: pointer;
  color: red;
}

[wpbox_sgsr_msg_id] [popup-hide-opt="1"] {
  margin-right: 8px;
}

/* Call-to-action button */
[wpbox_sgsr_msg_id] .sgsr-cta {
  margin-top: 20px;
}

[wpbox_sgsr_msg_id] a {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0d6efd;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
}

/* Shortcode section */
[wpbox_sgsr_msg_id] code {
  font-size: 22px;
}

[wpbox_sgsr_msg_id] p {
  font-size: 16px;
}
/* ======= End: popup-content.css ======= */
