/* Truncated Text */

.truncated-text-1-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncated-text-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncated-text-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncated-text-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncated-text-5-lines {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncated-text-6-lines {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Equal Height Row */

.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}
.equal-height-row > div {
    display: flex;
    flex-direction: column;
}
.equal-height-row .card {
    flex: 1 0 auto;
}

#okr:hover {
    transform: scale(1.1);
}

#okrName:hover {
    color: #695eef;
}

.popover {
    min-width: 25em !important;
}

.popover-body {
    max-height: 500px;
    overflow-y: auto;
}

#field4 {
    animation: scale-in 0.5s ease;
}
#field4.d-none {
    animation: scale-out 0.5s ease;
}
#field5 {
    animation: scale-in 0.5s ease;
}
#field5.d-none {
    animation: scale-out 0.5s ease;
}
#field6 {
    animation: scale-in 0.5s ease;
}
#field6.d-none {
    animation: scale-out 0.5s ease;
}
@keyframes scale-in {
    from {
        transform: scale(0);
        box-shadow: 0 0 0 rgba(0, 255, 0, 0);
    }
    to {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(105, 94, 239, 0.7);
    }
}
@keyframes scale-out {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}

.circle-container {
    position: relative;
    height: 540px;
    width: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    z-index: 1;
    text-align: center;
    margin-right: 30px;
    margin-left: 30px;
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    text-align: center;
}

.circle-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.connecting-circle {
    position: absolute;
    z-index: 0;
    border: 2px solid black;
    border-radius: 50%;
    background: transparent;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Spinner Animation for Download Loading */
@keyframes spinner-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-icon {
    display: inline-block;
    animation: spinner-rotate 1s linear infinite;
}