html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


@media (max-width: 991.98px) {
    input, textarea, select,
    .form-control, .form-select {
        font-size: 16px !important;
    }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    scrollbar-width: thin;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-dark);
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    display: none;
} 

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*Home Index Design*/
.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-card .icon-wrapper {
    display: inline-flex;
    padding: 16px;
    border-radius: 16px;
    transition: transform 0.3s ease;
    margin-bottom: 24px;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/*dms and notebook card*/
.bg-teal {
    background-color: rgb(0, 117, 108);
}

.dmsBtn:hover {
    background-color: #024641 !important;
    color: white;
    border: 1px solid #024641 !important;
}

.noteBookColor {
    background-color: #065084;
}

.noteBookColor:hover {
    background-color: #09395a !important;
    color: white;
    border: 1px solid #09395a !important;
}

.chatGPTColor {
    background-color: var(--bs-dark) !important;
    color: white;
    border: 1px solid var(--bs-dark) !important;
}

.openAIColor {
    background-color: #780808!important;
    color: white!important;
    border: 1px solid #780808!important;
}

.subscriptionColor {
    background-color: #6f0a70 !important;
    color: white !important;
    border: 1px solid #6f0a70!important;
}

.userColor {
    background-color: #b1500b !important;
    color: white !important;
    border: 1px solid #b1500b !important;
}
/* end dms and notebook card */
button:focus {
    box-shadow: none !important;
    outline: none !important
}

.btn:focus {
    box-shadow: none !important;
    outline: none !important
}

.dmsCard {
    border-top: 5px solid rgb(0, 117, 108);
    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    border-radius: 10px;
}

.notebookCard {
    border-top: 5px solid #065084;
    border-right: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-radius: 10px
}


.infoBtnPosition {
    bottom: 20px;
    right: 20px;
}

.infoToastPosition {
    bottom: 100px;
    right: 20px;
}

.heartAnimation {
    animation: heartAnimation 2s ease 0s infinite normal none;
}

#tree .jstree-anchor {
    display: inline-block;
    width: 88%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
}

@@keyframes heartAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

input:focus {
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid lightgray !important
}

.iconSize {
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px
}

.right-panel {
    position: relative;
}

.right-panel.collapsed {
    width: 42px !important;
    flex: 0 0 42px;
}

.right-panel.collapsed .card {
    display: none;
}

/* Collapse icon */
.collapseIcon {
    position: absolute;
    top: 0px;
    right: -15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    left:-10px;
}
.collapseIcon1 {
    position: absolute;
    top: 1px;
    right: -15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    left: 10px;
    background-color: white;
}

select:focus{
    box-shadow:none!important;
    outline:none!important;
    border:1px solid lightgray!important;
}

.footerBtn {
    flex: 1;
    background-color: transparent;
    color: #adb5bd;
}

.btn-check:checked + .footerBtn {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.dmsCardSize {
    height: calc(100vh - 60px);
}

@media only screen and (max-width: 768px) {
    .dmsCardSize {
        height: calc(100vh - 100px)!important;
    }
}

.shepherd-element {
    border-radius: 14px;
    font-size: 14px;
}

.shepherd-button {
    border-radius: 8px;
    padding: 6px 12px;
}

.shepherd-header {
    padding:10px!important;
    border-bottom:1px solid gray!important;
}

.shepherd-content {
    background-color: #e6e6e6!important;
}

.shepherd-modal-overlay-container {
    background: rgba(0,0,0,0.5) !important;
}

.shepherd-modal-overlay-container .shepherd-highlight {
    background: transparent !important; 
}


.custom-highlight {
    border: 2px solid #242424 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 3px 2px #242424, 0 3px 40px #242424 !important;
    pointer-events: none !important;
    animation: guida-pulse 2s infinite;
}

.dms-card.custom-highlight {
    border: none !important;
}

.notebookCard.custom-highlight {
    border:none!important;
}

@keyframes guida-pulse {
    0% {
        box-shadow: 0 0 0 2px #000000, 0 0 20px #000000;
    }

    50% {
        box-shadow: 0 0 0 2px #2424247d, 0 0 30px rgba(0, 122, 204, 0.5);
    }

    100% {
        box-shadow: 0 0 0 2px #242424, 0 0 20px #242424;
    }
}

.shepherd-button.CloseBtn {
    background-color: var(--bs-danger)!important
}

.shepherd-footer {
    display:flex!important;
    justify-content:space-between!important
}

.shepherd-text{
    font-size:unset!important;
}

.shepherd-arrow:before {
    background: #e6e6e6!important;
}

.shepherd-cancel-icon {
    display:none!important;
}