.loader-admin {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background: url("../images/loading-loader.gif") 50% 50% no-repeat rgb(249, 249, 249);
    background-size: 20%;
    opacity: 0.8;
}

/* Loader Styling Start */
body{
    margin: 0;
    padding: 0;
    /* position: relative; */
}

*{
    box-sizing: border-box;
}

.fontBold {
    font-weight: bold;
}

.fontSize10 {
    font-size: 10px;
    line-height: normal;
}

.fontSize12 {
    font-size: 12px;
    line-height: 15px;
}

.fontSize14 {
    font-size: 14px;
    line-height: 20px;
}

.fontSize16 {
    font-size: 16px;
    line-height: 24px;
    /* letter-spacing: 0.48px; */
}

.fontSize18 {
    font-size: 18px;
    line-height: 26px;
}

.fontSize20 {
    font-size: 20px;
    line-height: 25px;
}

.fontSize22 {
    font-size: 22px;
    line-height: 28px;
}

.fontSize24 {
    font-size: 24px;
    line-height: 30px;
}

.fontSize26 {
    font-size: 26px;
    line-height: 33px;
}

.fontSize28 {
    font-size: 28px;
    line-height: 36px;
}

.fontSize30 {
    font-size: 30px;
    line-height: 38px;
}

.fontSize32 {
    font-size: 32px;
    line-height: 41px;
}

.fontSize35 {
    font-size: 35px;
    line-height: 44px;
}

.fontSize36 {
    font-size: 36px;
    line-height: 46px;
}

.fontSize38 {
    font-size: 38px;
    line-height: 52px;
}

.fontSize52 {
    font-size: 52px;
}

.ring{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 20px;
    color: #3c3c3c;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 5px #3c3c3c;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}

.ring::before{
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #3c3c3c;
    border-right: 3px solid #3c3c3c;
    border-radius: 50%;
    animation: animateCircle 2s linear infinite;
}

.loaderspan{
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

.loaderspan::before{
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3c3c3c;
    top: -8px;
    right: -8px;
    box-shadow: 0 0 10px #3c3c3c;
}

.d-flex{
    display: flex;
}

@keyframes animateCircle{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

@keyframes animate{
    0%{
        transform: rotate(45deg);
    }
    100%{
        transform: rotate(405deg);
    }
}
/* Loader Styling End */


.footerNewClass {
    position: absolute;
    /* position: fixed; */
    bottom: 0px;
    left: 0px;
    width: 100%;
    margin-top: 100px;
}

.mainBodyNewPadding {
    padding-bottom: 70px;
}

.mainBodyTopPadding{
    padding-top: 12px;
}

.fixedImage {
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
}

.fixedImage img {
    object-fit: cover !important;
}

.centerImg img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

.userDetailsPage .form-group:not(:last-child) {
    margin-bottom: 15px;
}

.userDetailsPage .form-group label:first-child {
    font-weight: 700;
    color: #222121c2;
}

.signInHeading {
    margin-top: 25px;
}

/* Top left text */
.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Alert */
.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

.alert {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.alert.hide {
    opacity: 0;
}

.new-checkbox-class {
    display: flex;
    justify-content: center;
    align-items: center;
}

.breadcrumb {
    margin-bottom: 0px !important;
}

.profile-image {
    object-fit: contain;
}

/* .imageSize {
    max-height: 65px;
    height: 65px;
    justify-content: center;
    width: 100%;
}

.imageSize img {
    height: 100%;
    display: inline-block;
    float: left;
}

.imageContainer {
    padding-top: 7px;
    padding-bottom: 7px;
} */

.tinymce {
    height: 150px !important;
}

.passwordeye {
    margin-top: 9px;
}

.checkbox-area input[type="checkbox"]:not(:checked)+span {
    border: 1px solid #718096; /* Set your desired border color and size */
}

#notFoundImage{
    max-width: 25% !important;
}

/* #oldFilePreview{
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
} */

.preview-img{
    margin-top: 1rem;
    height: 10rem;
    width: 10rem;
    overflow: hidden;
    border-radius: 0.375rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(226 232 240 / var(--tw-border-opacity));
    object-fit: contain;
    padding: 0.25rem;
}

.previewImages{
    --tw-space-x-reverse: 0.5;
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.cross-btn {
    position: absolute;
    top: 21px;
    right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    background-color: rgb(30 41 59 / var(--tw-bg-opacity));
    border-radius: 50%;
    text-decoration: none;
    z-index: 1;
}

.smallText{
    text-transform: none;
}

.greenColor{
    background-color: #7fef7f7d;
}

.blueColor{
    background-color: #8b7fef7d;
}

.textGreen{
    color: rgba(0, 128, 0, 0.5);
}

.textBlue{
    color: rgba(0, 0, 255, 0.5);
}

.swal2-styled{
    padding: 5px 12px !important;
}
.swal2-title{
    font-size: 16px !important;
}
.swal2-html-container{
    font-size: 14px !important;
}
.swal2-icon{
    margin: 15px auto !important;
}

.d-none{
    display: none !important;
}

/* click cursor loader */
#customCursor {
    position: fixed;
    width: 32px; /* Adjust size as needed */
    height: 32px;
    pointer-events: none; /* Prevent interference with clicks */
    display: none;
    z-index: 9999999999999;
    transform: translate(-50%, -50%); /* Centers the GIF */
}

#customCursor img {
    width: 100%;
    height: 100%;
    animation: spinLoader 0.5s linear infinite;
}

/* loading image rotation animation to make it feel like it's spinning */
@keyframes spinLoader {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Circular Std', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
} */

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
} */

.api-header {
    text-align: center;
    margin-bottom: 1rem;
    /* animation: fadeInDown 1s ease-out; */
}

.api-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.api-header p {
    font-size: 1.2rem;
    font-weight: 300;
}

.api-overview {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    /* animation: slideInUp 1s ease-out; */
}

.api-overview h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.base-url {
    background: rgb(80 199 147 / var(--tw-text-opacity));
    /* border: 2px solid #ffffff; */
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #ffffff;
    margin: 1rem 0;
}

.X-API-Key {
    background: #334155;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #ffffff;
    margin: 1rem 0;
}

.endpoint-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* animation: slideInUp 1s ease-out; */
}

