/**
 * TTY Share Buttons Styles
 * Global share buttons styling
 */

/* =============================================
   SHARE SECTION
   ============================================= */

.tty-share-section {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fffe 0%, #eef7f6 100%);
    border-radius: 16px;
    border: 1px solid rgba(36, 119, 114, 0.1);
    text-align: center;
}

.tty-share-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tty-share-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.tty-share-bonus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #5d4e00;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 179, 71, 0.3);
}

.tty-share-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.4);
    color: #5d4e00;
}

.tty-share-bonus i {
    font-size: 12px;
}

.tty-share-login-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    font-size: 13px;
    border-radius: 20px;
}

.tty-share-login-hint i {
    font-size: 12px;
}

.tty-share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tty-share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #fff;
}

.tty-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.tty-share-btn:active {
    transform: translateY(-1px);
}

/* Platform specific colors */
.tty-share-native {
    background: linear-gradient(135deg, #247772 0%, #1a5f5a 100%);
}

.tty-share-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d5bbf 100%);
}

.tty-share-twitter {
    background: linear-gradient(135deg, #14171A 0%, #000000 100%);
}

.tty-share-linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

.tty-share-copy {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.tty-share-copy.tty-copied {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/* Share Stats */
.tty-share-stats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(36, 119, 114, 0.1);
}

.tty-share-stats-bar {
    height: 8px;
    background: rgba(36, 119, 114, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.tty-share-stats-progress {
    height: 100%;
    background: linear-gradient(90deg, #247772 0%, #4CAF50 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.tty-share-stats-text {
    font-size: 13px;
    color: #666;
}

/* Copy feedback */
.tty-share-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    animation: tty-fade-in 0.3s ease;
}

.tty-share-feedback.tty-hidden {
    display: none;
}

@keyframes tty-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Theme */
[data-theme="dark"] .tty-share-section {
    background: linear-gradient(135deg, #1a2e2d 0%, #0d1b1a 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tty-share-title {
    color: #e0e0e0;
}

[data-theme="dark"] .tty-share-stats-text {
    color: #adb5bd;
}

[data-theme="dark"] .tty-share-feedback {
    background: rgba(40, 167, 69, 0.2);
    color: #75d99a;
}

[data-theme="dark"] .tty-share-stats-bar {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 480px) {
    .tty-share-section {
        padding: 15px;
    }
    
    .tty-share-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .tty-share-header {
        flex-direction: column;
        gap: 8px;
    }
}