/**
 * @package     MOD_TIKTOK_JOB_DISPLAY
 * @subpackage  style.css
 *
 * @copyright   Copyright (C) 2025 Your Name. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* ============ BASE STYLES ============ */
.tiktok-job-display {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tiktok-job-card {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.tiktok-job-card.active {
    display: block;
    opacity: 1;
}

.tiktok-aspect-ratio-box {
    width: 100%;
    padding-top: 177.77%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tiktok-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    z-index: 1;
}

.tiktok-logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.tiktok-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tiktok-logo-placeholder {
    font-size: 40px;
    font-weight: bold;
    color: #555;
}

.tiktok-job-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tiktok-job-title {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.tiktok-company-name {
    font-size: 1.2em;
    margin: 0 0 15px 0;
    font-style: italic;
}

.tiktok-station {
    font-size: 1em;
    margin: 0;
}

.icon-location {
    margin-right: 5px;
    font-style: normal;
}

.tiktok-footer {
    margin-top: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.icon-arrow-right {
    font-style: normal;
}

.tiktok-navigation {
    text-align: center;
    padding: 8px 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tiktok-navigation button {
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.tiktok-navigation button:hover {
    transform: scale(1.05);
}

.tiktok-dots-container {
    text-align: center;
    padding: 8px 0;
}

.tiktok-dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tiktok-no-jobs {
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.tiktok-job-card.active .tiktok-job-title {
    animation: fadeIn 0.5s 0.2s ease-out forwards;
    opacity: 0;
}

.tiktok-job-card.active .tiktok-company-name {
    animation: fadeIn 0.5s 0.4s ease-out forwards;
    opacity: 0;
}

.tiktok-job-card.active .tiktok-station {
    animation: fadeIn 0.5s 0.6s ease-out forwards;
    opacity: 0;
}

.tiktok-job-card.active .tiktok-logo-container {
    animation: fadeInScale 0.5s 0.1s ease-out forwards;
    opacity: 0;
}

.tiktok-job-card.active .tiktok-footer {
    animation: slideUp 0.5s 0.8s ease-out forwards;
    opacity: 0;
}

/* ============ THEME 1: MODERN ============ */
.tiktok-theme-modern .tiktok-aspect-ratio-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.tiktok-theme-modern .tiktok-navigation {
    background-color: #2c3e50;
}

.tiktok-theme-modern .tiktok-navigation button {
    background-color: #555;
    color: white;
}

.tiktok-theme-modern .tiktok-navigation button:hover {
    background-color: #677d96;
}

.tiktok-theme-modern .tiktok-dot {
    background-color: #bbb;
}

.tiktok-theme-modern .tiktok-dot.active {
    background-color: #717171;
}

.tiktok-theme-modern .tiktok-aspect-ratio-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotateBackground 20s linear infinite;
    z-index: 0;
}

.tiktok-theme-modern .tiktok-logo-container {
    background: rgba(255, 255, 255, 0.95);
}

/* ============ THEME 2: MINIMAL ============ */
.tiktok-theme-minimal .tiktok-aspect-ratio-box {
    background: #ffffff;
    color: #333;
    border: 2px solid #e0e0e0;
}

.tiktok-theme-minimal .tiktok-job-title {
    color: #222;
    text-shadow: none;
    font-weight: 700;
}

.tiktok-theme-minimal .tiktok-company-name {
    color: #555;
}

.tiktok-theme-minimal .tiktok-station {
    color: #666;
}

.tiktok-theme-minimal .tiktok-footer {
    color: #888;
}

.tiktok-theme-minimal .tiktok-logo-container {
    background-color: #f5f5f5;
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.tiktok-theme-minimal .tiktok-navigation {
    background-color: #f8f8f8;
}

.tiktok-theme-minimal .tiktok-navigation button {
    background-color: #e0e0e0;
    color: #333;
}

.tiktok-theme-minimal .tiktok-navigation button:hover {
    background-color: #d0d0d0;
}

.tiktok-theme-minimal .tiktok-dot {
    background-color: #ddd;
}

.tiktok-theme-minimal .tiktok-dot.active {
    background-color: #999;
}

/* ============ THEME 3: VIBRANT ============ */
.tiktok-theme-vibrant .tiktok-aspect-ratio-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.tiktok-theme-vibrant .tiktok-job-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tiktok-theme-vibrant .tiktok-company-name {
    color: #ffeaa7;
}

.tiktok-theme-vibrant .tiktok-station {
    color: #dfe6e9;
}

.tiktok-theme-vibrant .tiktok-footer {
    color: #ffeaa7;
}

.tiktok-theme-vibrant .tiktok-logo-container {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #fff;
}

.tiktok-theme-vibrant .tiktok-navigation {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tiktok-theme-vibrant .tiktok-navigation button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.tiktok-theme-vibrant .tiktok-navigation button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.tiktok-theme-vibrant .tiktok-dot {
    background-color: rgba(255, 255, 255, 0.4);
}

.tiktok-theme-vibrant .tiktok-dot.active {
    background-color: #ffffff;
}

.tiktok-theme-vibrant .tiktok-aspect-ratio-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 0;
}

/* ============ THEME 4: DARK MODE ============ */
.tiktok-theme-dark .tiktok-aspect-ratio-box {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    color: #dfe6e9;
    border: 1px solid #4a4a4a;
}

.tiktok-theme-dark .tiktok-job-title {
    color: #fff;
    text-shadow: 0 0 20px rgba(100, 100, 255, 0.3);
}

.tiktok-theme-dark .tiktok-company-name {
    color: #a29bfe;
}

.tiktok-theme-dark .tiktok-station {
    color: #81ecec;
}

.tiktok-theme-dark .tiktok-footer {
    color: #fd79a8;
}

.tiktok-theme-dark .tiktok-logo-container {
    background-color: rgba(45, 52, 54, 0.9);
    border: 1px solid #4a4a4a;
}

.tiktok-theme-dark .tiktok-logo-placeholder {
    color: #dfe6e9;
}

.tiktok-theme-dark .tiktok-navigation {
    background-color: #1a1a2e;
    border-top: 1px solid #4a4a4a;
}

.tiktok-theme-dark .tiktok-navigation button {
    background-color: #2d3436;
    color: #dfe6e9;
    border: 1px solid #4a4a4a;
}

.tiktok-theme-dark .tiktok-navigation button:hover {
    background-color: #4a4a4a;
}

.tiktok-theme-dark .tiktok-dot {
    background-color: #4a4a4a;
}

.tiktok-theme-dark .tiktok-dot.active {
    background-color: #a29bfe;
    box-shadow: 0 0 10px rgba(162, 155, 254, 0.5);
}

/* ============ THEME 5: GLASS MORPHISM ============ */
.tiktok-theme-glass .tiktok-aspect-ratio-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #2d3436;
}

.tiktok-theme-glass .tiktok-job-title {
    color: #2d3436;
    text-shadow: none;
}

.tiktok-theme-glass .tiktok-company-name {
    color: #636e72;
}

.tiktok-theme-glass .tiktok-station {
    color: #2d3436;
}

.tiktok-theme-glass .tiktok-footer {
    color: #0984e3;
}

.tiktok-theme-glass .tiktok-logo-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tiktok-theme-glass .tiktok-navigation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tiktok-theme-glass .tiktok-navigation button {
    background: rgba(255, 255, 255, 0.2);
    color: #2d3436;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tiktok-theme-glass .tiktok-navigation button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.tiktok-theme-glass .tiktok-dot {
    background: rgba(45, 52, 54, 0.3);
}

.tiktok-theme-glass .tiktok-dot.active {
    background: #0984e3;
    box-shadow: 0 0 20px rgba(9, 132, 227, 0.3);
}

.tiktok-theme-glass .tiktok-aspect-ratio-box {
    background: rgba(255, 255, 255, 0.15);
}

.tiktok-theme-glass .tiktok-aspect-ratio-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
    z-index: 0;
}

/* ============ THEME 6: NEON GLOW ============ */
.tiktok-theme-neon .tiktok-aspect-ratio-box {
    background: #0a0a0a;
    color: #fff;
    border: 2px solid #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2), inset 0 0 30px rgba(0, 255, 136, 0.1);
}

.tiktok-theme-neon .tiktok-job-title {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3);
}

.tiktok-theme-neon .tiktok-company-name {
    color: #ff6b6b;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.tiktok-theme-neon .tiktok-station {
    color: #74b9ff;
    text-shadow: 0 0 15px rgba(116, 185, 255, 0.3);
}

.tiktok-theme-neon .tiktok-footer {
    color: #ffd93d;
    text-shadow: 0 0 15px rgba(255, 217, 61, 0.3);
}

.tiktok-theme-neon .tiktok-logo-container {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.tiktok-theme-neon .tiktok-logo-placeholder {
    color: #00ff88;
}

.tiktok-theme-neon .tiktok-navigation {
    background: #0a0a0a;
    border-top: 1px solid #00ff88;
}

.tiktok-theme-neon .tiktok-navigation button {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.tiktok-theme-neon .tiktok-navigation button:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.tiktok-theme-neon .tiktok-dot {
    background: #2d3436;
    border: 1px solid #00ff88;
}

.tiktok-theme-neon .tiktok-dot.active {
    background: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.tiktok-theme-neon .tiktok-aspect-ratio-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff88, #ff6b6b, #74b9ff, #ffd93d, #00ff88);
    background-size: 400% 400%;
    border-radius: 8px;
    z-index: -1;
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0.3;
}

/* ============ THEME 7: RETRO CLASSIC ============ */
.tiktok-theme-retro .tiktok-aspect-ratio-box {
    background: linear-gradient(180deg, #ffd93d 0%, #ff6b6b 100%);
    color: #2d3436;
    border: 4px solid #2d3436;
    border-radius: 20px;
}

.tiktok-theme-retro .tiktok-job-title {
    color: #2d3436;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tiktok-theme-retro .tiktok-company-name {
    color: #2d3436;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.tiktok-theme-retro .tiktok-station {
    color: #2d3436;
    font-family: 'Courier New', monospace;
}

.tiktok-theme-retro .tiktok-footer {
    color: #2d3436;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.tiktok-theme-retro .tiktok-logo-container {
    background: #fff;
    border: 3px solid #2d3436;
    border-radius: 50%;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.tiktok-theme-retro .tiktok-logo-placeholder {
    color: #2d3436;
}

.tiktok-theme-retro .tiktok-navigation {
    background: #2d3436;
    border-radius: 0 0 20px 20px;
}

.tiktok-theme-retro .tiktok-navigation button {
    background: #ffd93d;
    color: #2d3436;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border: 2px solid #2d3436;
}

.tiktok-theme-retro .tiktok-navigation button:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

.tiktok-theme-retro .tiktok-dot {
    background: #ffd93d;
    border: 2px solid #2d3436;
    width: 14px;
    height: 14px;
}

.tiktok-theme-retro .tiktok-dot.active {
    background: #ff6b6b;
    transform: scale(1.2);
}

.tiktok-theme-retro .tiktok-aspect-ratio-box::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #2d3436;
    opacity: 0.3;
    z-index: 2;
}

/* ============ THEME 8: CORPORATE ============ */
.tiktok-theme-corporate .tiktok-aspect-ratio-box {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #f7fafc;
    border: 1px solid #4a5568;
}

.tiktok-theme-corporate .tiktok-job-title {
    color: #f7fafc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tiktok-theme-corporate .tiktok-company-name {
    color: #a0aec0;
    font-style: normal;
    font-weight: 300;
}

.tiktok-theme-corporate .tiktok-station {
    color: #e2e8f0;
}

.tiktok-theme-corporate .tiktok-footer {
    color: #63b3ed;
    border-top: 1px solid #4a5568;
    padding-top: 10px;
}

.tiktok-theme-corporate .tiktok-logo-container {
    background: #f7fafc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tiktok-theme-corporate .tiktok-navigation {
    background: #1a365d;
    border-top: 1px solid #4a5568;
}

.tiktok-theme-corporate .tiktok-navigation button {
    background: #2d3748;
    color: #f7fafc;
    border: 1px solid #4a5568;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.tiktok-theme-corporate .tiktok-navigation button:hover {
    background: #4a5568;
}

.tiktok-theme-corporate .tiktok-dot {
    background: #4a5568;
}

.tiktok-theme-corporate .tiktok-dot.active {
    background: #63b3ed;
    box-shadow: 0 0 10px rgba(99, 179, 237, 0.3);
}

.tiktok-theme-corporate .tiktok-aspect-ratio-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #63b3ed, #4299e1, #3182ce);
    z-index: 2;
}

/* ============ THEME SELECTOR STYLES ============ */
.tiktok-theme-selector {
    text-align: center;
    padding: 10px 0;
    margin: 10px auto;
    max-width: 300px;
    font-family: 'Poppins', sans-serif;
}

.tiktok-theme-selector label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.tiktok-theme-selector select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    width: 100%;
    max-width: 200px;
    background: white;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    appearance: auto;
    color: #333;
}

.tiktok-theme-selector select:hover {
    border-color: #667eea;
}

.tiktok-theme-selector select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Theme Switcher Buttons */
.tiktok-theme-switcher {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    margin: 10px auto;
    max-width: 300px;
    font-family: 'Poppins', sans-serif;
}

.tiktok-theme-btn {
    padding: 6px 12px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 0.85em;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tiktok-theme-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.tiktok-theme-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 480px) {
    .tiktok-job-display {
        max-width: 100%;
        margin: 10px auto;
    }
    
    .tiktok-content {
        padding: 15px;
    }
    
    .tiktok-job-title {
        font-size: 1.4em;
    }
    
    .tiktok-company-name {
        font-size: 1em;
    }
    
    .tiktok-station {
        font-size: 0.9em;
    }
    
    .tiktok-logo-container {
        width: 60px;
        height: 60px;
        margin: 0 auto 10px auto;
    }
    
    .tiktok-logo-placeholder {
        font-size: 30px;
    }
    
    .tiktok-footer {
        font-size: 0.8em;
    }
    
    .tiktok-navigation button {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .tiktok-theme-selector select {
        max-width: 100%;
    }
    
    .tiktok-theme-btn {
        font-size: 0.75em;
        padding: 4px 10px;
    }
    
    .tiktok-theme-switcher {
        gap: 5px;
    }
}

@media (max-width: 360px) {
    .tiktok-job-title {
        font-size: 1.2em;
    }
    
    .tiktok-company-name {
        font-size: 0.9em;
    }
    
    .tiktok-content {
        padding: 12px;
    }
    
    .tiktok-logo-container {
        width: 50px;
        height: 50px;
    }
    
    .tiktok-logo-placeholder {
        font-size: 24px;
    }
}

/* ============ PRINT STYLES ============ */
@media print {
    .tiktok-job-display {
        max-width: 100%;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .tiktok-navigation,
    .tiktok-dots-container,
    .tiktok-theme-selector,
    .tiktok-theme-switcher {
        display: none !important;
    }
    
    .tiktok-job-card {
        display: block !important;
        opacity: 1 !important;
        page-break-after: always;
    }
    
    .tiktok-job-card:last-child {
        page-break-after: avoid;
    }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .tiktok-job-card.active .tiktok-job-title,
    .tiktok-job-card.active .tiktok-company-name,
    .tiktok-job-card.active .tiktok-station,
    .tiktok-job-card.active .tiktok-logo-container,
    .tiktok-job-card.active .tiktok-footer {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Focus styles for keyboard navigation */
.tiktok-navigation button:focus-visible,
.tiktok-dot:focus-visible,
.tiktok-theme-selector select:focus-visible,
.tiktok-theme-btn:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tiktok-aspect-ratio-box {
        border-width: 2px !important;
    }
    
    .tiktok-job-title {
        text-shadow: none !important;
    }
    
    .tiktok-logo-container {
        border: 2px solid currentColor !important;
    }
}