[v-cloak] {
    display: none;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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%;
}

body {
    margin-bottom: 60px;
}

.dashed-box {
    border: 1px dashed #000; /* Set the border width and color */
    width: 300px; /* Set the width of the box */
    margin: 14px;
    padding: 4px;
}

.documentation-main {
    border-left:2px dashed #126fcc;
    min-height: 70vh;    
    overflow:auto;
}

.docSectionElement {
    margin: 1.4em;
}

.doc_url {
    background-color: white;
    border: 1px dashed;
    border-color: pink;
    border-radius: 12px 12px;
    padding: 2px 2px 2px 4px;
    margin: 4px;
    width: 94%;
    font-weight: bold;
    font-size: 1.4em;
}

.ukcdb-search-button {    
    background-color: #0c5eb0;
    border-radius: 10px;
}

.subtab-container-button-container {
    margin-bottom: 10px;
    display: flex; 
    flex-wrap: wrap;
}

.button-wrapper {
  
    flex: 0 0 calc(100% / 5); 
    box-sizing: border-box; 
    padding: 5px; 
    
    display: flex; 
}

    .button-wrapper button {
        width: 100%;
    }

.search-subtab-button {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    background-color: #0c5eb0;
    border-radius: 10px;
}

.active-subtab {
    background-color: #0c5eb0 !important;
    color: white !important; 
}

.search-subtab-button-outline {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    color: #0c5eb0;
    border-color: #0c5eb0;
    background-color: white;
    border-radius: 10px;
    white-space: normal; 
    overflow-wrap: break-word; 
    text-align: center; 
    padding: 4px;
}


.search-subtab-button-download {
    width: 14%;
    margin-left: 8px;
    margin-right: 8px;
    color: white;
    border-color: purple;
    background-color: purple;
    border-radius: 10px;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    padding: 4px;
}

    .search-subtab-button-download:hover {
        background-color: black;
        color: white;
        border-color: #888;
    }
     

.send-feedback-button {
    width: 100%;
    background-color: #e0af0b;
    border-radius: 10px;
    color: black;
    font-weight: bold;
}

.ukcdb-viewfinancials-button {
    width: 50%;
    background-color: #0c5eb0;
    border-radius: 10px;
}

.ukcdb-details-panel {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 14px; 
}

.ukcdb-advanced-search-panel {
    background: var(--purple);
    background-size: cover;
    background-position: center;
    padding-top: 10px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 10px #0c0c0c21;
    font-size: 9pt;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.scrollable-content {
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin; 
    scrollbar-color: lightgray transparent; 
}


/* FILTER BADGES */
/* FILTER BADGES */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f3f3f3;
    padding: 6px 10px;
    border-radius: 12px;
    margin: 4px;
    animation: bounceIn 0.4s ease-out;
    font-weight:bold;
}


/* Enhancements for VueJS dynamic values */
.filter-value {
    font-weight: 900;
    color: #e0b000;
    margin-left: 4px;
    margin-right:4px;
}

/* CLEAR FILTER BUTTON */
.clearFilterButton {
    color: #bbb;
    background-color: transparent;
    border: 1px solid #bbb;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px;
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    transition: all 0.2s ease-in-out;
}

    .clearFilterButton:hover {
        background-color: #888;
        color: white;
        border-color: #888;
    }
     

/* END OF FILTER BADGES*/


.closeCompanyTabButton {
    color: #ffffff;
    border-color: #ffffff;
    background-color: transparent;
    border: 1px solid #ffffff;
    font-size: 12px; 
    font-weight: bold;
    cursor: pointer;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left:4px;
    width: 20px;
    height: 20px;
    transition: all 0.2s ease-in-out;
    padding: 2px;
    line-height: 1;
}

    .closeCompanyTabButton:hover {
        background-color: red;
        color: white;
        border-color: red;
    }




/* END OF FILTER BADGES*/

.ukcdb-advanced-search-panel-text-entry {
    font-size: 9pt;
}

.ukcdb-advanced-search-panel-text-entry::placeholder {
        font-size: 9pt;
    }

.ukcdb-filter-label-text {
    color: white;
}

.ukcdb-savedsearches-table
{
    color:white;
}
.ukcdb-savedsearch-result-number {
    background-color: white;
    border-radius: 14px;
    color: var(--purple);
    font-size: 8pt;
    text-align: center;
    padding: 4px;
    display: block;
    margin-bottom: 6px;
    width:24px;
    height:24px;
}

.ukcdb-result-number { 
    background-color: #4a4a4a;
    border-radius: 20px;
    color: white;
    height: 20px;
    font-size: 8pt;
    text-align: center;
    padding: 2px;
    margin-top: 4px;
    min-width: 20px;
    max-width: 40px;
}

.toggle-advanced-search-button {
    cursor: pointer;
    background-color: white;
    color: #126fcc;
    margin-right: 2em;
    margin-left:0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* .toggle-advanced-search-button:hover {
        background-color: #3e95ed;
    }*/

.filter-value-label {
    color: white;
    margin: 1px;
}

/*This is for the multiselect input box*/
.multiselect__input2 {
    font-size: 9pt;
    border: none;
}

.multiselect__single2 {
    font-size: 9pt;
    border: none;
}



/*transitions*/

.slide-fade-enter-active,
.slide-fade-leave-active {
    transition: all 0.3s cubic-bezier(0.5, 0, 0.3, 1);
    max-height: 80px; 
    overflow: hidden;
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateY(-30px);
    opacity: 0;
    max-height: 0;
}

.slide-fade-enter-to,
.slide-fade-leave-from {
    transform: translateY(0);
    opacity: 1;
    max-height: 80px; 
}


.bounce-enter-active {
    animation: bounce-in 0.6s;
}

.bounce-enter {
    opacity: 0;
}

@keyframes bounce-in {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    20% {
        transform: translateY(-20px);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(5px);
    }
}

 


.spinning-ring-white {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
}

    .spinning-ring-white div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        margin: 4px;
        margin-left:auto;
        margin-right:auto;
        border: 4px solid white;
        text-align:center;
        border-radius: 50%;
        animation: spinning-ring 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: white transparent transparent transparent;
    }


.docs-mainheading {
    font-size: 22pt;
    font-weight: 600;
    margin-bottom: 20px;
}

.docs-subheading {
    font-size: 16pt;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}

.docs-text {
    font-size: 12pt;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight:normal;
}

.docs-active{
    font-weight:bold;
    color:red;
}

.code-block {
    background-color: #e7e7e7;
    color: #2f2f2f;
    font-family: Courier New, Courier, monospace;
    font-size: 11pt;
    display: inline-block;
    padding: 4px;
    border-radius: 8px;
}
.hidden {
    display: none;
}