/* .endpoint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
} */

.endpoint-header {
    background: linear-gradient(135deg, #334155 0%, #334155 100%);
    color: white;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.endpoint-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); */
    /* transition: left 0.5s ease; */
}

.endpoint-card:hover .endpoint-header::before {
    left: 100%;
}

.endpoint-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.method-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 1rem;
}

.method-get {
    background: #4bc167;
    color: white;
}

.method-post {
    background: #4da3ff;
    color: white;
}

.endpoint-content {
    padding: 2rem;
}

.section {
    margin-bottom: 2rem;
}

.section h4 {
    color: #495057;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.parameters-table th {
    /* background: #f8f9fa; */
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    /* color: #495057; */
    font-size: 16px;
}

.parameters-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.parameters-table tr:last-child td {
    border-bottom: none;
}

.required {
    color: #dc3545;
    font-weight: 600;
}

.optional {
    color: #28a745;
    font-weight: 600;
}

.code-section {
    margin-bottom: 1.5rem;
}

.code-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.code-tab {
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}

.code-tab.active {
    background: #2d3748;
    color: white;
}

.code-tab:hover {
    background: #e9ecef;
    color: #495057;
}

.code-tab.active:hover {
    background: #2d3748;
    color: white;
}

.code-content {
    position: relative;
}

.code-block {
    display: none;
    position: relative;
}

.code-block.active {
    display: block;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #4facfe;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10;
}

.copy-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: #28a745;
}

pre {
    margin: 0;
    background: #2d3748 !important;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
}

.response-example {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 1.5rem;
    /* border-left: 4px solid #28a745; */
}

.response-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.status-200 {
    background: #d4edda;
    color: #155724;
}

.status-400 {
    background: #f8d7da;
    color: #721c24;
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
} */

.animate-pulse {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 10px;
    }

    .endpoint-content {
        padding: 1rem;
    }

    .code-tabs {
        flex-wrap: wrap;
    }

    .parameters-table {
        font-size: 0.9rem;
    }
}

.method-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-right: 5px;
    text-transform: uppercase;
}

