/* Logo Container */
.cba-logo-container {
    display: flex;
    align-items: center;
}

/* Logo Text */
.cba-logo-text {
    display: block;
    font-weight: 500;
    max-width: 150px;
    text-transform: uppercase;
    letter-spacing: normal;
    margin-right: 5px;
    line-height: 1;
    font-size: 14px;
    transform: scale(0.9);
    transition: max-width 0s, opacity 0s;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}

/* Logo Brand */
.cba-logo-brand {
    display: flex;
    align-items: center;
}

/* Logo Image */
.cba-logo-image {
    width: 50px;
    height: 50px;
    position: relative;
}

.cba-logo-p {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: contain;
    object-position: center;
}

.cba-logo-y {
    width: 12px;
    height: 12px;
    position: absolute;
    left: 8px;
    top: 10px;
    object-fit: contain;
    object-position: center;
    transform-style: preserve-3d;
    animation: moveLogo 20s linear infinite;
}

/* Logo Name */
.cba-logo-name {
    display: block;
    font-weight: 500;
    max-width: 0;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: normal;
    margin-left: 3px;
    line-height: 1;
    font-size: 14px;
    transform: scale(0.9);

    text-align: left;
    font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}

/* Hover Effects */
.cba-logo-container:hover .cba-logo-text {
    opacity: 0;
    max-width: 0;
}

.cba-logo-container:hover .cba-logo-name {
    max-width: max-content;

}

/* Animation */
@keyframes moveLogo {
    0% {
        transform: rotate(180deg) translateY(0);
    }
    100% {
        transform: rotate(180deg) translateY(-100%);
    }
}