@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");

html, body{overflow-x: hidden;}
body{font-family: "Poppins", Sans-serif!important;}

label,
button {
    cursor: pointer;
}

figure {
    margin-inline: 0;
    margin-block: 0.25rem;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
    font-size: inherit;
    line-height: 1.1;
}

#checkbox-input{
    display: none;
}

.col-2 {
  flex: 0 0 auto;
  width: 19.666667%;
}
.col-5 {
  flex: 0 0 auto;
  width: 39.666667%;
}
.col-3 {
  flex: 0 0 auto;
  width: 20%;
}



  .bg-light-blue { background-color: #f0f8ff; }
  .bg-light-green { background-color: #f0fff4; }
  .bg-light-purple { background-color: #f8f0ff; }
  .bg-light-yellow { background-color: #fffff0; }
  
  .accordion-button:not(.collapsed) {
    box-shadow: none;
  }
  
  .form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: #666;
  }
  
  textarea {
    resize: none;
  }


/*.headerbar{
  background-color: aliceblue;
}*/
.leftPanel{
  display: grid;
  place-content: baseline;
  margin: 0;
  min-block-size: 100vh;
}

:root {
    --bg--primary: hsl(203, 7%, 92%);
    --bg--active: hsla(203, 86%, 93%, 0.7);
    --bg--hover: hsl(200, 7%, 84%);
    --bg--focus: hsl(203, 100%, 100%);
    --gray--primary: hsl(200, 10%, 50%);
    --gray--secondary: hsl(200, 14%, 30%);

    --dark--primary: hsl(203, 13%, 14%);
    --dark--secondary: hsl(203, 4%, 29%);

    --accent--primary: hsl(206, 90%, 56%);
    --accent--secondary: hsl(206, 79%, 58%);

    --expanded: 16.875rem;
    --collapsed: 3.25rem;
    --svg: 1.125rem;
    --item: 2.25rem;
    --brad-outer: 0.75rem;
    --frame-space: 0.5rem;
    --brad-inner: calc(var(--brad-outer) - var(--frame-space));
}

.vertical-sidebar {
    display: flex;
    inline-size: var(--expanded);
    margin-block: 1vmin;
}

nav {
    background: var(--bg--primary);
    display: flex;
    flex-flow: column;
    
    border-radius: var(--brad-outer);
    flex: 0 0 auto;
    transition: flex-basis 300ms ease-out;
    will-change: flex-basis;
    padding: var(--frame-space);
    box-shadow: 0 3px 5px #1233, 0 5px 17px #0003;
}

.vertical-sidebar :checked ~ nav {
    flex-basis: var(--expanded);
}

.vertical-sidebar :not(:checked) ~ nav {
    flex-basis: var(--collapsed);
}

header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar__toggle-container {
    block-size: var(--item);
    display: flex;
    justify-content: end;
}

.nav__toggle {
    block-size: 100%;
    background: none;
    transition: all 233ms ease-in;
    border-radius: var(--brad-inner);
    outline: 2px solid transparent;
    outline-offset: -2px;
    overflow: hidden;
}

.toggle--icons {
    block-size: inherit;
    aspect-ratio: 1;
    display: inline-grid;
    place-content: center;
    grid-template-areas: "svg";
    z-index: 10;
}

.toggle-svg-icon {
    grid-area: svg;
    fill: var(--gray--primary);
    transition: fill 233ms ease-in;
}

.nav__toggle:hover {
    outline: 2px solid var(--accent--primary);
}

.toggle--icons:hover .toggle-svg-icon {
    fill: var(--dark--primary);
}

figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    container-type: inline-size;
    gap: 0.375rem;
}

.codepen-logo {
    margin-inline: auto;
    display: block;
    min-inline-size: 2.25rem;
    max-inline-size: 45cqi;
    aspect-ratio: 1;
    block-size: 100%;
    object-fit: cover;
    transition: width 100ms linear;
}

figcaption {
    text-align: center;
}

.user-id {
    font-size: 1.0625rem;
    font-weight: 500;
    margin-block-end: 0.25rem;
    color: var(--gray--secondary);
}

.user-role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray--primary);
}

.sidebar__wrapper {
    --list-gap: 0.5rem;
    display: flex;
    flex-flow: column;
    gap: var(--list-gap);
}

.sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: column;
    gap: 0.125rem;
    overflow: hidden;
}

.sidebar__item {
    block-size: var(--item);
    border-radius: var(--brad-inner);
}

.item--heading {
    display: flex;
    align-items: end;
}

.sidebar__item--heading {
    margin-block-end: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    font-weight: 500;
    color: var(--gray--primary);
    transition: color 200ms ease-in;
}

.sidebar__list:has(.sidebar__link):hover .sidebar__item--heading {
    color: var(--gray--secondary);
}

.sidebar__link {
    display: flex;
    text-decoration: none;
    block-size: 100%;
    align-items: center;
    gap: 0.5rem;
    outline: 2px solid transparent;
    border-radius: inherit;
}

.icon {
    aspect-ratio: 1;
    block-size: 100%;
    display: inline-grid;
    svg {
        place-self: center;
        inline-size: var(--svg);
        block-size: var(--svg);
        fill: var(--gray--primary);
    }
}

