@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:wght@200;300;400;500;600;700&display=swap');

:root {
    --bg-black-900: #f2f2fc;
    --bg-black-100: #fdf9ff;
    --bg-black-50: #e9dfec;
    --text-black-900: #302e4d;
    --text-black-700: #504e70;
}
body.dark
{
    --bg-black-900: #151515;
    --bg-black-100: #222222;
    --bg-black-50: #393939;
    --text-black-900: #ffffff;
    --text-black-700: #e9e9e9;
}

body {
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Poppins' sans-serif;
}
* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
::before,
::after {
    box-sizing: border-box;
}
ul {
    list-style: none;
}
.section {
    background: var(--bg-black-900);
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    opacity: 1;
    position: fixed;
    left: 270px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
}
.section.back-section
{
    z-index: 1;
}
.section.active
{
    z-index: 2;
    opacity: 1;
    animation: slideSection 1s ease;
}
@keyframes slideSection
{
    0%
    {
        transform: translateX(100%);
    }
    100%
    {
        transform: translateX(0%);
    }
}

.hidden {
    display: none !important;
}

.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}
.container {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}
.section .container {
    padding-top: 60px;
    padding-bottom: 70px;
}
.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 40px;
    color: var(--text-black-900);
    font-weight: 700;
    position: relative;
}
.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
}
.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}
.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    color: white;
    border-radius: 40px;
    display: inline-block;
    white-space: nowrap;
    border: none;
    background-color: var(--skin-color);
    transition: all 0.3s ease;
}
.btn:hover {
    transform: scale(1.06);
}
.shadow-dark
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
/* aside */
.aside {
    width: 270px;
    background: var(--bg-black-100);
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--bg-black-50);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}
.aside .logo {
    position: absolute;
    top: 50px;
    font-size: 30px;
    text-transform: capitalize;
}
.aside .logo a {
    color: var(--text-black-900);
    font-weight: 700;
    padding: 15px 20px;
    font-size: 30px;
    letter-spacing: 5px;
    position: relative;
}
.aside .logo a span {
    font-family: 'Clicker Script', cursive;
    font-size: 40px;
}
.aside .logo a::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid var(--skin-color);
    border-left: 5px solid var(--skin-color);
    bottom: 0;
    left: 0;
}
.aside .logo a::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--skin-color);
    border-right: 5px solid var(--skin-color);
    top: 0;
    right: 0;
}
.aside .nav-toggler {
    height: 40px;
    width: 45px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.aside .nav-toggler span {
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    display: inline-block;
    position: relative;
}
.aside .nav-toggler.open span
{
    background-color: transparent;
}
.aside .nav-toggler span::before {
    content: '';
    height: 2px;
    width: 18px;
    background-color: var(--skin-color);
    position: absolute;
    top: -6px;
    left: 0;
}
.aside .nav-toggler.open span::before
{
    transform: rotate(45deg);
    top: 0;
}
.aside .nav-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background-color: var(--skin-color);
    position: absolute;
    top: 6px;
    left: 0;
}
.aside .nav-toggler.open span::after
{
    transform: rotate(-45deg);
    top: 0;
}
.aside .nav {
    margin-top: 50px;
}
.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--bg-black-50);
    color: var(--text-black-900);
    padding: 5px 15px;
}
.aside .nav li a.active {
    color: var(--skin-color);
}
.aside .nav li a i {
    margin-right: 15px;
}
/* Home */
.home {
    min-height: 100vh;
    display: flex;
    color: var(--text-black-900);
}
.home .home-info {
    flex: 0 0 60%;
    max-width: 60%;
}
h3.hello {
    font-size: 28px;
    margin: 15px 0;
}
h3.hello span {
    font-family: 'Clicker Script', cursive;
    font-size: 30px;
    font-weight: 700;
    color: var(--skin-color);
}
h3.my-profession {
    font-size: 30px;
    margin: 15px 0;
}
.typing {
    color: var(--skin-color);
}
.home-info p {
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-black-700);
}
.home .home-img {
    flex: 0 0 40%;
    max-width: 40%;

    text-align: center;
    position: relative;
}
.home-img::after {
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-bottom: 10px solid var(--skin-color);
    border-right: 10px solid var(--skin-color);
    right: 20px;
    bottom: -40px;
}
.home-img::before {
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-top: 10px solid var(--skin-color);
    border-left: 10px solid var(--skin-color);
    left: -20px;
    top: -40px;
}
.home .home-img img {
    margin: auto;
    border-radius: 5px;
    height: 400px;
}
/* About */
.about .about-content {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-black-900);
}
.about .about-content .about-text h3 span {
    color: var(--skin-color);
}
.about .about-content .about-text p {
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
}
.about .about-content .personal-info {
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}
.about .about-content .personal-info .info-item {
    flex: 0 0 50%;
    max-width: 50%;
}
.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px;
    font-size: 16px;
    color: var(--text-black-900);
    border-bottom: 1px solid var(--bg-black-50);
}
.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: var(--text-black-700);
    margin-left: 4px;
    display: inline-block;
}
.about .about-content .personal-info .buttons {
    margin-top: 30px;
}
.about .about-content .personal-info .buttons .btn {
    
    margin-top: 10px;
}
.about .about-content .skills {
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}
.about .about-content .skills .skill-item {
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .skills .skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-black-900);
    text-transform: capitalize;
}
.about .about-content .skills .skill-item .progress {
    background-color: var(--bg-black-50);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}
