﻿.text-color-secondary {
    color: #226283;
}

.text-muted-color {
    color: #9A9A9A;
}

.text-color-primary {
    color: #98b853;
}

.main-section {
    min-height: calc(100vh - 202px);
}

.search-bar {
    padding: 0.5em 1em;
    display: flex;
    justify-content: center;
    margin: auto;
    border: 1px solid #9A9A9A;
    border-radius: 3px;
    padding-right: 30px;
}

.search-bar, .search-bar-main {
    max-width: 700px;
    width: 100%;
}

    .search-bar:focus {
        outline: none;
    }

.search-icon {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

/*#region Progress bar*/
:root {
    --data-perentage: 0;
}

.percent {
    position: relative;
    width: 60px;
    height: 60px;
}

    .percent svg {
        position: relative;
        width: 60px;
        height: 60px;
        transform: rotate(270deg);
    }

        .percent svg circle {
            position: relative;
            width: 70px;
            height: 70px;
            fill: none;
            stroke-width: 3;
            stroke: #000;
            transform: translate(5px, 5px);
            stroke-dasharray: 157.08;
            stroke-dashoffset: 157.08;
            stroke-linecap: round;
            transition: all .5s ease-in-out;
        }

            .percent svg circle:nth-child(1) {
                stroke-dashoffset: 0;
                stroke: #f3f3f3;
            }

            .percent svg circle:nth-child(2) {
                stroke-dashoffset: calc(157.08 - (157.08 * var(--data-perentage)) / 100);
                stroke: #98b853;
                animation: onPageLoadAnimate 3s linear forwards;
            }

            .percent svg circle.circle-warning:nth-child(2) {
                stroke: #fdc111;
            }

            .percent svg circle.circle-danger:nth-child(2) {
                stroke: #ee3131;
            }

            .percent svg circle.circle-primary:nth-child(2) {
                stroke: #98b853;
            }

@keyframes onPageLoadAnimate {
    from {
        stroke-dashoffset: 157.08;
    }

    to {
        stroke-dashoffset: calc(360deg - 0deg);
        ;
    }
}

.number {
    top: 0;
    left: 0;
    counter-reset: #444;
}
/*#endregion*/

/*#region Card*/
.card-main {
    display: flex;
    padding: 0.5em 1.5em;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    gap: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    min-width: 300px;
    max-width: 300px;
    transition: all 0.8s ease-in-out;
    cursor: pointer;
}

.vr {
    display: inline-block;
    align-self: stretch;
    width: 1px;
    min-height: 1em;
    background-color: currentColor;
    opacity: .25;
}

.card-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-view-details {
    border-bottom: 1px solid #226283;
    width: max-content;
}

    .link-view-details:hover {
        text-decoration: none !important;
    }

.overflow-ellipsis {
    max-width: 165px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.corproate-certified {
    position: absolute;
    width: 30px;
    left: -15px;
    top: -10px;
}
/*#endregion*/

/*#region corporate details card*/
.mx-450 {
    max-width: 450px;
}

.rounded-5 {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .rounded-5:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

/*#endregion*/

/*#region progress bar in popup*/
.progress-main {
    width: 100%;
    max-width: 500px;
    height: max-content;
    /*for now set to static later can add maxwidth in progressbarmodal and make it dynamic*/
}

    .progress-main::before {
        position: absolute;
        content: '';
        display: block;
        bottom: 0;
        width: 100%;
        height: 5px;
        background-color: #959595;
    }

.progress-bar {
    height: 5px;
    position: relative;
    display: block;
    overflow: visible;
    width: 0%;
    transition: all 3000ms ease-out;
}

.progress-danger {
    background-color: #ee3131;
}

.progress-warning {
    background-color: #fdc111;
}

.progress-success {
    background-color: #98B853;
}

.water-drop {
    position: relative;
    left: calc(100% - 9px);
    width: 18px;
    height: 18px;
    border-radius: 0% 50% 50% 50%;
    border: 2px solid #ee3131;
    transform: rotate(45deg);
    top: calc(100% + 5px);
}

.progress-tooltip {
    position: absolute;
    top: calc(100% + 5px);
    color: white;
    background: #494545;
    border-radius: 3px;
    width: 40px;
    text-align: center;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 3000ms ease-out;
}

    .progress-tooltip::before {
        border-bottom: 5px solid #494545;
        content: '';
        position: absolute;
        bottom: 100%;
        border-top: 5px solid transparent;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

.employee-count {
    padding: 2px 7px;
    background: #494545;
    color: white;
    margin-bottom: 2px;
    border-radius: 5px;
    font-size: 11px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.gap-3 {
    gap: 25px;
}

/*#endregion*/