.text {
    pointer-events: none;
    color: var(--gray--secondary);
    font-size: 0.875em;
    font-weight: 500;
    transition: color 266ms ease-out;
}

.sidebar__link:hover {
    background: var(--bg--hover);
    .icon svg {
        fill: var(--accent--primary);
    }
    .text {
        color: var(--dark--primary);
    }
}

.sidebar__link:focus {
    outline: 2px solid var(--accent--secondary);
    outline-offset: -2px;
    background: var(--bg--focus);
    .icon svg {
        fill: var(--accent--primary);
    }
}

.sidebar__link:active {
    background-color: var(--bg--active);
}

aside:not(:has(:checked)) .toggle--open,
aside:has(:checked) .toggle--close {
    opacity: 0;
}

aside:not(:has(:checked)) :where(figcaption, .item--heading) {
    opacity: 0;
}

aside:has(:checked) :where(figcaption, .item--heading) {
    transition: opacity 300ms ease-in 200ms;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: fixed;
    translate: calc(var(--item) * 1.5) calc(var(--item) * 0.125);
    border-radius: var(--brad-inner);
    padding: 0.125rem 0.5rem;
    color: #ddd;
    background-color: hsl(198 16 30);
    box-shadow: 0 6px 12px -6px #0003;
    opacity: 0;
    pointer-events: none;
    scale: 0 0;
    z-index: 999;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 350ms ease-out;
}

aside:not(:has(:checked))
    .sidebar__link:where(:hover, :focus-visible)[data-tooltip]::before {
    opacity: 1;
    scale: 1;
}
.col-12.short-bio {
    position: relative;
}
.ai-btn{
    position: absolute;
    right: 8px;
    bottom:92px;
}

.col-12.short-bio-position {
    position: relative;
}
.for-position{
    position: absolute;
    right: 25px;
    bottom: 181px;
}

.navbar{border-radius: 0!important;}
#resumePreview{border-radius: 10px;height:100%;}
#downloadPdfBtn{background-color: #003479;border-color: #003479; color:#fff;}
.btns-bx .btn{font-size:16px; font-weight: 500;}
.tempplate-sidebar{background-color: #003479;}
.jobseeker_menu li{background-color: transparent!important;padding: 6px 0px!important;}
.jobseeker_menu ul a{color: #fff; line-height: 30px;}

.new-offcanvas{background-color: #003479; color: #fff !important; max-width: 280px !important; z-index: 99999 !important;}
.new-offcanvas li{background-color: transparent!important;padding: 6px 0px!important; list-style: none;}
.new-offcanvas ul a{color: #fff; line-height: 30px;}



.border-bottom{border-color:#bfbfbf!important;}
.accordion-button:not(.collapsed){background-color: #003479!important;color: #fff !important;}
.accordion-button:not(.collapsed) i{color: #fff !important;}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;
}
.foot-btns{display: flex; justify-content: space-between; width: 100%; align-items: end;}
.foot-btns .card-text{font-size: 16px; font-weight: 500; color: #fff;}


#templateListBackdrop {z-index: 99999 !important;}
#templateListBackdrop .card img{height: 200px !important;}
.modal-header {align-items: baseline !important;}

#templateListBackdrop  .btn-primary{
    background-color: #003479 !important;
    border-color: #003479 !important;
}
#templateListBackdrop  .btn-primary:active{
    background-color: #003479 !important;
    border-color: #003479 !important;
}
#templateListBackdrop  .btn-primary:hover{
    background-color: #003479 !important;
    border-color: #003479 !important;
}


 .normal-template {height: 500px;}


@media only screen and (max-width: 1200px){
  .normal-template { height: 450px;}
}

@media only screen and (max-width: 992px){
  .normal-template { height: 400px;}
}

@media only screen and (max-width: 991px){

    .tempplate-sidebar {
    background-color: transparent;
    text-align: center;
    margin-top: 50px !important;
    box-shadow: none !important;
    position: relative;
    }
    .tempplate-sidebar .btn{width: 100%;background-color: #003479;border-radius: 10px; border:0;font-size: 16px;
         font-weight: 600; line-height: 35px; margin-top: 20px !important;}
    .tempplate-sidebar .btn:active{background-color: #003479;}

    #toggleMenuBtn {
    border-radius: 10px;
    transition: border-radius 0.3s ease;
    }

    #toggleMenuBtn.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom:1px solid #dfdfdf;
    }
    .jobseeker_menu{background-color: #003479; padding: 20px; border-radius:0 0 10px 10px;position: absolute !important;
    top: 75px!important;
    z-index: 1;
    left: 14px;
    right: 14px;}
}

@media only screen and (max-width:767px){

#resumePreview{height:100vh;}
.btns-bx{flex-direction: column; gap:10px;}
}

.fa-crown{
    color: rgb(251 207 8);
}

.error-under {
    color: red;
    font-size: 12px;
    margin-top: 4px;
  }


  @media only screen and (max-width:350px){
    #templateListBackdrop .card img{height: 170px !important;}
  }

 
@media screen and (max-width:768px){
 .normal-template {height: 350px;}
}
@media screen and (max-width:767px){
 .normal-template {height: 400px;}
}

@media screen and (max-width:575px){
 .normal-template {height: auto !important;}
 #cvForm h1{font-size: 24px !important;}
}
   
@media screen and (max-width:425px){
.normal-template {height: 370px;}
}