/* ==================================================
   Reusable Components
   ================================================== */

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto 2rem;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 500px;
    width: 100%;
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 2.5rem 3.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #e6fffa;
    border-radius: 24px;
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981 0%, #059669 50%, #10b981 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(16, 185, 129, 0.3);
    border-color: #10b981;
}

.stat-number {
    font-size: 3.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.stat-label {
    font-size: 1.4rem;
    color: #1f2937;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 280px;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
}

/* Currency Ticker */
.currency-ticker-wrapper {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-top: 2px solid #10b981;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    overflow: hidden;
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    z-index: 999;
}

.currency-ticker {
    display: flex;
    animation: tickerMove 60s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 2rem;
    min-width: 200px;
    border-right: 1px solid rgba(75, 85, 99, 0.3);
}

.currency-pair {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: 0.5px;
}

.currency-price {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', monospace;
}

.currency-price.up {
    color: #22c55e;
}

.currency-price.down {
    color: #ef4444;
}

.currency-change {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.currency-change {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    transition: all 0.2s ease;
}

.ticker-item:has(.currency-price.down) .currency-change {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ticker-item:has(.currency-price.up) .currency-change {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.ticker-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.ticker-item:hover {
    background: rgba(16, 185, 129, 0.05);
}

.currency-price {
    transition: all 0.2s ease;
}

/* Ticker Animation */
@keyframes tickerMove {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pickup Section - FX Company Recommendations */
.pickup-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.pickup-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
}

.pickup-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.pickup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.pickup-logo {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

img.company-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.pickup-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

.pickup-badge.best {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.pickup-badge.feature {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.pickup-badge.professional {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.pickup-badge.easy {
    background: linear-gradient(135deg, #06d6a0, #00b900);
    color: white;
}

.pickup-badge.swap {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.pickup-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pickup-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.pickup-description {
    color: #6b7280;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pickup-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.spec-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #10b981;
}

.pickup-actions {
    display: flex;
    gap: 1rem;
}

.pickup-actions .btn {
    flex: 1;
    text-align: center;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pickup-actions .btn-outline {
    border: 2px solid #e5e7eb;
    color: #374151;
    background: transparent;
}

.pickup-actions .btn-outline:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.pickup-actions .btn-primary {
    background: #10b981;
    color: white;
    border: 2px solid #10b981;
}

.pickup-actions .btn-primary:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pickup-card {
        padding: 1.5rem;
    }
    
    .pickup-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .pickup-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .spec-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .spec-label {
        margin-bottom: 0;
    }
    
    .pickup-actions {
        flex-direction: column;
    }
    
    .pickup-title {
        font-size: 1.8rem;
    }
    
    .pickup-description {
        font-size: 1.3rem;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) {
    .pickup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Desktop Responsive */
@media (min-width: 1024px) {
    .pickup-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .pickup-card {
        padding: 2.5rem;
    }
}

/* Hover pause animation */
.currency-ticker-wrapper:hover .currency-ticker {
    animation-play-state: paused;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .currency-ticker-wrapper {
        height: 45px;
    }
    
    .ticker-item {
        min-width: 160px;
        padding: 0 1.5rem;
        gap: 0.6rem;
    }
    
    .currency-pair {
        font-size: 1.2rem;
    }
    
    .currency-price {
        font-size: 1.2rem;
    }
    
    .currency-change {
        font-size: 1.1rem;
        padding: 0.1rem 0.4rem;
    }
    
    .currency-ticker {
        animation-duration: 45s;
    }
}

/* Smooth fade effects at edges */
.currency-ticker-wrapper::before,
.currency-ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 1;
    pointer-events: none;
}

.currency-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #1f2937, transparent);
}

.currency-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, #1f2937, transparent);
}

/* Simplified Comparison CTA */
.comparison-cta-simple {
    margin: 4rem 0;
    padding: 0;
}

.comparison-cta-simple .cta-inner {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
    border-radius: 1.6rem;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.comparison-cta-simple .cta-inner:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comparison-cta-simple .cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 1rem;
}

.comparison-cta-simple .cta-description {
    font-size: 1.6rem;
    color: #065f46;
    margin-bottom: 2.5rem;
}

.comparison-cta-simple .btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.comparison-cta-simple .btn-large:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateX(4px);
}

.comparison-cta-simple .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.comparison-cta-simple .btn-large:hover .btn-arrow {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .comparison-cta-simple .cta-inner {
        padding: 3rem 2rem;
        border-radius: 1.2rem;
    }
    
    .comparison-cta-simple .cta-title {
        font-size: 2rem;
    }
    
    .comparison-cta-simple .cta-description {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .comparison-cta-simple .btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.6rem;
        width: 100%;
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-bounce);
    line-height: 1.5;
    min-width: 12rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-secondary);
    /* Touch optimization */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: 3px solid rgba(16, 185, 129, 0.5);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green-darker) 100%);
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green-dark);
    border: 2px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-green);
}

.btn-reset {
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
    color: white;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(107, 114, 128, 0.3);
    text-transform: none;
    letter-spacing: 0;
}

.btn-reset:hover {
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 114, 128, 0.5);
}

/* CRITICAL Mobile button fixes */
@media (max-width: 768px) {
    .btn {
        padding: 1.4rem 2rem; /* FIXED: Better mobile padding */
        font-size: 1.5rem; /* FIXED: More readable size */
        min-width: auto; /* FIXED: Remove min-width restriction */
        width: 100%; /* FIXED: Full width for mobile stacked buttons */
        min-height: 48px; /* Accessibility compliance */
        max-width: 280px; /* Prevent buttons from being too wide */
        margin: 0 auto; /* Center buttons */
    }
    
    .btn:not(:last-child) {
        margin-bottom: 1rem; /* Space between stacked buttons */
    }
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: 2.2rem;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.card-subtitle {
    color: var(--gray-600);
    font-size: 1.4rem;
}

.card-content {
    margin-bottom: var(--space-lg);
}

.card-footer {
    margin-top: auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.1);
    transition: all var(--transition-normal);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}

.feature-icon.cash-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    padding: 16px;
}

.feature-icon.cash-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 0;
}

