/* Estilos para sistema de autenticación */
.auth-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    color: white;
    font-size: 0.9rem;
    display: none;
}

.btn-login {
    padding: 8px 16px;
    background: var(--primary, #FF9F1C);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-logout {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    display: none;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.login-modal.show {
    display: flex;
}

.login-form {
    background: var(--card-bg, #243B53);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 400px;
}

.login-form h3 {
    margin-bottom: 20px;
    color: white;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary, #FF9F1C);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #10B981;
}

.toast.error {
    background: #EF4444;
}

/* Admin only elements */
.admin-only {
    display: none;
}

body.admin-authenticated .admin-only {
    display: inline-flex;
}

/* Admin actions in article */
.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