.about .about-content .skills .skill-item {
    margin-bottom: 25px;
}
.about .about-content .skills .skill-item .progress .progress-in {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: var(--skin-color);
}
.about .about-content .skills .skill-item .skill-percent {
    position: absolute;
    right: 0;
    color: var(--text-black-900);
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}
.about .about-content .education,
.about .about-content .experience
{
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}
.about .about-content h3.title
{
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-black-900);
}
.about .about-content .timeline-box
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .timeline
{
    background-color: var(--bg-black-100);
    padding: 30px 15px;
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    width: 100%;
    position: relative;
}
.about .about-content .timeline .timeline-item
{
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}
.about .about-content .timeline .timeline-item .timeline-item:last-child
{
    padding-bottom: 0;
}
.about .about-content .timeline .timeline-item::before
{
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: var(--skin-color);
}
.about .about-content .timeline .circle-dot
{
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: var(--skin-color);
}
.about .about-content .timeline .timeline-date
{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-black-700);

}
.about .about-content .timeline .timeline-date .fa 
{
    margin-right: 5px;
}
.about .about-content .timeline .timeline-title
{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--text-black-900);
}
.about .about-content .timeline .timeline-text
{
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
    color: var(--text-black-700);
}
/*service*/
.service .container
{
    padding-bottom: 40px;
}
.service .service-item
{
    
    margin-bottom: 30px;
    flex: 0 0 40.43%;
    max-width: 33.33%;

}
.service .service-item .service-item-inner
{
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;

}
.service .service-item .service-item-inner
{
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;


}

.service .service-item .service-item-inner:hover
{
    box-shadow: 0 0 50px rgba(48, 46, 77, 0.15);
}

.service .service-item .service-item-inner .icon
{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: block;
    
    margin:  0 auto 30px;
    text-align: center;
    transition: all 0.50s ease;
}

