.navbar {
  background-color: #ffffff;
  padding: 0px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
  display: flex;
  position: relative;
  background-color: #ffffff;
}

.nav-link {
  text-decoration: none;
  color: #333;
  padding: 19px 20px;
  position: relative;
  transition: color 0.3s ease;
  background-color: white;
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-size: 13px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  color: rgb(58, 58, 58);
  font-weight: 500;
  font-style: normal
}

.nav-link:hover {
  color: black;
  background-color: ghostwhite;
  border-bottom: 2px solid blue;
}
.nav-link.active{
background-color: ghostwhite;
  border-bottom: 2px solid blue;
}
.underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: blue;
  transition: left 0.3s ease, width 0.3s ease;
}

.tab-content {
  box-sizing: border-box;
  padding: 20px;
  border-top: 1px solid #ddd;
  background-color: ghostwhite;
  width: 100%;
  height: 100%;
  padding-bottom: 300px;
}

.content {
  display: none;
}

.active-content {
  display: block;
}


/** template page css **/

.grid-container {
max-width: 90vw;
padding: 30px 50px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
background-color: #f8f8ff;
}

.grid-item {
border: 1px solid #ccc;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
cursor: pointer;
}

.grid-item img {
width: 100%;
height: auto;
pointer-events: none;
-webkit-user-drag: none;
}

.grid-item .content {
padding: 15px;
}

.grid-item .title {
font-size: 18px;
font-weight: 700;
margin-bottom: 10px;
}

.grid-item .btn-container {
display: flex;
justify-content: space-between;
margin-top: 10px;
}

.grid-item button:hover {
background-color: #0056b3;
}

body {
font-size: 15px;
color: #4f5a68;
background: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
line-height: 1.4em;
list-style: none;
}

h3, h4 {
font-weight: 600;
}

h3 {
font-size: 1.3em;
color: #1d2327;
margin: 1em 0;
}

h4 {
font-size: 1em;
margin: 1.33em 0;
}

.ct-demo-actions {
display: flex;
align-items: center;
padding: 5px 20px;
border-radius: 0 0 3px 3px;
border: 1px solid rgba(226, 230, 235, 0.7);
background: rgba(235, 237, 241, 0.2);
}

.ct-button {
color: rgba(46, 68, 83, 0.8);
background: #fff;
border-color: #e2e6eb;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
height: var(--ui-button-height, 35px);
padding: 0 var(--ui-button-padding, 15px);
font-size: var(--ui-button-font-size, 13px);
font-weight: 500;
outline: 0;
cursor: pointer;
text-decoration: none;
text-align: center;
border-radius: 3px;
border-width: 1px;
border-style: solid;
transition: color 0.15s, background 0.15s, transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ct-button:hover {
color: #2e4453;
border-color: rgba(190, 196, 203, 0.7);
}

.ct-button-primary {
color: #fff;
border: 1px solid #135e96 ;
outline: 1px solid #135e96 ;
box-shadow: 0 1px 4px rgba(1, 96, 134, 0.2);
}

.ct-button-primary:hover {
background: var(--ui-accent-hover-color, #135e96);
box-shadow: 0 1px 4px rgba(1, 96, 134, 0.3);
}

figure {
display: flex;
flex-direction: column;
position: relative;
aspect-ratio: 4/3;
margin: 0;
overflow: hidden;
isolation: isolate;
border-radius: 3px 3px 0 0;
}

figure img {
max-width: 100%;
aspect-ratio: inherit;
}

figure section {
position: absolute;
z-index: 1;
display: flex;
flex-direction: column;
justify-content: center;
inset: 0;
opacity: 0;
color: #fff;
text-align: center;
padding: 23px;
background: rgba(36, 41, 45, 0.85);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
transition: opacity 0.2s;
pointer-events: none;
}

@media (min-width: 550px) {
.ct-demo-actions {
    justify-content: space-between;
}
}

[class*="ct-button"] { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 7px; 
  height: var(--ui-button-height, 35px); 
  padding: 0 var(--ui-button-padding, 15px); 
  font-size: var(--ui-button-font-size, 13px); 
  font-weight: 500; 
  outline: none; 
  cursor: pointer; 
  text-decoration: none; 
  text-align: center; 
  letter-spacing: .01em; 
  border-radius: 3px; 
  border-width: 1px; 
  border-style: solid; 
  box-sizing: border-box; 
  transition: color .15s ease,background .15s ease,transform .15s ease,border-color .15s ease,box-shadow .15s ease;
} 



.ct-support-buttons .ct-button  { 
  --ui-button-height: 42px; 
  --ui-button-padding: 20px; 
  --ui-button-font-size: 14px;
} 

a:active,a:hover { 
  color: #135e96;
} 



.ct-button[data-hover="blue"]:hover { 
  color: #fff; 
  background: var(--ui-accent-hover-color, #135e96); 
  border-color: rgba(0,0,0,.1); 
  box-shadow: 0 1px 4px rgba(1,96,134,.3);
} 


#grid-container{
margin-top: 0px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ct-button-primary {
  background-color: #0073aa;
  color: white;
  padding: 10px;
}

.ct-button-primary.active {
  background-color: green;
}

.ct-single-demo.active {
  border: 2px solid green;
}

/** header styling for enable disable*/
#enable-disable-option-header{
display: flex;
flex-direction: row;
place-content: space-between;
padding  : 0px 40px;
background-color: white;
border-radius: 12px;
padding-bottom: 20px;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
vertical-align: middle;
padding-top: 15px;
}
#enable-disable-option-header > div > p ,h3{
margin: 5px; 
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 30px; /* Increased border-radius for a rounded look */
}

.slider:before {
position: absolute;
content: "";
height: 22px; /* Increased height */
width: 22px; /* Increased width */
border-radius: 50%;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
}

input:checked + .slider {
background-color: #2196F3;
}

input:checked + .slider:before {
transform: translateX(20px); /* Adjusted for increased switch width */
}

.slider.round {
border-radius: 30px; /* Ensures the slider has a rounded appearance */
}
/* General switch styling */
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 30px;
margin-right: 10px; /* Space between switches */
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 30px;
}

