/* Updates Page Styles */

.updates-content {
    margin-top: 20px;
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.updates-item {
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.updates-item:hover {
    border-color: #00ffff;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
}

.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.updates-title {
    color: #00ffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin: 0;
}

.updates-date {
    color: #888;
    font-size: 0.85rem;
    background: rgba(0, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
}

.updates-body {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
}

.loading-updates {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

.loading-updates .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 255, 0.1);
    border-top-color: #00ffff;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loading-updates p {
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .updates-item {
        padding: 15px;
    }

    .updates-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