.service .service-item .service-item-inner .icon .fa
{
    font-size: 40px;
    line-height: 60px;
    color: var(--skin-color);
    transition: all 0.50s ease  ;

}
.service .service-item .service-item-inner:hover .icon
{
    background: var(--skin-color);
}
.service .service-item .service-item-inner:hover .icon .fa
{
    font-size: 25px;
    color: #ffffff;
}
.service .service-item .service-item-inner h4
{
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
    
}
.service .service-item .service-item-inner p
{
    font-size: 16px;
    color: var(--text-black-700);
    line-height: 25px;
}
/*portfolio*/
.portfolio .container
{
    padding-bottom: 40px;
}
.portfolio .portfolio-heading
{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.portfolio .portfolio-heading h2
{
    color: var(--text-black-900);
    font-weight: 500;
}
.portfolio .portfolio-item
{
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}
.portfolio .portfolio-item-inner
{
    border: 6px solid var(--bg-black-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio .portfolio-item-inner .portfolio-img img
{
    width: 100%;
    display: block;
}


/*library*/
/* yha h2 ko h1 kiya r .section-title h1::before or after 2no add kiye khud */
.library.container
{
    padding-bottom: 40px;
}
.library .library-heading
{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.library .library-heading h1
{
    color: var(--text-black-900);
    font-weight: 500;
}
.section-title h1::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 60px;
    left: 20px;
}
.section-title h1::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top: 60px;
    left: 20px;
    margin-top:8px;
}
::before, ::after {
    box-sizing: border-box;
}
.library .library-item
{
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}
.library .library-item-inner
{
    border: 6px solid var(--bg-black-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.library .library-item-inner .library-img img
{
    width: 100%;
    display: block;
}





/*contact*/
.contact-title 
{
    color: var(--skin-color);
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}
.contact-sub-title 
{
    color: var(--text-black-900);
    text-align: center;
    font-size: 15px;
    margin-bottom: 60px;
}
.contact .contact-info-item
{
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;

}
.contact .contact-info-item .icon
{
    display: inline-block;
}
.contact .contact-info-item .icon .fa
{
    font-size: 25px;
    color: var(--skin-color);

}
.contact .contact-info-item h4
{
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 15px 0 5px;
}
.contact .contact-info-item p
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-black-700);
    font-weight: 400;
}
.contact .contact-form
{
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .col-6
{
    flex: 0 0 50%;
    max-width: 50%;
    
}
.contact .contact-form .col-12
{
    flex: 0 0 100%;
    max-width: 100%;
    
    
}
.contact .contact-form .form-item
{
    margin-bottom: 30px;

}
.contact .contact-form .form-item .form-control
{
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-black-700);
    transition: all 0.3s ease;

}
.contact .contact-form .form-item .form-control:focus
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.contact .contact-form .form-item textarea.form-control
{
    height: 140px;
}
.contact .contact-form .btn
{
    height: 50px;
    padding: 0 50px;
}
/* Responsive Media Queries 


is chatGPT sy kia hai ik bar phir check kru ga



*/

/* Large Devices (Desktops, 992px and up) */
@media (max-width: 1199px) {

    .section .container
    {
        padding-top: 70px;    }
    .aside 
    {
        left: -270px;
    }
    .aside.open
    {
        left: 0;
    }
    .aside .nav-toggler
    {
        display: flex;
        left: 30px;
    }
    .aside .nav-toggler.open
    {
        left: 300px;
    }
    .section
    {
        left: 0;
    }
    .section.open
    {
        left: 270px;
    }
    .about .about-content .personal-info .info-item p span {
        display: block;
        margin: 0;
    }
}

/* Medium Devices (Tablets, 768px to 991px) */
@media (max-width: 991px) {
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home .home-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* Small Devices (Landscape Phones, 576px to 767px) */
@media (max-width: 767px) {
    .contact .contact-form .col-6,
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .experience,
    .about .about-content .education,
    .about .about-content .skills,
    .about .about-content .personal-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img {
        width: 100%;
        height: auto;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 130px) {
    body {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
    }

    .contact .contact-info-item p {
        font-size: 12px;
    }

    .contact .contact-form .form-control {
        padding: 10px;
    }

    .home .home-img {
        width: 100%;
        height: auto;
    }
}


/* Library CSS */


/* ================================
   SERVICE NOW DOCS STYLE
   ================================ */

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue",
                 Arial, sans-serif;
    color: #1f2933;
    line-height: 1.7;
}

/* Layout */
.library-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;
}

/* Headings */
.library-container h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.library-container h2 {
    font-size: 26px;
    margin-top: 40px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
}

.library-container h3 {
    font-size: 20px;
    margin-top: 30px;
}

/* Paragraphs */
.library-container p {
    font-size: 16px;
    margin: 14px 0;
    
}

/* Search */
#search {
    width: 100%;
    padding: 10px 14px;
    margin: 20px 0 40px;
    font-size: 15px;
    border: 1px solid #cfd7df;
    border-radius: 6px;
}

/* Post list */
.post-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.post-item h3 {
    margin: 0;
}

.post-item a {
    text-decoration: none;
    color: #0b5ed7;
}

.post-item a:hover {
    text-decoration: underline;
}

.post-meta {
    font-size: 13px;
    color: #6b7280;
    margin: 6px 0;
}

/* Back link */
.back-link {
    display: inline-block;
    position: sticky;
     z-index: 2;
    top: 40px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #0b5ed7;
    text-decoration: none;
    opacity: 0.9;

    align-self: flex-start;
}

.back-link:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Markdown content */
#post-content {
    min-width: 0;
}


