/* -------------------------------------------------------------------------- */
/* Read Time - Base Styles
/* -------------------------------------------------------------------------- */
.ustt-read-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.5;
    transition: all 0.3s ease;
    /* Default spacing if not set by inline styles */
    margin: 10px 0;
    padding: 5px 10px;
    border-radius: 4px;
    /* Default radius */
    position: relative;
    z-index: 10;
}

.ustt-rt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ustt-rt-info,
.ustt-rt-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ustt-rt-prefix {
    opacity: 0.9;
}

.ustt-rt-time {
    font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Read Time Templates
/* -------------------------------------------------------------------------- */

/* 1. Simple Pill (Light Gray) */
.ustt-read-time.ustt-rt-1 {
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 50px;
    padding: 6px 16px;
}

/* 2. Soft Blue */
.ustt-read-time.ustt-rt-2 {
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    padding: 6px 12px;
}

/* 3. Dark Mode Pill */
.ustt-read-time.ustt-rt-3 {
    background-color: #1f2937;
    color: #f9fafb;
    border-radius: 50px;
    padding: 6px 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 4. Bordered Minimal */
.ustt-read-time.ustt-rt-4 {
    background-color: transparent;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    border-radius: 4px;
    padding: 5px 10px;
}

/* 5. Left Border Accent */
.ustt-read-time.ustt-rt-5 {
    background-color: #f9fafb;
    border-left: 4px solid #3b82f6;
    color: #4b5563;
    border-radius: 0 4px 4px 0;
    padding: 6px 12px;
}

/* 6. Gradient Sunset */
.ustt-read-time.ustt-rt-6 {
    background: linear-gradient(to right, #ff9966, #ff5e62);
    color: white;
    border-radius: 50px;
    padding: 6px 16px;
    box-shadow: 0 2px 10px rgba(255, 94, 98, 0.3);
}

/* 7. Gradient Ocean */
.ustt-read-time.ustt-rt-7 {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    border-radius: 8px;
    padding: 6px 14px;
}

/* 8. Glassmorphism */
.ustt-read-time.ustt-rt-8 {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #374151;
    /* Dark text for visibility on light bg */
    border-radius: 12px;
    padding: 6px 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 9. Neon Glow */
.ustt-read-time.ustt-rt-9 {
    background-color: #000;
    color: #00ff00;
    border: 1px solid #00ff00;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 0 5px #00ff00;
    font-family: monospace;
}

/* 10. Floating Card */
.ustt-read-time.ustt-rt-10 {
    background-color: white;
    color: #111827;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 11. Underline Style */
.ustt-read-time.ustt-rt-11 {
    background-color: transparent;
    padding: 4px 0;
    border-bottom: 2px solid #ef4444;
    border-radius: 0;
    color: #1f2937;
}

/* 12. Dashed Border */
.ustt-read-time.ustt-rt-12 {
    background-color: #fffbeb;
    border: 1px dashed #f59e0b;
    color: #b45309;
    border-radius: 6px;
    padding: 5px 12px;
}

/* 13. Retro Terminal */
.ustt-read-time.ustt-rt-13 {
    background-color: #1a1a1a;
    color: #33ff33;
    font-family: 'Courier New', monospace;
    padding: 6px 12px;
    border-radius: 2px;
}

/* 14. Soft Purple */
.ustt-read-time.ustt-rt-14 {
    background-color: #f3e8ff;
    color: #7e22ce;
    border-radius: 20px;
    padding: 6px 16px;
}

/* 15. Minimal Text (No Bg) */
.ustt-read-time.ustt-rt-15 {
    background-color: transparent;
    color: #6b7280;
    padding: 0;
    font-style: italic;
}

.ustt-read-time.ustt-rt-15 .ustt-rt-icon {
    display: none;
}

/* 16. Badge with Icon */
.ustt-read-time.ustt-rt-16 {
    background-color: #ecfdf5;
    color: #047857;
    border-radius: 4px;
    padding: 4px 10px;
    border: 1px solid #d1fae5;
}

/* 17. High Contrast Red */
.ustt-read-time.ustt-rt-17 {
    background-color: #dc2626;
    color: white;
    border-radius: 4px;
    padding: 6px 12px;
    font-weight: 700;
}

/* 18. Outline Circle */
.ustt-read-time.ustt-rt-18 {
    border: 2px solid #4b5563;
    color: #4b5563;
    border-radius: 50px;
    padding: 4px 14px;
}

/* 19. Ribbon Style */
.ustt-read-time.ustt-rt-19 {
    background-color: #3b82f6;
    color: white;
    padding: 6px 12px;
    position: relative;
    margin-left: 10px;
    /* Space for ribbon tail */
}

.ustt-read-time.ustt-rt-19::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #3b82f6 transparent transparent;
}

/* 20. Brutalist */
.ustt-read-time.ustt-rt-20 {
    background-color: #facc15;
    color: #000;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    padding: 6px 12px;
    font-weight: 800;
    border-radius: 0;
}

/* 21. Soft Teal */
.ustt-read-time.ustt-rt-21 {
    background-color: #ccfbf1;
    color: #0f766e;
    border-radius: 8px;
    padding: 6px 14px;
}

/* 22. Dark Gradient */
.ustt-read-time.ustt-rt-22 {
    background: linear-gradient(135deg, #1f2937 0%, #000000 100%);
    color: white;
    border-radius: 6px;
    padding: 8px 16px;
    border: 1px solid #374151;
}

/* 23. Paper Note */
.ustt-read-time.ustt-rt-23 {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
    transform: rotate(-1deg);
    padding: 6px 12px;
    border-radius: 2px;
}

/* 24. Clean White */
.ustt-read-time.ustt-rt-24 {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    border-radius: 50px;
    padding: 6px 16px;
}

/* 25. Cyberpunk Blue */
.ustt-read-time.ustt-rt-25 {
    background-color: #000;
    color: #00ffff;
    border-bottom: 2px solid #00ffff;
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 26. Forest Green Badge */
.ustt-read-time.ustt-rt-26 {
    background-color: #166534;
    color: #dcfce7;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 0.9em;
}

/* 27. Candy Pink */
.ustt-read-time.ustt-rt-27 {
    background-color: #fdf2f8;
    color: #db2777;
    border: 2px solid #fb7185;
    border-radius: 12px;
    padding: 4px 12px;
}

/* 28. Elegant Serif */
.ustt-read-time.ustt-rt-28 {
    background-color: #f8fafc;
    color: #334155;
    font-family: Georgia, serif;
    font-style: italic;
    border-left: 2px solid #94a3b8;
    padding: 4px 12px;
}

/* 29. Monochromatic */
.ustt-read-time.ustt-rt-29 {
    background-color: #525252;
    color: #d4d4d4;
    border-radius: 4px;
    padding: 6px 12px;
}

/* 30. Spotlight */
.ustt-read-time.ustt-rt-30 {
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    font-weight: 600;
}