/* Logo/Icon Button Styles */
.tp-btn-logo-icon-wrapper {
    display: inline-block;
    margin: 0;
}

.tp-btn-logo-icon {
    width: auto;
    position: relative;
    text-decoration: none;
    display: inline-block;
    line-height: normal;
    font-size: 1.65em;
    padding: .8em 1.1em .8em 3em;
    color: var(--color-black, #2B2926);
    box-sizing: border-box;
    transition: .15s all ease;
    font-weight: 400;
    border-radius: 6px;
    margin-left: .7em;
    background: transparent;
    border: 1px solid var(--color-black, #2B2926);
    overflow: hidden;
}

.tp-btn-logo-icon:before {
    border: 1px solid var(--color-black, #2B2926);
    border-radius: 6px;
    position: absolute;
    content: " ";
    width: 100%;
    left: 0;
    top: 0;
    height: calc(100% - 2px);
    border-width: 1px 0;
}

.tp-btn-logo-icon:hover {
    text-decoration: none;
    color: var(--color-accent, #B1AA88);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 41, 38, 0.15);
}

/* Logo/Icon Image */
.tp-btn-logo-icon-image {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
}

.tp-btn-logo-icon-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Logo/Icon Icon */
.tp-btn-logo-icon-icon {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    font-size: 1.2em;
    color: inherit;
}

.tp-btn-logo-icon-icon svg {
    width: 100%;
    height: 100%;
}

.tp-btn-logo-icon-icon i {
    font-size: 1.2em;
}

/* Button Text */
.tp-btn-logo-icon-text {
    display: inline-block;
    font-weight: inherit;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tp-btn-logo-icon {
        font-size: 1.4em;
        padding: .7em 1em .7em 2.5em;
        margin-left: .5em;
    }
    
    .tp-btn-logo-icon-image,
    .tp-btn-logo-icon-icon {
        left: 0.8em;
        width: 1.3em;
        height: 1.3em;
    }
}

@media (max-width: 480px) {
    .tp-btn-logo-icon {
        font-size: 1.2em;
        padding: .6em .8em .6em 2.2em;
        margin-left: .3em;
    }
    
    .tp-btn-logo-icon-image,
    .tp-btn-logo-icon-icon {
        left: 0.7em;
        width: 1.1em;
        height: 1.1em;
    }
}

/* Alternative Color Schemes */
.tp-btn-logo-icon.tp-btn-white {
    color: #fff;
    border-color: #fff;
}

.tp-btn-logo-icon.tp-btn-white:before {
    border-color: #fff;
}

.tp-btn-logo-icon.tp-btn-white:hover {
    color: var(--color-accent, #B1AA88);
    background: #fff;
}

.tp-btn-logo-icon.tp-btn-accent {
    color: var(--color-accent, #B1AA88);
    border-color: var(--color-accent, #B1AA88);
}

.tp-btn-logo-icon.tp-btn-accent:before {
    border-color: var(--color-accent, #B1AA88);
}

.tp-btn-logo-icon.tp-btn-accent:hover {
    color: #fff;
    background: var(--color-accent, #B1AA88);
}

/* Animation Effects */
.tp-btn-logo-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tp-btn-logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 41, 38, 0.2);
}

.tp-btn-logo-icon:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(43, 41, 38, 0.15);
}

/* Focus States */
.tp-btn-logo-icon:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(177, 170, 136, 0.3);
}

/* Loading State */
.tp-btn-logo-icon.tp-btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.tp-btn-logo-icon.tp-btn-loading .tp-btn-logo-icon-text {
    opacity: 0.5;
}

/* Disabled State */
.tp-btn-logo-icon.tp-btn-disabled,
.tp-btn-logo-icon:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