/* Code blocks */
pre {
    background: transparent;
    padding: 16px;
    overflow-x: auto;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

code {
    background: transparent;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

/* Lists */
ul {
    padding-left: 22px;
}

li {
    margin: 6px 0;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #0b5ed7;
    padding-left: 14px;
    color: #374151;
    background: #f9fafb;
    margin: 20px 0;
}
/* Documentation layout */
.doc-layout {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 32px;
}

/* TOC */
#toc {
    position: sticky;
    top: 40px;
    font-size: 14px;
    border-left: 2px solid #e5e7eb;
    padding-left: 16px;

    align-self: flex-start;
}

#toc h4 {
    margin-top: 0;
    position: sticky;
    font-size: 14px;
    text-transform: uppercase;
    color: #6b7280;
}

#toc ul {
    position: sticky;
    list-style: none;
    padding-left: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

#toc li {
    margin: 8px 0;
}

#toc a {
    color: blue;
    text-decoration: none;
}

#toc a:hover {
    color: #437fff;
}

/* Responsive */
@media (max-width: 900px) {
    .doc-layout {
        grid-template-columns: 1fr;
    }

    #toc {
        display: none;
    }
}

/* Code block copy button */
pre {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #0b5ed7;
    color: #fff;
    border: none;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.9;
}

.copy-btn:hover {
    opacity: 1;
}
/* Heading anchor links */
.anchor-link {
    margin-left: 8px;
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    visibility: hidden;
}

#post-content h2:hover .anchor-link,
#post-content h3:hover .anchor-link {
    visibility: visible;
}

.anchor-link:hover {
    color: #0b5ed7;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-filters button {
    border: 1px solid #cfd7df;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.category-filters button.active {
    background: #0b5ed7;
    color: #fff;
    border-color: #0b5ed7;
}

/* ================================
   ServiceNow-style Callouts
   ================================ */

.callout {
    border-left: 4px solid;
    padding: 14px 16px;
    margin: 24px 0;
    border-radius: 4px;
    background: #f9fafb;
    font-size: 15px;
}

.callout-title {
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* NOTE */
.callout-note {
    border-color: #0b5ed7;
}

.callout-note .callout-title {
    color: #0b5ed7;
}

/* WARNING */
.callout-warning {
    border-color: #d97706;
    background: #fff7ed;
}

.callout-warning .callout-title {
    color: #b45309;
}

/* TIP */
.callout-tip {
    border-color: #059669;
    background: #ecfdf5;
}

.callout-tip .callout-title {
    color: #047857;
}

/* INFO */
.callout-info {
    border-color: #2563eb;
    background: #eff6ff;
}

.callout-info .callout-title {
    color: #1d4ed8;
}
/* IMPORTANT */
.callout-important {
    border-color: #dc2626;
    background: #fef2f2;
}

.callout-important .callout-title {
    color: #b91c1c;
}

/* ================================
   VERSION TABS (ServiceNow Style)
   ================================ */

.version-tabs {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin: 30px 0;
}

.version-tab-buttons {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.version-tab-buttons button {
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.version-tab-buttons button.active {
    border-bottom-color: #0b5ed7;
    color: #0b5ed7;
    font-weight: 600;
}

.version-tab-content {
    display: none;
    padding: 16px;
}

.version-tab-content.active {
    display: block;
}


/* =========================
   DARK MODE (ServiceNow Style)
========================= */

body.dark {
    background-color: #0f172a;
    color: #e5e7eb;
}

/* Main container */
body.dark .library-container {
    background-color: #0f172a;
}

/* Headings */
body.dark h1,
body.dark h2,
body.dark h3 {
    color: #f8fafc;
}

/* Links */
body.dark a {
    color: #ffffff;
}

/* Search */
body.dark input {
    background: #020617;
    border-color: #334155;
    color: #e5e7eb;
}

/* Post cards */
body.dark .post-item {
    border-bottom: 1px solid #1e293b;
}

/* TOC */
body.dark #toc {
    background: #020617;
    border-right: 1px solid #1e293b;
}

/* Code blocks */
body.dark pre {
    background: #020617;
    color: #e5e7eb;
}

/* Copy button */
body.dark .copy-btn {
    background: #1e40af;
}

/* Version tabs */
body.dark .version-tabs {
    background: #020617;
    border: 1px solid #1e293b;
}

body.dark .version-tab-buttons button {
    background: #020617;
    color: #cbd5f5;
    border-color: #1e293b;
}

body.dark .version-tab-buttons button.active {
    background: #1e40af;
    color: white;
}

/* Callouts */
body.dark .callout {
    background: #020617;
}

body.dark .callout-note {
    border-left-color: #3b82f6;
}

body.dark .callout-warning {
    border-left-color: #facc15;
}

body.dark .callout-tip {
    border-left-color: #22c55e;
}

body.dark .callout-info {
    border-left-color: #38bdf8;
}

body.dark .callout-important {
    border-left-color: #ef4444;
}

/* Callouts */ 

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 24px;
    background: black;
    border: none;
    border-radius: 50%;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.2s ease;
}


#theme-toggle:hover::after {
    opacity: 1;
}