.slider:before {
position: absolute;
content: "";
height: 22px;
width: 22px;
border-radius: 50%;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
}

input:checked + .slider {
background-color: #2196F3;
}

input:checked + .slider:before {
transform: translateX(20px);
}

.slider.round {
border-radius: 30px;
}

/* Container for switches and labels */
.switch-container {
display: flex;
align-items: center;
margin-top: 10px; /* Space between input and switches */
}

.switch-container label {
margin-right: 5px; /* Space between switch and label */
}

.ct-button-success {
  background-color: #28a745; /* Green color for success */
  color: white;
  border: 1px solid #28a745;
}
/* Modal container */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal content */
.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  width: 70%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #000;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* Image inside modal */
.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}





/*
banner css is here custom

**/
.author-kit-banner {
display: flex;
align-items: center;
justify-content: space-between;
background:rgb(255, 255, 255);
padding: 5px 40px;
border-radius: 19px;
box-shadow: 0px 4px 10px rgba(196, 196, 196, 0.1);
font-family: Arial, sans-serif;
max-width: 85%;
margin: 0px auto;
max-height: 360px;
font-family: Poppins, sans-serif;
}

.banner-left {
max-width: 70%;
display: flex;
flex-direction: column;
gap: 40px;

}

.banner-left h2 {
font-size: 24px;
color: #333;
margin-bottom: 10px;
}

.banner-left p {
font-size: 16px;
color: #666;
margin-bottom: 20px;
}

.banner-buttons {
display: flex;
gap: 15px;
}

.btn {
display: flex;
align-items: center;
padding: 10px 15px;
border-radius: 5px;
text-decoration: none;
font-size: 14px;
font-weight: bold;
transition: 0.3s;
}

.support-btn {
background: #0073aa;
color: #fff;
}

.fb-btn {
background: #1877f2;
color: #fff;
}

.btn i {
margin-right: 8px;
}

.btn:hover , .btn:active , .btn:focus{
opacity: 0.8;
color: white;
}
.banner-right {
width: 30%;

height: 100%;

}
.banner-right img {
width: 100%;
height: auto;
border-radius: 8px;
pointer-events: none;

-webkit-user-drag: none;
}

.author-kit-banner[dir="rtl"] {
flex-direction: row-reverse;
direction: rtl;
text-align: right;
}

.author-kit-banner[dir="rtl"] .banner-buttons {
justify-content: flex-end;
}

.author-kit-banner[dir="rtl"] .btn i {
margin-left: 8px;
margin-right: 0;
}


body[class*="author-kit"] a.disabled {
    pointer-events: none;  /* disables all mouse events */
    cursor: not-allowed;       /* shows default arrow instead of hand */
    color: #999;           /* optional: dim the color */
    text-decoration: none; /* optional: remove underline */
    opacity: 0.6;          /* optional: make it look disabled */
}


body[class*="author-kit"] .notice.notice-warning.is-dismissible {
    margin: 0px 37px !important;
}
