/**
 * Last Updated Timestamp Styles
 * Professional and consistent update date display
 */

/* Update Notice/Badge */
.update-notice,
.last-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.update-notice:hover,
.last-updated-badge:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Update Icon */
.update-icon {
    font-size: 1.2em;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(360deg); }
    100% { transform: rotate(360deg); }
}

/* Update Text */
.update-text {
    color: #667eea;
    font-weight: 600;
}

/* Top of Page Badge (Centered) */
.update-badge-top {
    text-align: center;
    margin: 20px 0;
}

/* Bottom of Page Badge (Centered) */
.update-badge-bottom {
    text-align: center;
    margin: 40px 0 20px;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

/* Inline Badge (After Title) */
.update-badge-inline {
    display: block;
    text-align: center;
    margin: 10px 0 20px;
}

/* Updated Date with Calendar Icon */
.updated-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #764ba2;
    font-weight: 600;
}

.updated-date::before {
    content: "📅";
    font-size: 1.1em;
}

/* Verified Badge (for Codes) */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    margin-left: 10px;
}

.verified-badge::before {
    content: "✓";
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .update-notice,
    .last-updated-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
        gap: 6px;
    }
    
    .update-icon {
        font-size: 1.1em;
    }
    
    .verified-badge {
        display: block;
        margin: 10px auto 0;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .update-notice,
    .last-updated-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

