/**
 * ReadTime Pro - Frontend Styles
 * Version: 1.0.0
 * Author: Pintu Sikder - Arthixa
 */

/* Main Wrapper */
.rtp-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Icon */
.rtp-icon {
    display: flex;
    align-items: center;
    font-size: 18px;
    opacity: 0.85;
    animation: rtp-pulse 2s ease-in-out infinite;
}

/* Text */
.rtp-text {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Hover Effect */
.rtp-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
}

/* Icon Animation */
@keyframes rtp-pulse {
    0%, 100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .rtp-wrapper {
        font-size: 13px;
        padding: 8px 12px;
        gap: 6px;
    }
    
    .rtp-icon {
        font-size: 16px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .rtp-wrapper {
        box-shadow: 0 1px 3px rgba(255, 255, 255, 0.1);
    }
    
    .rtp-wrapper:hover {
        box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .rtp-wrapper {
        border: 2px solid currentColor;
    }
}

/* Print Styles - Hide on Print */
@media print {
    .rtp-wrapper {
        display: none !important;
    }
}

/* RTL Support */
[dir="rtl"] .rtp-wrapper {
    flex-direction: row-reverse;
}