/* ランキング番号スタイル */
.rank-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

/* 関連アイコンスタイル */
.related-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-green), var(--success-green));
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.related-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

/* CTAアイコンスタイル */
.cta-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: var(--space-sm);
    color: var(--primary-green);
}

.cta-feature-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* 警告アイコンスタイル */
.warning-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-right: var(--space-lg);
    border-radius: 50%;
    background: var(--warning-light);
    color: var(--warning-dark);
    flex-shrink: 0;
}

.warning-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* クイックアクセスアイコン */
.quick-access-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-green), var(--success-green));
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.quick-access-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.feature-title {
    color: var(--primary-green-dark);
    margin-bottom: var(--space-md);
    font-size: 2.2rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.feature-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.feature-link:hover {
    color: var(--primary-green-dark);
}

/* Tags */
.tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-lg);
    font-size: 1.2rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tag-primary {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--primary-green-dark);
    border: 1px solid var(--primary-green);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

.tag-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

.tag-secondary {
    background: linear-gradient(135deg, var(--bg-blue-light), #dbeafe);
    color: var(--secondary-blue-dark);
    border: 1px solid var(--secondary-blue);
}

.tag-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid var(--warning-yellow);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    font-family: inherit;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
    background: var(--bg-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-help {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: var(--success-green);
    color: white;
}

.badge-warning {
    background: var(--warning-yellow);
    color: #92400e;
}

.badge-error {
    background: var(--error-red);
    color: white;
}

.badge-info {
    background: var(--secondary-blue);
    color: white;
}

/* Alert Components */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid;
}

.alert-info {
    background: var(--bg-blue-light);
    border-color: var(--secondary-blue);
    color: var(--secondary-blue-dark);
}

.alert-success {
    background: var(--bg-green-light);
    border-color: var(--primary-green);
    color: var(--primary-green-dark);
}

.alert-warning {
    background: #fef3c7;
    border-color: var(--warning-yellow);
    color: #92400e;
}

.alert-error {
    background: #fef2f2;
    border-color: var(--error-red);
    color: #991b1b;
}

