@layer components {
    .doc-small-heading{
        @apply text-sm font-medium text-gray-400 uppercase block;
    }
    .doc-heading{
        @apply text-4xl text-gray-900 font-semibold capitalize mb-6;
    }
    .doc-sub-heading{
        @apply text-2xl text-gray-900 font-semibold capitalize mb-2;
    }
    .doc-paragraph-big{
        @apply text-base text-gray-600 leading-8;
    }
    
    .alert-box{
        @apply bg-indigo-50 p-5  rounded-xl;
    }
    .alert-box-heading{
        @apply text-indigo-600 font-semibold text-base;
    }
    .alert-box-paragraph{
        @apply mt-2 text-gray-800;
    }
    .alert-box-paragraph a{
        @apply text-indigo-600 font-semibold hover:text-indigo-700;
    }
    .alert-box-link{
        @apply inline-flex items-center gap-x-1.5 text-indigo-600 hover:underline font-semibold;
    }
    #mainContent .page-para{
        @apply text-base text-gray-600 leading-8 mb-4;
    }
    #mainContent .page-list {
        @apply list-disc;
    }
     #mainContent .page-list {
        @apply pl-4;
    }
    #mainContent .page-list>li {
        @apply text-base text-gray-600 mb-4 leading-8;
    }
     #mainContent .page-para>code, #mainContent .page-list>li>code {
        @apply text-indigo-600 text-sm px-1;
    }
    .code-preview{
        @apply flex p-4 lg:p-8 bg-white border border-gray-200 rounded-t-2xl overflow-x-auto;
    }
    .code-syntax{
        @apply relative border-gray-200  border-x border-b rounded-b-2xl;
    }
    .code-syntax-head{
        @apply grid w-full grid-cols-2 border-b border-gray-200 pl-4;
    }
    .code-head-list{
        @apply flex text-base font-medium text-center text-gray-900 !pl-0 !list-none;
    }
    .code-head-list>li{
        @apply !mb-0 !leading-none;
    }
    .code-head-list>li>a{
       @apply inline-block w-full p-4 px-3 text-gray-800 uppercase active:border-b border-gray-800;
    }
    
    .code-copy-button{
        @apply flex justify-end items-center text-center;
    }
    .code-copy-button button{
        @apply w-12 flex justify-center items-center border-l border-gray-200;
    }
    .code-main{
        @apply bg-gray-50 relative rounded-b-2xl;
    }
    .code-wrapper{
        @apply overflow-x-auto overflow-y-hidden max-h-72 rounded-b-2xl;
    }
   
    .code-wrapper :not(pre)>code[class="language-javascript"], pre[class="language-javascript"]{
        @apply bg-gray-50;
    }
    .code-wrapper pre[class*="language-"] {
        @apply p-5 overflow-x-auto mb-0;
    }
    .code-wrapper .token.tag, .code-wrapper .token.class-name, .code-wrapper .token.selector, .code-wrapper .token.selector .class, .code-wrapper .token.selector.class{
        color: #9E1D82;
    }
    .code-wrapper .token.function {
        color: #38ca53;
    }
    .code-wrapper .token.punctuation {
        color: #909090;
    }
    .code-wrapper  code[class*="language-"], .code-wrapper  pre[class*="language-"]{
        color: #000000;
    
    }   
    .code-wrapper .token.attr-name, .code-wrapper .token.keyword, .code-wrapper .token.rule, .code-wrapper .token.pseudo-class, .code-wrapper .token.important {
        color: #3ACB49;
    }
    .code-wrapper .token.attr-value, .code-wrapper .token.class, .code-wrapper .token.string, .code-wrapper .token.property {
        color: #276bff;
    }
    .code-exapnd-button {
        @apply absolute bottom-0 left-0 py-2.5 px-5 w-full text-sm font-medium text-gray-900 bg-gray-100 border-t border-gray-200 rounded-b-2xl hover:bg-gray-100 hover:text-indigo-600;
    }
    code.language-javascript {
        color:#FF9800!important;
    }
    .bg-stripes-indigo {
        background-color: #38bdf81a;
        background-image: linear-gradient(135deg,#5551FF 10%,#0000 0,#0000 50%,#5551FF 0,#5551FF 60%,#0000 0,#0000);
        background-size: 7.07px 7.07px;
    }
    
    .range {
        position: relative;
      }
      
      .range input[type=range] {
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
        padding: 0;
        width: 100%;
        height: 22px;
        cursor: pointer;
        display: block;
      }
      
      .range input[type=range]:focus {
        outline: none;
      }
      
      .range input[type=range][disabled] {
        opacity: 0.3;
        cursor: default;
      }
      
      .range .rangeslider {
        position: relative;
        height: 22px;
        cursor: pointer;
        -webkit-user-select: none;
           -moz-user-select: none;
                user-select: none;
      }
      
      .range .rangeslider:before {
        box-sizing: border-box;
        width: 100%;
        height: 2px;
        background: #5551FF;
        border-radius: 100px;
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
      }
      
      .range input::-webkit-slider-runnable-track {
        box-sizing: border-box;
        width: 100%;
        height: 2px;
        background: #e6e6e6;
        border-radius: 100px;
        margin: 11px 0;
      }
      
      .range input::-moz-range-track {
        box-sizing: border-box;
        width: 100%;
        height: 2px;
        background: #e6e6e6;
        border-radius: 100px;
        margin: 11px 0;
      }
      
      .range input::-ms-track {
        box-sizing: border-box;
        width: 100%;
        height: 2px;
        background: #e6e6e6;
        border-radius: 100px;
        color: transparent;
        padding: 11px 0;
        background: transparent;
        border-color: transparent;
      }
      
      .range input::-ms-fill-lower,
          .range input::-ms-fill-upper {
        box-sizing: border-box;
        width: 100%;
        height: 2px;
        background: #e6e6e6;
        border-radius: 100px;
      }
      
      .range input::-ms-fill-lower {
        background: #5551FF;
      }
      
      .range .rangeslider-fill-lower {
        background-color: #5551FF;
        border-radius: 100px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 2px;
        will-change: width;
      }
      
      .range input::-webkit-slider-thumb {
        box-sizing: border-box;
       
        border: 4px solid #5551FF;
        height: 16px;
        width: 16px;
        border-radius: 100px;
        background: #ffffff;
        cursor: pointer;
        -webkit-appearance: none;
                appearance: none;
        transform: translateY(-50%);
        margin-top: 1px;
      }
      
      .range input::-moz-range-thumb {
        box-sizing: border-box;
        box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
        border: 6px solid #fff;
        height: 24px;
        width: 24px;
        border-radius: 100px;
        background: #333940;
        cursor: pointer;
      }
      
      .range input::-ms-thumb {
        box-sizing: border-box;
        box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
        border: 6px solid rgb(49, 4, 249);
        height: 24px;
        width: 24px;
        border-radius: 100px;
        background: #ffffff;
        cursor: pointer;
      }
      
      .range .rangeslider-thumb {
        box-sizing: border-box;
        box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.5);
        border: 6px solid #fff;
        height: 24px;
        width: 24px;
        border-radius: 100px;
        background: #333940;
        cursor: pointer;
        position: absolute;
        touch-action: pan-x;
        top: 50%;
        transform: translateY(-50%);
        will-change: left;
      }
      
      .range .range-output {
        position: absolute;
        left: 6px;
        top: 6px;
        transform-origin: 0 0;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        -webkit-user-select: none;
           -moz-user-select: none;
                user-select: none;
      }
      
      .range .range-output .output {
        display: block;
        position: absolute;
        height: 60px;
        line-height: 60px;
        min-width: 32px;
        padding: 0 20px;
        top: -2px;
        transform: translate(-50%, -100%);
        background: #383c42;
        color: #fff;
        border-radius: 100px;
        white-space: nowrap;
        font-weight: bold;
        font-size: 1.2em;
        text-align: center;
      }
      
      .range .range-output .output:before {
        content: "";
        position: absolute;
        bottom: - 12px;
        left: 50%;
        border: 10px solid #383c42;
        border-bottom: none;
        border-left-color: transparent;
        border-right-color: transparent;
        transform: translateX(-50%);
      }
    .tooltip-placement-top{
        @apply top-0;
    }
    .tooltip-placement-right{
        @apply right-0;   
    }
    .tooltip-placement-bottom{
        @apply bottom-0;
    }
    .tooltip-placement-left{
        @apply left-0;
    }
    .tooltip[data-tooltip-placement^=top]
    .tooltip[data-tooltip-placement^=top]>.tooltip-arrow {
        top: -4px;
    }
    .tooltip[data-tooltip-placement^=right]>.tooltip-arrow {
        right: -4px;
    }
    .tooltip[data-tooltip-placement^=bottom]>.tooltip-arrow {
        bottom: -4px;
    }
    .tooltip[data-tooltip-placement^=left]>.tooltip-arrow {
        left: -4px;
    }
    .category-list{
        @apply overflow-x-auto;
    }
    .category-list>a{
        @apply whitespace-nowrap;
    }
    .category-list>a.active{
        @apply border-indigo-600 text-indigo-600;
    }
    select{
        text-indent: 1px;
        text-overflow: '';
        width: 50px;
        height: 50px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: transparent url("https://pagedone.io/asset/uploads/1695813759.png") no-repeat 98% center;
    }
  .select-hidden {
	display: none;
	visibility: hidden;
	padding-right: 10px;
}

