/**
 * Techbari Print News Button Styling
 * Author: techbari.com
 */

:root {
    --tb-btn-bg: #005b96;
    --tb-btn-hover: #003865;
    --tb-btn-text: #ffffff;
    --tb-btn-radius: 30px;
}

.techbari-print-btn-container {
    margin: 16px 0 24px 0;
    display: flex;
    width: 100%;
    clear: both;
}

.techbari-print-btn-container.tb-align-left {
    justify-content: flex-start;
}

.techbari-print-btn-container.tb-align-center {
    justify-content: center;
}

.techbari-print-btn-container.tb-align-right {
    justify-content: flex-end;
}

.techbari-print-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--tb-btn-bg);
    color: var(--tb-btn-text) !important;
    padding: 8px 18px;
    border-radius: var(--tb-btn-radius);
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'SolaimanLipi', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 4px 14px rgba(0, 91, 150, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    overflow: hidden;
}

.techbari-print-action-btn:hover {
    background: var(--tb-btn-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 56, 101, 0.35);
    text-decoration: none !important;
}

.techbari-print-action-btn:active {
    transform: translateY(0);
}

.techbari-print-action-btn .tb-btn-content {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.techbari-print-action-btn .tb-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.techbari-print-action-btn:hover .tb-btn-icon {
    transform: scale(1.12);
}

.techbari-print-action-btn .tb-print-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    margin-left: 2px;
}

/* Style presets */
.techbari-print-action-btn.tb-style-pill {
    border-radius: 50px;
}

.techbari-print-action-btn.tb-style-square {
    border-radius: 6px;
}

.techbari-print-action-btn.tb-style-gradient {
    background: linear-gradient(135deg, #005b96 0%, #003865 100%);
    box-shadow: 0 4px 15px rgba(0, 75, 135, 0.35);
}

.techbari-print-action-btn.tb-style-gradient:hover {
    background: linear-gradient(135deg, #0072bc 0%, #004b87 100%);
}

.techbari-print-action-btn.tb-style-bordered {
    background: #ffffff;
    color: var(--tb-btn-bg) !important;
    border: 2px solid var(--tb-btn-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.techbari-print-action-btn.tb-style-bordered .tb-print-badge {
    background: var(--tb-btn-bg);
    color: #ffffff;
}

.techbari-print-action-btn.tb-style-bordered:hover {
    background: var(--tb-btn-bg);
    color: #ffffff !important;
}

.techbari-print-action-btn.tb-style-bordered:hover .tb-print-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* Floating Corner Widget */
.techbari-floating-print-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
}

.techbari-floating-print-wrap .techbari-print-action-btn {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
    .techbari-print-btn-container {
        margin: 12px 0 18px 0;
    }
    
    .techbari-print-action-btn {
        font-size: 13.5px;
        padding: 7px 14px;
        gap: 8px;
    }

    .techbari-print-action-btn .tb-print-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}