.method-pill.GET { background-color: #28a745; }     /* Green */
.method-pill.POST { background-color: #007bff; }    /* Blue */
.method-pill.PUT { background-color: #fd7e14; }     /* Orange */
.method-pill.DELETE { background-color: #dc3545; }  /* Red */
.method-pill.PATCH { background-color: #6f42c1; }   /* Purple */

.panel-indicator {
    font-size: 16px !important;
    font-weight: bold !important;
    margin: 0px !important;
}

.response-example .language-json{
    max-height: 700px !important;
    border-radius: 10px;
}

html.dark .swal2-popup {
    background: #1e293b !important;
    color: #fff !important;
}

/* Show only black logo (default light mode) */
.dark-logo {
    display: inline;
}

.white-logo {
    display: none;
}

/* When dark mode is active */
html.dark .dark-logo {
    display: none;
}

html.dark .white-logo {
    display: inline;
}

html.dark .api-icon {
    filter: invert(1) brightness(200%);
}

html.dark .api-overview{
    background: #1e293b;
}

html.dark .endpoint-content{
    background: #1e293b;
}

html.dark .response-example{
    background: #1e293b;
}

html.dark .code-tabs{
    background: #1e293b;
}

.doc-auth-title{
    margin-top: 30px;
    font-size: 18px !important;
}
.users-listing-dashboard{
    height: -webkit-fill-available !important;
}
.logo-segment{
    padding-top: 0px;
}

/* =========================================
   API OVERVIEW
========================================= */

.api-overview {
    margin-bottom: 40px;
    background: white;
}

.api-overview > h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.api-overview > h2 i {
    margin-right: 8px;
}

.api-overview > p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* =========================================
   BASE URL
========================================= */

.base-url {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 35px;
}

.base-url code {
    font-size: 14px;
    color: #475569;
}


/* =========================================
   API GROUP
========================================= */

.api-group {
    margin-bottom: 35px;
}

.api-group-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.api-group-header > i {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 18px;
}

.api-group-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #334155;
}

.api-group-header p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #64748b;
}


/* =========================================
   ENDPOINT GRID
========================================= */

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* =========================================
   ENDPOINT CARD
========================================= */

.api-endpoint-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.05),
        0 8px 20px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.api-endpoint-card:hover {
    transform: translateY(-2px);

    border-color: #93c5fd;

    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.08),
        0 12px 28px rgba(15, 23, 42, 0.08);
}


/* =========================================
   METHOD BADGE
========================================= */

.api-method {
    min-width: 58px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;

    flex-shrink: 0;
}

/* .method-get {
    background: #ecfdf5;
    color: #059669;
}

.method-post {
    background: #eff6ff;
    color: #2563eb;
} */


/* =========================================
   ENDPOINT INFORMATION
========================================= */

.api-endpoint-info {
    min-width: 0;
    padding-right: 20px;
    padding-left: 20px;
}

.api-endpoint-info h4 {
    margin: 0;

    font-size: 16px;
    font-weight: 700;

    color: #334155;
}

.api-subtitle {
    display: block;

    margin-top: 2px;

    font-size: 13px;
    font-weight: 600;

    color: #64748b;
}

.api-endpoint-info code {
    display: inline-block;

    margin-top: 8px;

    font-size: 12px;

    color: #64748b;
    background: #f8fafc;

    padding: 4px 7px;

    border-radius: 4px;
}

.api-endpoint-info p {
    margin: 8px 0 0;

    font-size: 13px;
    line-height: 1.55;

    color: #64748b;
}


/* =========================================
   ARROW
========================================= */

.api-arrow {
    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 13px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.api-endpoint-card:hover .api-arrow {
    color: #3b82f6;

    transform:
        translate(3px, -50%);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .api-endpoints {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .api-endpoint-card {
        padding: 16px;
    }

    .api-group-header h3 {
        font-size: 17px;
    }

    .api-endpoint-info h4 {
        font-size: 15px;
    }

}
.base-url {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 35px;
}

.base-url-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.base-url-text {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.base-url-text strong {
    font-size: 14px;
    color: #334155;
    white-space: nowrap;
}

.base-url-text code {
    font-size: 14px;
    color: #475569;
    word-break: break-all;
}

.base-url-copy-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    border: 1px solid #cbd5e1;
    border-radius: 6px;

    background: #ffffff;
    color: #64748b;
    cursor: pointer;

    transition: all 0.2s ease;
}

.base-url-copy-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
}

.base-url-copy-btn.copied {
    background: #ecfdf5;
    border-color: #86efac;
    color: #16a34a;
}