.select {
	position: relative;
	display: inline-block;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-bottom: 0px!important;
	width: 100%;
	
	cursor: pointer;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.select-styled {
	position: relative;
	display: flex;
	align-items: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-bottom: 0px!important;
	width: 100%;
	font-size: 14px;
	background: transparent;
	border: 1px solid #fff;
    background: #fff;
	color: #111827;
	padding: 6px 30px 6px 12px;
	border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.10);
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.select-styled:after {
  content: "";
  position: absolute;
  top: 12px;
  right: 10px;
  width: 12px;                /* give it width */
  height: 12px;               /* give it height */
  background: url('https://pagedone.io/asset/uploads/1759311720.png') no-repeat center;
  background-size: contain;   /* scale properly */
  pointer-events: none;       /* optional: don’t block clicks */
}

.select-options {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 999;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #fff;
	-webkit-box-shadow: 0 11px 5px rgba(0, 0, 0, .09);
	box-shadow: 0 11px 5px rgba(0, 0, 0, .09);
	background: #fff;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
    border-radius: 10px;
    margin-top: 5px;
}

.select-options li {
	position: relative;
	display: block;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 500;
	color: #171717;
	cursor: pointer;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.select-options li:hover {
	background: #F7F9FF;
    color:#4f46e5;
}

.select-options li[rel="hide"] {
	display: none;
}
    .account-list li>a{
        color: #6B7280;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 44px; 
        padding: 0px 30px;
        margin-bottom: 5px;
        display: block;
        transition: all .6s ease-in-out;
        position: relative;
        
    }
    .account-list li>a:hover,.account-list li>a.active{
        color: #4F46E5;
    }
    .account-list li>a:hover:before,.account-list li>a.active:before{
        width: 2px;
    }
    .account-list li>a:before{
        content: '';
        position: absolute;
        width: 0px;
        height: 20px;
        background: #4F46E5;
        right: 0;
        top:10px;
        bottom: 0;
        border-radius: 20px;
        transition: all .6s ease-in-out;
    }
    .shadow-inner-custom{ box-shadow: 0px -4px 9px 0px #0000001A inset; }
    .shadow-outer {box-shadow: 0px 4px 0px 0px #00000014;}
    .shadow-custom{
      box-shadow:inset 0px -4px 0px 0px #0000000F,  0px 0px 0px 2px #0000000D;
  }
   .compo-card-title {
        @apply font-semibold text-lg leading-5 text-primary-black mb-2
    }

    .only-icon-btn {
        @apply bg-white whitespace-nowrap cursor-pointer text-primary-black rounded-lg p-2.5 font-medium font-inter text-sm transition-all duration-500 hover:shadow-sm
    }

    .copy-component-btn {
        @apply w-full flex items-center justify-between border border-theme-border bg-white text-primary-black rounded-lg py-3 px-[15px] text-sm leading-5 font-medium shadow-[0_1px_5px_0_rgba(16,24,40,0.05)] transition-all duration-500 hover:border-[#c9c9c9]
    }

    .compo-card-text {
        @apply text-sm leading-[17px] text-semi-black truncate
    }

    .dropdown {
        position: relative;
        cursor: pointer;
    }

    .drop-top {
        border-radius: 8px;
        cursor: pointer;
        padding: 6px 0 6px 6px;
        color:#7C8586;
        transition: all .6s ease-in-out;
    }


    .drop-top.active {
        background: #EEF2FF !important;
        color: #4F46E5 !important;
    }

    .dropbtn .arrow-svg {
        transition: all 0.6s ease-out;
    }

    .dropdown-content-rel {
        display: none;
        position: relative;
        background: transparent;

    }

    .dropdown-content-rel a {
        padding: 10px 0px 10px 32px;
    }

    .dropbtn.active .arrow-svg {
        transform: rotate(90deg);
    }

    .card .relative img {
        @apply border-[0.5px] border-[#e5e7eb] rounded-[14px];
    }

    .pro-detail-pera {
        @apply text-sm leading-[20px] text-semi-black
    }

    .input-field {
        @apply mt-1.5 w-full py-2.5 text-base leading-[26px] font-normal text-primary-black placeholder:text-semi-black px-4 border border-theme-border rounded-lg focus:outline-none transition-all duration-300 hover:border-[#c9c9c9] focus:border-[#0CF279]
    }

    .input-lable {
        @apply text-sm leading-[22px] font-medium text-primary-black pb-1.5
    }
   .menu-item.active>.drop-top .side-link {
        color: #002225 !important;
    }
    /*==modal===*/
    .modalTrigger.modal-show {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  .modalTrigger.modal-hide {
    opacity: 0;
    visibility: hidden;
  }
 
  .modal-bg{
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.20) 0%, rgba(79, 70, 229, 0.10) 12.5%, rgba(124, 58, 237, 0.05) 25%, rgba(124, 58, 237, 0.00) 50%), #FFF;
  }
  .modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 1001;
    overflow: auto;
    max-width: max-content;
  }
    @media(max-width:768px){
        .account-list li>a{
            padding: 0px 10px;
        }
    }
    @media(max-width:767px){
       
        .account-list{
            display: flex;
            overflow-x: auto;
            width: 100%;
        }
        .account-list>li>a{
            white-space: nowrap;
        }
        .account-list li>a:hover:before, .account-list li>a.active:before{
            content:none;
        }
    }
}