body.dark .theme-toggle {
    background: #9e9d4a;
    color: #f8fafc;
}


/*Photo's*/

#post-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 16px 0;
}

#post-content figure {
    margin: 24px 0;
    text-align: center;
}

#post-content figcaption {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}


.doc-image {
    margin: 24px 0;
    text-align: center;
}

.doc-image img {
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border-color, #ddd);
}

.doc-image figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}


/* =============================
   DEEP IMAGE ZOOM (FLOWCHART SAFE)
============================= */

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    overflow: auto;
    cursor: grab;
}

.image-lightbox:active {
    cursor: grabbing;
}

.image-lightbox img {
    display: block;
    margin: 60px auto;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    transform-origin: center center;
    transition: transform 0.15s ease-out;
}

/* Zoom hint */
.image-zoom-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-size: 13px;
    opacity: 0.8;
}


.image-toolbar {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 10001;
}

.image-toolbar button {
    background: #0b5cff;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.image-toolbar button:hover {
    background: #437fff;
    content: attr(data-tooltip);
}


.image-minimap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 160px;
    height: 120px;
    overflow: hidden;
    background: rgba(0,0,0,0.6);
    border-radius: 8px;
    z-index: 10001;
}

.image-minimap img {
    width: 100%;
    transform-origin: top left;
    opacity: 0.8;
}

.zoomed-image {
    max-width: none;
    max-height: none;
    user-select: none;
    cursor: grab;
}

.image-lightbox {
    cursor: default;
}

.zoomed-image {
    cursor: grab;
}

.zoomed-image:active {
    cursor: grabbing;
}



.image-minimap {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 160px;
    background: rgba(0,0,0,0.7);
    border-radius: 8px;
    overflow: hidden;
    z-index: 10000;
    cursor: pointer;
}

.image-minimap img {
    width: 100%;
    display: block;
    opacity: 0.75;
    pointer-events: none;
}

.image-minimap-viewport {
    position: absolute;
    border: 2px solid #3b82f6;
    background: rgba(59,130,246,0.15);
    pointer-events: none;
}


/* Wider layout for single post pages */
.library-container.post-page {
    max-width: 1200px;
}


.image-toolbar button {
    position: relative;
}

/* Tooltip */
.image-toolbar button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

/* Show on hover */
.image-toolbar button:hover::after {
    opacity: 1;
}




/* =========================
   LIBRARY SECTION — THEME AWARE
   (index.html only)
========================= */

.library .library-heading h1,
.library .library-heading h2 {
    color: var(--skin-color);
}

.library p,
.library .post-meta,
.library li {
    color: var(--text-black-700);
}

.library a {
    color: var(--skin-color);
}

.library a:hover {
    opacity: 0.85;
}

.library .library-item-inner {
    border-color: var(--bg-black-50);
}

/* =========================
   CATEGORY FILTERS — THEME AWARE
   (index.html library section)
========================= */

.category-filters button {
    border: 1px solid var(--bg-black-50);
    background: var(--bg-black-100);
    color: var(--text-black-900);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-filters button:hover {
    border-color: var(--skin-color);
    color: var(--skin-color);
}

.category-filters button.active {
    background: var(--skin-color);
    color: #ffffff;
    border-color: var(--skin-color);
}


/* =========================
   LIBRARY SECTION — POST HEADINGS THEME FIX
   (index.html)
========================= */

.library .post-item h3,
.library .post-item h3 a,
.library .library-item h3 {
    color: var(--skin-color);
}

.library .post-item h3 a:hover {
    opacity: 0.85;
}


/* =========================
   CATEGORY FILTERS — DARK MODE FIX
========================= */

body.dark .category-filters button {
    background: #020617;
    color: #e5e7eb;
    border-color: #334155;
}

body.dark .category-filters button:hover {
    color: var(--skin-color);
    border-color: var(--skin-color);
}

body.dark .category-filters button.active {
    background: var(--skin-color);
    color: #ffffff; /* force white */
    border-color: var(--skin-color);
}


